2 Replies Latest reply on May 12, 2005 6:12 PM by Adrian Brock

    Fail to acknowledge a JMS message

    Juan Pedro Lopez Saez Newbie

      Hello everbody.

      Just suppose a message-driven bean using bean-managed transactions, with the acknowledgment mode set to AUTO_ACKNOWLEDGE.

      If the onMessage finish successfully, the consumed message should be acknowledged, so that it is removed from the queue.

      What will happen if the underlying acknowledgement process fails and the message is not really removed from the queue?

      Will that message be available in the future?

      In that case, is there any way to know it's a duplicated message?

      Thank you very much

      Juan Pedro Lopez