activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Gellings (JIRA)" <jira+amq...@apache.org>
Subject [jira] Issue Comment Edited: (AMQNET-220) Should retry 15 times in between sessions
Date Fri, 11 Dec 2009 20:21:53 GMT

    [ https://issues.apache.org/activemq/browse/AMQNET-220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=56400#action_56400
] 

Mark Gellings edited comment on AMQNET-220 at 12/11/09 12:21 PM:
-----------------------------------------------------------------

Zip attached.

I also noticed the RedeliveryCounter comes through with a value of 24 the last time the message
is delivered.

1) Run the console once to create a message in a queue.
2) Run the console a second time starting a consumer.
3) Press enter twice to close consumer (after it is done redelivering).
4) Note message still in queue marked redelivered.
5) Run the console a third time starting a consumer.  It is delivered once and sent to the
DLQ.

      was (Author: magellings):
    I also noticed the RedeliveryCounter comes through with a value of 24 the last time the
message is delivered.

1) Run the console once to create a message in a queue.
2) Run the console a second time starting a consumer.
3) Press enter twice to close consumer (after it is done redelivering).
4) Note message still in queue marked redelivered.
3) Run the console a third time starting a consumer.  It is delivered once and sent to the
DLQ.
  
> Should retry 15 times in between sessions
> -----------------------------------------
>
>                 Key: AMQNET-220
>                 URL: https://issues.apache.org/activemq/browse/AMQNET-220
>             Project: ActiveMQ .Net
>          Issue Type: Bug
>          Components: NMS
>    Affects Versions: 1.2.0
>         Environment: ActiveMQ 5.2
>            Reporter: Mark Gellings
>            Assignee: Jim Gomes
>         Attachments: NativeNMSConsumerAndProducer.zip
>
>
> I'm using AcknowledgementMode.Transactional mode and have set the max redeliveries to
15.  If I create a message rolling back each time the listener delegate recieves it, wait
10 seconds, then the message is redelivered 10 times.  I then dispose the session and the
message is still in the queue marked redelivered as expected.
> Then establishing a new session with max redeliveries set to 15 again, when recieving
the message the logic again rolls back on the session when the message comes through.  The
message is redelivered only once.  For a total of 11 times and is deleted from the queue.
 I would expect it to be redelivered a total of 15 times.

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


Mime
View raw message