Uploaded image for project: 'ActiveMQ .Net'
  1. ActiveMQ .Net
  2. AMQNET-483

MessageConsumer close when inside transaction is not idempotent.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6.0, 1.6.1, 1.6.2
    • 1.6.3, 1.7.0
    • ActiveMQ
    • None

    Description

      When a consumer is closed and it's session is transacted it registers a synchronization on the Session TransactionContext to complete the close after the transaction has been committed or rolled back. The synchronization can be added multiple times is close is called in succession but the synchronization doesn't check if the consumer has been closed when invoked so the transaction completion can result in several attempts to remove the same consumer.

      Attachments

        Activity

          People

            tabish Timothy A. Bish
            tabish Timothy A. Bish
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: