I have created queue by adding the below to jbossmq-destination-service.xml file.
I m creating connection like this:
QueueConnectionFactory factory = (QueueConnectionFactory) getConnectionFactory();
QueueConnection queueConnection = factory.createQueueConnection("guest","guest");
I have a java program, which send messages to queue. For 20-30 minutes it works fine after that it starts throwing exception.
“javax.jms.JMSSecurityException: User: guest is NOT authenticated.”
Kindly help me in solving this problem.
Thanks in advance,