activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dain Sundstrom (JIRA)" <>
Subject [jira] Created: (AMQ-1186) Notify user when listening on unstarted connection
Date Sat, 03 Mar 2007 23:38:03 GMT
Notify user when listening on unstarted connection

                 Key: AMQ-1186
             Project: ActiveMQ
          Issue Type: Improvement
          Components: Broker
    Affects Versions: 4.1.0
            Reporter: Dain Sundstrom

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.

View raw message