Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JMS exception - session is closed

Navaneetha krishnan
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I tried to process a huge volume (50 to 100 messages per sec) of messages. I am using jBoss as JMS provider. I am using 3 separate queues to process incoming data and to send response back.

I have the following code in constructor of message producer class:

I try to use this queueSession (qSesn) for every message. But I get the following error:
"The session is closed"

Then i tried by initializing qProducer. Later I got this error:
"The message producer is closed"

Has anyone faced similar issue? Am i doing anything wrong? Please clarify.

Thanks & Regards,
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic