qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robbie Gemmell (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (QPIDJMS-274) Be able to REJECT messages in JmsRedeliveryPolicy
Date Fri, 07 Apr 2017 14:07:41 GMT

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

Robbie Gemmell reopened QPIDJMS-274:
------------------------------------

Reopening, noticed some sporadic test failure, once in CI, once locally, where all the String
based option value tests failed, e.g:
{noformat}
testRedeliveryPolicyOutcomeAppliedReleasedString(org.apache.qpid.jms.integration.ConsumerIntegrationTest)
 Time elapsed: 0.007 sec  <<< ERROR!
java.lang.IllegalArgumentException:  Not all jms options could be set on the ConnectionFactory.
Check the options are spelled correctly. Unused parameters=[{redeliveryPolicy.outcome=RELEASED}].
This connection factory cannot be started.
	at org.apache.qpid.jms.integration.ConsumerIntegrationTest.doTestRedeliveryPolicyOutcomeApplied(ConsumerIntegrationTest.java:1717)
	at org.apache.qpid.jms.integration.ConsumerIntegrationTest.testRedeliveryPolicyOutcomeAppliedReleasedString(ConsumerIntegrationTest.java:1673)
{noformat}
etc

> 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
>            Assignee: Timothy Bish
>             Fix For: 0.22.0
>
>
> 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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message