...
This sample demonstrates how persistent queues can be created and used in Message Broker using the JMS API. It first introduces a sample JMS client by the name "QueueSender" which is used to send messages to a known, created queue in WSO2 Message Broker, and then introduces a sample JMS client by the name "QueueReceiver" to receive messages and print in the console.
Prerequisites
Ensure that you have the following:
- Dependencies located in
<PRODUCT_HOME>/client-lib
in class path Maven dependencies to run the JMS client :
Code Block language html/xml <dependency> <groupId>org.wso2.andes.wso2</groupId> <artifactId>andes-client</artifactId> <version>0.13.wso2v3</version> </dependency> <dependency> <groupId>org.apache.geronimo.specs.wso2</groupId> <artifactId>geronimo-jms_1.1_spec</artifactId> <version>1.1.0.wso2v1</version> </dependency>
...