jQuery in Action, 2nd edition*
The moose likes EJB and other Java EE Technologies and the fly likes Need explanation related to Session.AUTO_ACKNOWLEDGE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Need explanation related to Session.AUTO_ACKNOWLEDGE" Watch "Need explanation related to Session.AUTO_ACKNOWLEDGE" New topic
Author

Need explanation related to Session.AUTO_ACKNOWLEDGE

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi

We are using Session.AUTO_ACKNOWLEDGE in our Application while creating the session

Hi

As per the API of SUN this mode states that

With this acknowledgment mode, the session automatically acknowledges a client's receipt of a message either when the session has successfully returned from a call to receive or when the message listener the session has called to process the message successfully returns.

Does this mean that the client will get any Alert Message say for example when the message is picked up by the Message Driven Bean ??

Please share your ideas on this

Thanks in advance .


Save India From Corruption - Anna Hazare.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9956
    
163

Ravi Kiran V wrote:

Does this mean that the client will get any Alert Message say for example when the message is picked up by the Message Driven Bean ??



Not sure what that question means. Can you please elaborate?

[My Blog] [JavaRanch Journal]
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

I mean to ask taht when the message is successfully processed by the MDB , how will the user get an Acknowledgement ??

how he gets Acknowledgement and does we need to do anything to handle the Acknowledgement ??


Thanks in advance .
ramprasad madathil
Ranch Hand

Joined: Jan 24, 2005
Posts: 489

Ravi Kiran V wrote:I mean to ask taht when the message is successfully processed by the MDB , how will the user get an Acknowledgement ??

how he gets Acknowledgement and does we need to do anything to handle the Acknowledgement ??



The acknowledgement is to the JMS Server so that the message can be removed from the queue.

ram.
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Thank you very much .
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need explanation related to Session.AUTO_ACKNOWLEDGE
 
Similar Threads
Question about acknowledge Mode in JMS
Trying to write a jms client to receive as message
Pending Messages
JMS Request/Reply mode
Pending Messages - Urgent help!!!!