[
https://issues.apache.org/jira/browse/DISPATCH-1090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16560019#comment-16560019
]
Ted Ross commented on DISPATCH-1090:
------------------------------------
To be clear, the router in this case _is_ depriving the broker of credit in
that it does not replenish credit for the undeliverable deliveries. However,
because it does not drain the link, the broker may find itself using the
remaining credits one by one until they are exhausted.
This issue is really an enhancement request for the router to drain/revoke
credit for inbound links associated with addresses that have become unreachable.
> Transfer/Disposition(state=release) loop forms when application disconnects
> abruptly from brokered queue until link credit is exhausted.
> ----------------------------------------------------------------------------------------------------------------------------------------
>
> Key: DISPATCH-1090
> URL: https://issues.apache.org/jira/browse/DISPATCH-1090
> Project: Qpid Dispatch
> Issue Type: Bug
> Environment: Version 1.3.0-SNAPSHOT
> (30ff7ff1d54b8f280b36f76dc8c340cb4c88567b)
> Reporter: Keith Wall
> Priority: Major
> Attachments: DISPATCH-1090_dispatch_server.log
>
>
> I have configured a single Dispatch Router instance to route messages through
> a broker queue (i.e. following section 7.2.5 of the
> [docs|https://qpid.apache.org/releases/qpid-dispatch-1.2.0/user-guide/index.html#routing-messages-through-broker]).
> The application does the following:
> # Forms a sending links to the queue, sends a single message then disconnects.
> # Forms a receiving link to the same queue, receives the message without
> settling then abruptly terminates the program.
> Inspecting the protocol trace, I see that after the Dispatch Router has sent
> a {{Disposition state=modified}} for the message that was held by the
> application when it terminated, a {{Transfer}}/{{Disposition state=release}}
> loop forms between the Dispatch Router and Broker until the link credit is
> exhausted.
> Protocol trace attached to this issue demonstrates the problem.
> Dispatch Router was configured by the following commands:
> {noformat}
> qdmanage create --type org.apache.qpid.dispatch.connector host=oslo.local
> port=5672 name=artemis-broker role=route-container
> qdmanage create --type org.apache.qpid.dispatch.router.config.autoLink
> addr=queue direction=in connection=artemis-broker
> qdmanage create --type org.apache.qpid.dispatch.router.config.autoLink
> addr=queue direction=out connection=artemis-broker
> qdmanage create --type=org.apache.qpid.dispatch.router.config.address
> pattern=queue waypoint=true
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]