Hi,

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 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:
anonymous wrote : The session is closed


I am sure I haven't used session.close() code anywhere in my program. Will the 
connection get closed automatically?

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

Thanks & Regards,
Navanee

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018829#4018829

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018829
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to