You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rob Godfrey (JIRA)" <ji...@apache.org> on 2016/04/07 09:43:25 UTC

[jira] [Created] (QPID-7188) [Java Broker] [AMQP1.0] Define a target capability to define how a target will respond when receiving a message it cannot route

Rob Godfrey created QPID-7188:
---------------------------------

             Summary: [Java Broker] [AMQP1.0] Define a target capability to define how a target will respond when receiving a message it cannot route
                 Key: QPID-7188
                 URL: https://issues.apache.org/jira/browse/QPID-7188
             Project: Qpid
          Issue Type: Improvement
          Components: Java Broker
            Reporter: Rob Godfrey


As per [this|http://qpid.2158936.n2.nabble.com/Unroutable-messages-in-Java-Qpid-Broker-6-0-0-tp7641320p7641458.html] discussion on the mailing list, the Java Broker will currently reject a message sent to an exchange target which it is unable to route to any queues.

We should enhance the broker so that 

# There is a configuration parameter on the exchange to allow the behaviour to be defaulted (reject / silently discard)
# Two [target capabilities|http://docs.oasis-open.org/amqp/core/v1.0/os/amqp-core-messaging-v1.0-os.html#type-target] are defined to allow a link to express its preference / state its behaviour upon establishment.  One capability will describe the "reject" policy, one "discard".  The broker should always send the actual policy in use on the link even if the client did not indicate a preference.  

We should also update the documentation on unroutable messages [here| https://qpid.apache.org/releases/qpid-java-6.0.0/java-broker/book/Java-Broker-Concepts-Exchanges.html#Java-Broker-Concepts-Exchanges-UnroutableMessage] to cover the AMQP 1.0 case.  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org