[
https://issues.apache.org/jira/browse/QPID-7887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16125777#comment-16125777
]
Rob Godfrey commented on QPID-7887:
-----------------------------------
would it not make sense to add a "reject" policy which would reject the message
instance (thus making it ineligible for sending to this target again) while
leaving it eligible for consumption by consumers of the native protocol?
> [Java Broker] Message conversion error handling
> -----------------------------------------------
>
> Key: QPID-7887
> URL: https://issues.apache.org/jira/browse/QPID-7887
> Project: Qpid
> Issue Type: Improvement
> Components: Java Broker
> Reporter: Lorenz Quack
> Fix For: qpid-java-broker-7.0.0
>
>
> The work done in QPID-7434 means that {{MessageConversionExceptions}} are now
> thrown when errors in message conversion are encountered. These exceptions
> need to be handled.
> The following handling is proposed:
> There is a context variable
> {{qpid.queue.messageConversion.exceptionHandlingPolicy}} which materialises
> at the {{Queue}} level and can take one of these values:
> * {{"close"}} - the connection(0-x)/link(1.0) to the consumer will be closed
> * {{"routeToAlternate"}} - the message will be routed to the alternate
> destination or deleted if no alternative destination is configured. If the
> consumer is a QueueBrowser it should simply skip the message in question
> without triggering this behaviour.
> {{"close"}} should be the default.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]