I am working with WSO2 ESB 4.7.0 and WSO2 MB 2.2.0.
I want to work with the concepts of publish and subscribe messages with JMS queues. For this I have made integration between WSO2 ESB and WSO2 MB by following the below link:
https://docs.wso2.com/display/MB220/Integrating+WSO2+ESB
I have followed all the steps mentioned in the document and tried to restart the ESB server but failed to start the server cause of the below error:
AMQConnection Unable to connect to broker at tcp://localhost:5672
org.wso2.andes.transport.TransportException: Could not open connection
at org.wso2.andes.transport.network.mina.MinaNetworkTransport$IoConnectorCreator.connect(MinaNetworkTransport.java:216)
at org.wso2.andes.transport.network.mina.MinaNetworkTransport.connect(MinaNetworkTransport.java:74)
at org.wso2.andes.client.AMQConnectionDelegate_8_0.makeBrokerConnection(AMQConnectionDelegate_8_0.java:120)
at org.wso2.andes.client.AMQConnection.makeBrokerConnection(AMQConnection.java:616)
at org.wso2.andes.client.AMQConnection.<init>(AMQConnection.java:398)
at org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:328)
at org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:38)
at org.wso2.carbon.message.store.persistence.jms.util.JMSUtil.createConnection(JMSUtil.java:46)
at org.wso2.carbon.message.store.persistence.jms.JMSMessageStore.createConnection(JMSMessageStore.java:717)
at org.wso2.carbon.message.store.persistence.jms.JMSMessageStore.getReadConnection(JMSMessageStore.java:634)
at org.wso2.carbon.message.store.persistence.jms.JMSMessageStore.newConsumer0(JMSMessageStore.java:1040)
at org.wso2.carbon.message.store.persistence.jms.JMSMessageStore.fetchInto(JMSMessageStore.java:284)
at org.wso2.carbon.message.store.persistence.jms.SamplingHandler.execute(SamplingHandler.java:67)
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557)
How to overcome this error and start the ESB server successfully?
Need any further configuration in any of the files present in ESB.