Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JMS exception - session is closed  RSS feed

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,
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!