[ 
https://issues.apache.org/jira/browse/AMQ-5492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Timothy Bish closed AMQ-5492.
-----------------------------
    Resolution: Incomplete

Issue lacks a test case to validate using the configuration that was in play 
when this was reported. 

> Redelivery count increases on closed prefetch buffers for topics
> ----------------------------------------------------------------
>
>                 Key: AMQ-5492
>                 URL: https://issues.apache.org/jira/browse/AMQ-5492
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.10.0
>            Reporter: Christian Tytgat
>            Priority: Minor
>
> This is related to AMQ-1730 which seems to have been fixed for queues but not 
> for topics. 
> We're running into this problem with a durable topic subscription. The 
> application uses a transacted camel route without CACHE_CONSUMER, so from 
> what I understand, the session gets closed after each receive and all 
> prefetched messages (100 by default) get redispatched by the broker. The 
> broker however is increasing redelivery count and we see lots of messages 
> ending up in the DLQ.
> By looking at the implementations of 
> Destination.removeSubscription(ConnectionContext context, Subscription sub, 
> long lastDeliveredSequenceId), it seems that the lastDeliveredSequenceId 
> parameter is only used for queues...
> We can workaround this by setting prefetchSize=0 or using CACHE_CONSUMER or 
> using virtual topics, but the behavior looks like a issue nevertheless.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to