On Mon, Mar 16, 2009 at 3:34 PM, Markus Reil <gistenju...@gmx.de> wrote:
>
>
>
> Claus Ibsen-2 wrote:
>>
>> Which version of Camel are you using?
>>
>> And are you sure there is a message in delay in Camel, while you shutdown?
>>
>> Are you also using JMS?
>>
>
> I'm using 1.5.0 at the moment and I'm sure the message is in delay:
> [15:27:03.598] [DEBUG] [DelayRoutes] Save exchange to wait queue
> I shutdown here...
> [15:27:33.656] [DEBUG] [DelayRoutes] Message will be sent to target queue
> (activemq:queue:queue.profileComputation.out).
>
> And yes, I am using JMS.
The fix is in 2.0-SNAPSHOT. Or the 2.0M1 that is published on the
central maven repo later today.


>
> I just tried apache-camel-2.0-20090311.162311-1.tar.gz and I still don't see
> the "Interrupted" log message. I do not get the "Transport disposed"
> exception anymore but the server won't shutdown at all. Last log lines are:
> [15:27:10.613] [ INFO] [org.apache.camel.impl.DefaultCamelContext] Apache
> Camel  (CamelContext:null) is stopping
> [15:27:33.655] [DEBUG] [com.kekaya.activemq.DelayRoutes] headers:
> properties:{CamelBeanHolder=Routes: [], kekayaExecTime=1237213653596}
> headers:{JMSCorrelationID=null,
> JMSMessageID=ID:localhost-59869-1237213501544-2:0:1:1:1, JMSExpiration=0,
> kekayaDelay=30, kekayaPass=2, JMSDeliveryMode=2,
> kekayaExecTime=1237213653596, JMSPriority=4, kekayaId=3,
> JMSTimestamp=1237213623616, JMSReplyTo=null,
> JMSDestination=queue://queue.profileComputation.wait, JMSXGroupID=null,
> JMSType=null, JMSRedelivered=false}
> [15:27:33.656] [DEBUG] [com.kekaya.activemq.DelayRoutes] Message will be
> sent to target queue (activemq:queue:queue.profileComputation.out).
> [15:27:33.657] [DEBUG] [org.apache.camel.impl.DefaultComponent] Creating
> endpoint uri=[activemq:queue:queue.profileComputation.out],
> path=[queue:queue.profileComputation.out], parameters=[{}]
> [15:27:33.657] [DEBUG] [org.apache.camel.impl.DefaultCamelContext] []
> activemq:queue:queue.profileComputation.out converted to endpoint:
> Endpoint[activemq:queue:queue.profileComputation.out] by component:
> org.apache.camel.component.jms.jmscompon...@1eb2e9f
>
> --
> View this message in context: 
> http://www.nabble.com/Delayer%3A-%22Transport-disposed%22-at-JVM-Shutdown-tp22202167p22539534.html
> Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.
>
>



-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/

Reply via email to