activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Tully (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-5283) Help in analyzing "Received a message on a connection which is not yet started"
Date Tue, 22 Jul 2014 10:21:38 GMT

    [ https://issues.apache.org/jira/browse/AMQ-5283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14070089#comment-14070089
] 

Gary Tully commented on AMQ-5283:
---------------------------------

those are the details of the received message, it is a null message. One possible cause is
a response to a pull request (so prefetch=0 and a call to receive, when there are no messages
pending. The null says return from receive. Also we return a null when a browser gets to the
end of the message list.
But this warn is only emitted if connection.start has not been called previously.

> Help in analyzing "Received a message on a connection which is not yet started"
> -------------------------------------------------------------------------------
>
>                 Key: AMQ-5283
>                 URL: https://issues.apache.org/jira/browse/AMQ-5283
>             Project: ActiveMQ
>          Issue Type: Wish
>    Affects Versions: 5.10.0
>            Reporter: Martin Lichtin
>
> To help analyze "Received a message on a connection which is not yet started" issues,
it'd be great if details of the received message could be shown.
> Currently the warning shows destination=null, message=null:
> 2014-07-22 10:14:46,320 | WARN  | NIO Worker 16922 | ActiveMQSessionExecutor        
 | activemq.ActiveMQSessionExecutor   73 | 93 - org.apache.activemq.activemq-osgi - 5.10.0
| Received a message on a connection which is not yet started. Have you forgotten to call
Connection.start()? Connection: ActiveMQConnection {id=ID:dev1-38850-1405438489929-3:5,clientId=ID:dev1-38850-1405438489929-2:5,started=false}
Received: MessageDispatch {commandId = 0, responseRequired = false, consumerId = ID:dev1-38850-1405438489929-3:5:57781:1,
destination = null, message = null, redeliveryCounter = 0}
> Perhaps also replace "yet started" with "running".
> Lastly, does redelivery policy apply in this case or is the message returned to the broker
with a 'poison pill'?



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message