You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Lorenz Quack (JIRA)" <ji...@apache.org> on 2017/08/11 14:40:00 UTC
[jira] [Created] (QPID-7887) [Java Broker] Message conversion error
handling
Lorenz Quack created QPID-7887:
----------------------------------
Summary: [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.exceptionHandlingStrategy}} 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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org