Gary Tully created AMQ-4540:
-------------------------------

             Summary: NetworkBridge - don't wait for ever for 
demandSubscription pending send responses on remove
                 Key: AMQ-4540
                 URL: https://issues.apache.org/jira/browse/AMQ-4540
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker
    Affects Versions: 5.8.0
            Reporter: Gary Tully
             Fix For: 5.9.0


In a networkbridge, a demandSub tracks outstanding asyncRquests and waits for 
them to complete on removal such that the messages can be acked correctly when 
the send completes.
If the send is blocked on pfc on the remote broker, it may not return for some 
time, which blocks other removals leaving messages stuck inflight to networked 
subscriptions.

The wait ensures that a message send will not be a duplicate, but blocking for 
ever does not make sense, especially considering that removes are serialised.

We need some openwire command that can cancel pending sends to sort out this 
case but even then we need to timeout at some stage in case the other end 
cannot respond.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to