MessageConsumer.receive() does not throw an exception if the connection to the 
broker is lost.
----------------------------------------------------------------------------------------------

                 Key: AMQ-2195
                 URL: https://issues.apache.org/activemq/browse/AMQ-2195
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker
    Affects Versions: 5.2.0
            Reporter: Dejan Bosanac
            Assignee: Dejan Bosanac
             Fix For: 5.3.0


If you don't set an ExceptionListener on the connection to the broker from 
within your consumer you won't get any notification if the connection to the 
broker has been lost, instead MessageConsumer.receive() will only return null 
or block indefinitely depending on if you use the timeout parameter or not.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to