Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-6823

CLONE - Document - Possible message loss when auto acknowledge mode is used

XMLWordPrintable

    • Documentation (Ref Guide, User Guide, etc.), Release Notes
    • Low
    • Hide
      CAUSE

      CONSEQUENCE

      FIX

      RESULT
      Show
      CAUSE CONSEQUENCE FIX RESULT
    • Not Yet Documented
    • ASSIGNED

      Hi Howard,

      could you please document message loss when using auto_ack session mode. Please correct a note as necessary:

      "When consumer is using AUTO_ACKNOWLEDGE session and time out for receive method expires in the moment when message is received in the body of receive method but acknowledge not confirmed by the server then this message will be discarded and thrown an exception:

      javax.jms.JMSException: Timed out before post message processing, discarding message delegator->JBossMessage[23357322686633840]ERSISTENT, deliveryId=0 at org.jboss.jms.client.container.ClientConsumer.receive(ClientConsumer.java:596)

      This can happen when time out for receive method is too low. Use CLIENT_ACKNOWLEDGE mode for no message loss."

      Thank you,

      Mirek

            gaohoward Howard Gao
            mnovak1@redhat.com Miroslav Novak
            Scott Thomas Scott Thomas (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: