Uploaded image for project: 'JBoss A-MQ'
  1. JBoss A-MQ
  2. ENTMQ-2142

[AMQ6, Stomp, PrefetchExtension] Stomp messages acked in transaction - prefetchExtension not being reset to Zero

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • JBoss A-MQ 6.3.x
    • JBoss A-MQ 6.3
    • broker
    • None
    • Hide

      attaching a unit test

      Show
      attaching a unit test

      In certain usage scenarios where the prefetch is very small, the prefetchExtension is used to ensure messages continue to flow to the broker even though the prefetch is exceeded e.g. clients consuming multiple messages within a single transaction.

      After a transaction is complete i would expect the prefetchExtension for a topic subscription to be returned to zero.

      Stomp messages acked in transaction, it seems the prefetchExtension not being reset to zero.

      Side effect: If the prefetchExtension is used during the broker calculation to detect if a consumer will be sent more messages and in turn when the broker is deciding if a consumer is slow.

            gtully@redhat.com Gary Tully
            rhn-support-pfox Patrick Fox (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: