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

In AMQP, prefetchSize is hard-coded to 100

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • JBoss A-MQ 6.2
    • JBoss A-MQ 6.1
    • amqp
    • None

      This is a continuation of ENTMQ-792.
      In JMS land we can tune prefetchSize. At the moment in AMQP is hard-coded to 100. So when client connects, it gets all 100 messages. If it consumes 10 and closes and broker then see those messages as "redelivered".
      Coud you make it possible for AMQP clients to set desired prefetch limit to avoid this effect?|AmqpProtocolConverter.java||128: int prefetch = 100;|

       
      1200: consumerInfo.setPrefetchSize(100);

              dejanbosanac Dejan Bosanac
              rhn-support-tkonishi Takayuki Konishi
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: