Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-5513

redelivery count incremented in error for unconsumed prefetched messages

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      If a consumer with prefetch>0 does an immediate close, without consuming any messages. Spring DMLC with small timeout or receiveNoWait for example. The broker will have dispatched and will want to redispatch to another consumer and will have incremented the redelivery count in error.
      After 6 (default redelivery attempts) a consumer will poison ack and the message will go to the DLQ.

      A simple consumer create/close then create/receive with pending messages will demo this.
      true for queue consumers and durable topic subs

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            gtully Gary Tully
            gtully Gary Tully
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment