- Notifications
You must be signed in to change notification settings - Fork12
A sample application to connect Open Liberty and IBM MQ using JMS.
License
epomatti/openliberty-jakartaee-jms-ibmmq
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A sample application that uses Open Liberty to connect to IBM MQ to enqueue & dequeue messages.
For this project you'll need to install the following requirements:
- JDK 21
- Maven
- Docker
Pull and start the IBM MQ docker container:
Tip
Since 9.2.5.0 new MQ images will be published to IBM's registry
docker pull icr.io/ibm-messaging/mq:latestdocker run --env LICENSE=accept \ --env MQ_QMGR_NAME=QM1 \ --publish 1414:1414 \ --detach \ --env MQ_APP_PASSWORD=passw0rd \ --name QM1 icr.io/ibm-messaging/mq:latest
Install the dependencies and start OpenLiberty:
mvn installmvn liberty:dev
Once the server is running, send a message to the queue:
curl -X POST -d'msg=test message' http://localhost:9080/libertymq/api/enqueue
Implementation / tests performed with the latest/LTS versions of all components:
- Temurin-21.0.4+7
- Jakarta EE 10.0.0
- Apache Maven 3.9.9
- OpenLiberty 24.0.0.12
- IBM MQ & Resource Adapter 9.4.1.1
ℹ️ For convenience I'm versioning the adapter here. But you should get your specific version fromFix Central, following guidelines such as inthis procedure for your particular version.
https://developer.ibm.com/tutorials/mq-connect-app-queue-manager-containers/https://www.ibm.com/docs/en/was-liberty/nd?topic=dmal-deploying-jms-applications-liberty-use-mq-messaging-providerhttps://developer.ibm.com/tutorials/mq-develop-mq-jms/https://aguibert.github.io/openliberty-cheat-sheet/
About
A sample application to connect Open Liberty and IBM MQ using JMS.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.