You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Dejan Bosanac (JIRA)" <ji...@apache.org> on 2009/04/02 16:02:34 UTC

[jira] Created: (AMQ-2195) MessageConsumer.receive() does not throw an exception if the connection to the broker is lost.

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.


[jira] Resolved: (AMQ-2195) MessageConsumer.receive() does not throw an exception if the connection to the broker is lost.

Posted by "Dejan Bosanac (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-2195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dejan Bosanac resolved AMQ-2195.
--------------------------------

    Resolution: Fixed

> 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.