You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Dmitry Tsigelnik (JIRA)" <ji...@apache.org> on 2008/07/03 09:12:00 UTC

[jira] Issue Comment Edited: (AMQ-1800) Redilivery counter increase incredible

    [ https://issues.apache.org/activemq/browse/AMQ-1800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43881#action_43881 ] 

tsigelnik edited comment on AMQ-1800 at 7/3/08 12:10 AM:
----------------------------------------------------------------

I've investigated the problem and I thnink the problem is absence of command like RollabckCommand which could increment redelivery counter on server.

It think it should be added something like RollbackCommand and session.sendRollback(rollbackCommand) as like as sesssion.sendAck(ack)

      was (Author: tsigelnik):
    I've invented problem and I thnink the problem is absence of command like RollabckCommand which could increment redelivery counter on server.

It think it should be added something like RollbackCommand and session.sendRollback(rollbackCommand) as like as sesssion.sendAck(ack)
  
> Redilivery counter increase incredible
> --------------------------------------
>
>                 Key: AMQ-1800
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1800
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: JMS client
>    Affects Versions: 5.1.0
>            Reporter: Dmitry Tsigelnik
>
> I have some transacted session. Each session has one consumer which recive messages in parallel from one queue.
> Also I use redeliveryPolicy. When I restart my application and close connection which close sessions which close consumers, message jumps from one closing consumer to another while all consumers will be stopped and rediliveryCounter++ executes every time when message is redispatched
> You have to add any flag to connection which says: if connection.stop() is executed then forbore any message redispatching

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.