[jboss-user] [Messaging, JMS & JBossMQ] - Re: Receive object in jboss

jaikiran do-not-reply at jboss.com
Mon Jul 17 06:37:03 EDT 2006


anonymous wrote : it is waiting up to given time and simply throwing exception 

What is the exception that you are seeing? Post the stacktrace. 

anonymous wrote : message is comming null

The message will be null if after waiting for 'n' milli seconds, the message is not received.

anonymous wrote :  Message message = qReceiver.receive(veryHighValue); 

or 

anonymous wrote :  Message message = qReceiver.receive(); 

and see if the message is received. This will help in understanding whether the receieve itself is not working or the timeout value is low



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

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



More information about the jboss-user mailing list