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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to