Register / Login
Win a copy of
Murach's Python Programming
this week in the
this forum made possible by our volunteer staff, including ...
Roel De Nijs
Stephan van Hulst
EJB and other Java EE Technologies
JMS exception - session is closed
posted 10 years ago
I tried to process a huge volume (50 to 100 messages per sec) of messages. I am using
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:
qProducer.q = QueueUtil.getQueue(QueueUtil.ENGINE_JNDI_NAME, env); qProducer.qConn = QueueUtil.getQueueConnection(env); qProducer.qSesn = qProducer.qConn.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
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,
Don't get me started about those stupid
Boost this thread!
Getting IllegalStateException: Producer closed
jdeveloper look up error for jms
JMS Queue Issue
JMS and Websphere 6
Jboss complains that our client is not disconnecting cleanly