01: Websphere MQ Client API Tutorial – Message Sender

Step 1: You need to have the Webspeher MQ client jar “com.ibm.mq.allclient.jar” in your project at “${basedir}/lib”. You can refer to it via Maven as a local file based repository.

Step 2: Use the “Websphere MQ API” to send a “MQMessage” to a “MQQueue”.

Generally, yo want to make your durability settings to:

Step 3:You need to have the “Websphere MQ” set up as per the hostname, channel, Queue Manager and Queue to test.

You may also like Spring, JavaConfig (i.e @Configuration) & JMS by example

Java developer & architect Q&As

Java developers Q&As