WSO2 ESB Message Stores with WSO2 MB 2.0 -M2
When using JMS Message stores in WSO2 ESB, there is a small difference scenario need to be followed
other than in the article written by charith http://wso2.org/library/articles/2011/12/implementing-store-forward-messaging-patterns-wso2esb-part-2
We need to place "andes-client-0.13.wso2v1.jar" , "slf4j.api_1.6.1.jar" and "slf4j.log4j12_1.6.1.jar" libraries in the root lib directory of wso2 ESB before starting the server.
Note : Offset configuration is not working in the M2 release of MB 2.0. So you need to change the offset value of ESB instead of MB and the connection String should be like:
connectionfactory.QueueConnectionFactory = amqp://admin:admin@clientID/carbon?brokerlist='tcp://localhost:5672'