File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
K Vidhyakar
Ranch Hand
Posts: 68
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic