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

James Strachan resolved AMQ-1186.
---------------------------------

    Fix Version/s: 5.1.0
                       (was: 5.2.0)
       Resolution: Fixed

See [Logging a warning if you forget to start a 
Connection|http://activemq.apache.org/logging-a-warning-if-you-forget-to-start-a-connection.html]

> Notify user when listening on unstarted connection
> --------------------------------------------------
>
>                 Key: AMQ-1186
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1186
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Broker
>    Affects Versions: 4.1.0
>            Reporter: Dain Sundstrom
>             Fix For: 5.1.0
>
>
> It is not possible to receive a message on an unstarted connection, but 
> activemq does not warn you when you attempt to do it anyway.  When a user 
> tries this, how about throwing an exception or logging something?  In my 
> specific case I was calling consumer.receive(1000), and it was failing 
> because the connection was not started.  In at least that case, there should 
> be a log message.   For other styles of listeners you could log a warning 
> saying that the connection has not been started after say 5 seconds.  That 
> way a user has at least a prayer of noticing this problem.

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