[
https://issues.apache.org/jira/browse/QPID-7635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15839460#comment-15839460
]
Lorenz Quack commented on QPID-7635:
------------------------------------
We had the following test case:
* topic with a jms selector filter (e.g., index > 3)
* anonymous producer (i.e. a producer who sends to the ANONYMOUS-RELAY a.k.a.
DefaultDestination).
* the producer then sends a message (with index <=3) that would be routed to
the topic but gets discarded because it does not match the filter
What currently happens is that the DefaultDestination does not detect that the
topic "handled" the message it only sees that the message has not been enqueued
anywhere and responds with the default outcome which for the DefaultDestination
is REJECTED which results in a not-found error on the client side.
I think the behaviour we want is that the DefaultDestination looks for a
destination to relay to and if it finds one all further decisions should be
made by that destination including the outcome. If the destination cannot be
found by the DefaultDestination then REJECTING the message makes sense.
> [Java Broker] If ANONYMOUS-RELAY finds the destination it should defer the
> delivery outcome to the destination
> --------------------------------------------------------------------------------------------------------------
>
> Key: QPID-7635
> URL: https://issues.apache.org/jira/browse/QPID-7635
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker
> Affects Versions: qpid-java-7.0
> Reporter: Alex Rudyy
> Fix For: qpid-java-7.0
>
>
> On publishing message using ANONYMOUS-RELAY when message is delivered to
> queue with binding having filters not accepting the message the delivery
> outcome is determined by anonymous relay (currently REJECTED) instead of
> queue or exchange. If ANONYMOUS-RELAY finds the destination it should defer
> the delivery outcome to the destination.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]