activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew McDonnell (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMQ-3932) receiveNoWait hangs when broker is down, using failover and prefetch=0
Date Mon, 16 Jul 2012 19:56:34 GMT

     [ 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

        

Mime
View raw message