my route looks like this :
<camel:endpoint id="smscReceiving"
uri="smpp://${smpp.user}@${smpp.server}?password=${smpp.password} ... "/>
<camel:route id="smsReceivingRoute" autoStartup="false"
errorHandlerRef="smsReceivingErrorHandler">
<camel:from ref="smscReceiving"/>
<camel:to ref="smsProcessing"/>
</camel:route>
I put logging on trace when I call context.stopRoute(rid);
and this is what I get
DEBUG There are 1 routes to shutdown
TRACE Shutting down route: smsReceivingRoute with options
[Default,CompleteCurrentTaskOnly]
TRACE Suspending: SmppConsumer[smpp://*******************]
TRACE Suspend complete for: SmppConsumer[smpp://**************]
DEBUG Route: smsReceivingRoute suspended and shutdown deferred, was
consuming from: Endpoint[smpp://***************]
TRACE Shutting down: SmppConsumer[smpp://********************]
DEBUG Disconnecting from: smpp://********************...
DEBUG Stopping consumer: SmppConsumer[smpp://********************]
DEBUG Activity notified
INFO PDUReaderWorker stop
DEBUG unbind response received
INFO Disconnected from: smpp://********************
TRACE Shutdown complete for: SmppConsumer[smpp://********************]
INFO Route: smsReceivingRoute shutdown complete, was consuming from:
Endpoint[smpp://********************]
INFO Graceful shutdown of 1 routes completed in 1 seconds
INFO Route: smsReceivingRoute is stopped, was consuming from:
Endpoint[smpp://********************]
INFO Status Started waiting for stopped.
INFO EnquireLinkSender stop
--
View this message in context:
http://camel.465427.n5.nabble.com/SMPP-stop-route-problem-tp5729769p5729799.html
Sent from the Camel - Users mailing list archive at Nabble.com.