This content has been marked as final.
Show 3 replies
-
1. Re: Receive object in jboss
wmprice Jul 17, 2006 6:19 AM (in response to sailu)This is the wrong forum for this post. This should be posted to JBossMessaging. I am moving this post there.
-
2. Re: Receive object in jboss
jaikiran Jul 17, 2006 6:36 AM (in response to sailu)it is waiting up to given time and simply throwing exception
What is the exception that you are seeing? Post the stacktrace.message is comming null
The message will be null if after waiting for 'n' milli seconds, the message is not received.Message message = qReceiver.receive(veryHighValue);
orMessage 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 -
3. Re: Receive object in jboss
sailu Jul 17, 2006 6:56 AM (in response to sailu)The same code is working in weblogic in case of jboss it is not working
I have given the time also u can see the code