Uh, what about this line? "sampleClient.disconnect();" On May 17, 2017 7:30 AM, "aragoubi" <aymen....@gmail.com> wrote:
> No, I am not closing connection, this is the client code and the broker > files(ra.xml, ironjacamar.xml, broker-config.xml): > > client.txt <http://activemq.2283324.n4.nabble.com/file/n4726245/client.txt > > > > broker-config.xml > <http://activemq.2283324.n4.nabble.com/file/n4726245/broker-config.xml> > ironjacamar.xml > <http://activemq.2283324.n4.nabble.com/file/n4726245/ironjacamar.xml> > ra.xml <http://activemq.2283324.n4.nabble.com/file/n4726245/ra.xml> > > > > -- > View this message in context: http://activemq.2283324.n4. > nabble.com/Connection-to-activemq-broker-is-lost-within-one-second- > tp4726204p4726245.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >