[ 
https://issues.apache.org/jira/browse/DISPATCH-1418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16943178#comment-16943178
 ] 

ASF GitHub Bot commented on DISPATCH-1418:
------------------------------------------

asfgit commented on pull request #579: DISPATCH-1418: use proper outcome for 
deliveries to unavailable addre…
URL: https://github.com/apache/qpid-dispatch/pull/579
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> The default forwarding treatment is not overridden by the treatment in the 
> address configuration
> ------------------------------------------------------------------------------------------------
>
>                 Key: DISPATCH-1418
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1418
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Routing Engine
>    Affects Versions: 1.8.0, 1.9.0
>            Reporter: Ken Giusti
>            Assignee: Ken Giusti
>            Priority: Major
>
> When a message cannot be forwarded the message should be released.
> However, when the forwarding treatment is "unavailable" that message must be 
> REJECTED (as per the description of the "unavailable" treatment).
> When the router tries to determine if the outcome should be RELEASED or 
> REJECTED it does not check for a matching router.config.address configuration 
> entity.  This entity contains a treatment for the given address.  If an 
> address configuration matches the address the treatment should come from the 
> address configuration - not the router default configuration.
> To reproduce:
> Configure a router with defaultTreatment set to unavailable.
> Configure an address prefix that uses the "closest" treatment.
> Attach a sender to the router using an anonymous link.
> Send a message to an address that will match the configured address prefix 
> while there are no subscribers.
> Expect: the message be RELEASED by the router
> Actual: the message is REJECTED by the router



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to