mq
  1. mq
  2. MQ-134

When runnin in GlassFish with JMSRA, support if consecutive # of XA rollback a message to a consumer exceeds a limit, broker automatically put the message to DMQ

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0
    • Component/s: broker-core
    • Labels:
      None

      Description

      The JMSRA endpointExceptionRedeliveryAttempts handles the case when a MDB throws RuntimeException. However when a MDB or other EJB that the MDB called setting the transaction (XA) to rollback only, e.g. a MDB calling MessageDrivenContext.setRollbackOnly on a message delivered to the MDB due to processing error, the message redelivery is triggered by transaction manager rollback. If the processing error occurs again and again on the same message, the message redelivery can become inifinite. The broker can put the poison message to DMQ automatically when consecutive rollbacks occurs on a message to a consumer exceeds a limit and return error to client for the rollback

        Activity

        Hide
        amyk added a comment - - edited

        Fixed in 5.0, new broker property added
        imq.transaction.message.maxConsecutiveRollbacks (default 0 - ie. disabled)

        see MQ-139 for description of the broker property

        The setting of this broker property through JMSRA is being addressed by GLASSFISH-6617

        Show
        amyk added a comment - - edited Fixed in 5.0, new broker property added imq.transaction.message.maxConsecutiveRollbacks (default 0 - ie. disabled) see MQ-139 for description of the broker property The setting of this broker property through JMSRA is being addressed by GLASSFISH-6617
        Hide
        saradak added a comment -


        checked the property imq.transaction.message.maxConsecutiveRollbacks is set properly on Glassfish.

        Show
        saradak added a comment - checked the property imq.transaction.message.maxConsecutiveRollbacks is set properly on Glassfish.

          People

          • Assignee:
            amyk
            Reporter:
            amyk
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: