You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Andrew McDonnell (JIRA)" <ji...@apache.org> on 2012/07/16 21:56:34 UTC

[jira] [Updated] (AMQ-3932) receiveNoWait hangs when broker is down, using failover and prefetch=0

     [ https://issues.apache.org/jira/browse/AMQ-3932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew McDonnell updated AMQ-3932:
----------------------------------

    Attachment: AMQ3932Test.java

Attaching test case, heavily based on test from AMQ-2446.
                
> receiveNoWait hangs when broker is down, using failover and prefetch=0
> ----------------------------------------------------------------------
>
>                 Key: AMQ-3932
>                 URL: https://issues.apache.org/jira/browse/AMQ-3932
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.6.0
>            Reporter: Andrew McDonnell
>         Attachments: AMQ3932Test.java
>
>
> I have a connection set up using failover and queuePrefetch=0.  I create a consumer, stop the broker, and call receiveNoWait.
> I would expect this to return/throw immediately; instead it hangs.  Without failover or with a non-zero prefetch it works as expected.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira