Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes EJB and other Java EE Technologies and the fly likes what is the effect of NON.ASF.RECEIVE.TIMEOUT custom property of Message listener service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "what is the effect of NON.ASF.RECEIVE.TIMEOUT custom property of Message listener service" Watch "what is the effect of NON.ASF.RECEIVE.TIMEOUT custom property of Message listener service" New topic
Author

what is the effect of NON.ASF.RECEIVE.TIMEOUT custom property of Message listener service

K Vidhyakar
Ranch Hand

Joined: Jul 10, 2005
Posts: 68
I am using MDB listener to receive messages based on JMS Priority. So in order to avoid the Queue sweet time, I need to use Non ASF mode. The below property needs to be changed to swith to Non ASF mode.
NON.ASF.RECEIVE.TIMEOUT

Im not clear about the NON.ASF.RECEIVE.TIMEOUT property of the Message Listener Services.

(http://pic.dhe.ibm.com/infocenter/wasinfo/v7r0/index.jsp?topic=%2Fcom.ibm.websphere.express.doc%2Finfo%2Fexp%2Fae%2Fumb_prolscp.html)
Websphere doc says "The timeout in milliseconds for synchronous message receives performed by message-driven bean listener sessions in the non-ASF mode of operation"

So if this time is reached, will the transaction gets rollbacked or the listener sevice throws exception and send the message back to the destination?

Vidh
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what is the effect of NON.ASF.RECEIVE.TIMEOUT custom property of Message listener service