-
Story
-
Resolution: Done
-
Major
-
JBoss A-MQ 6.1
-
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); |
- is related to
-
ENTMQ-792 When an AMQP client receives some messages from a queue, all JMSRedelivered headers of the remained messages are changed to true.
- Closed
- relates to
-
ENTMQ-1196 When an AMQP client receives non-persistent messages from a queue, the next portion of non-persistent messages in the queue (amount equals to prefetch size) gets JMSRedelivered=true
- Closed