[jboss-user] [Messaging, JMS & JBossMQ] - Re: Queue - I can send but cannot receive

vitor_b do-not-reply at jboss.com
Fri Mar 23 15:30:56 EDT 2007


With connection.start() everything works fine.

	Connection con = cf.createConnection();
  | 	con.start(); //new line
  | 	Session session = con.createSession(false, Session.AUTO_ACKNOWLEDGE);

I had some problems when i added connection.stop() method to my code.
So i removed stop() method call, and again everything works corectly.

Best regards
vitor_b


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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4031179



More information about the jboss-user mailing list