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] Commented: (AMQNET-137) Add support for redelivery policy
Date Wed, 21 Oct 2009 15:45:52 GMT

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

Mark Gellings commented on AMQNET-137:
--------------------------------------

Regarding redelivery policy, currently client acknowledgement mode will not redeliver a message.
 There is no support of redeliveries.  Would it be stretching NMS too far to allow to configure
for a mode that "does" redeliver messages when the session is in client acknowledgement mode?
 If I understand correctly the redelivery logic is on the provider side and not the broker
so perhaps this is possible.  Straying too far from the java implementation wouldn't be a
good thing though so would like everyone's opinion...

Here is a discussion in the forum regarding the situation.

http://www.nabble.com/Transactions-and-redelivery-td25915300.html  

We have coded a solution to redelivery optimistically or pessimistically with client acknowledgement
mode.  Optimistic will redeliver immediately before processing additional messages in the
queue (like transactional acknowledgement mode).  The message will not get ack'd until it
exhausts all possible redeliveries.  Pessimistic will simply clone the message, placing it
at the end of the queue, and ack the current message.  It will embed some metadata into the
message and only redeliver (clone the message) up to the max redelivery count on the redelivery
policy.

Thoughts?

> Add support for redelivery policy
> ---------------------------------
>
>                 Key: AMQNET-137
>                 URL: https://issues.apache.org/activemq/browse/AMQNET-137
>             Project: ActiveMQ .Net
>          Issue Type: New Feature
>          Components: ActiveMQ
>    Affects Versions: 1.1.0
>            Reporter: Mark Keenan
>            Assignee: Jim Gomes
>            Priority: Minor
>             Fix For: 1.2.0
>
>         Attachments: RedeliveryPolicy.cs, RedeliveryPolicyTest.cs
>
>
> It would be nice if we could set redelivery policy (similar to the Java client).  See
this ActiveMQ mailing list thread for details:
> http://www.nabble.com/configuring-redelivery-with-NMS-td21714808.html#a21717670

-- 
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