[ 
https://issues.apache.org/jira/browse/QPIDJMS-274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15931433#comment-15931433
 ] 

Fredrik Jönsson commented on QPIDJMS-274:
-----------------------------------------

Made a quick implementation here anyway to make it clearer what I mean:
https://github.com/apache/qpid-jms/pull/5

> Be able to REJECT messages in JmsRedeliveryPolicy
> -------------------------------------------------
>
>                 Key: QPIDJMS-274
>                 URL: https://issues.apache.org/jira/browse/QPIDJMS-274
>             Project: Qpid JMS
>          Issue Type: Improvement
>          Components: qpid-jms-client
>    Affects Versions: 0.21.0
>            Reporter: Fredrik Jönsson
>
> This is a placeholder for discussion right now, I believe I could implement 
> it myself, but would like suggestions as to how to do so in an acceptable 
> manner for inclusion in the project in that case if there are opinions about 
> it.
> I would like to optionally (by configuration) *reject* messages with
> JmsRedeliveryPolicy/DefaultJmsRedeliveryPolicy, rather than respond with 
> modify_undeliverable.
> The particular use case I have is a client reading from Azure Service Bus. I 
> want it to be able to reject messages that it knows to be undeliverable to 
> explicitly dead-letter them immediately.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to