This content has been marked as final. Show 3 replies
This is the wrong forum for this post. This should be posted to JBossMessaging. I am moving this post there.
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);
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
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