Hello Christian thanks for your answer,

I'll ask the SMSC specialist why the error 255 is unknown at the smsc level
(could depend on the smsc manufacturer ?).

Concerning the stop of the route, I saw in the logs that a gracefull
shutdown happens [logs],  it happens fast (1 second) but the route is
receiving  2 messages per second and I have the feeling that a message is
still received by the consumer after the stop and that's when the problem
appears.

I'll redo some tests tomorrow and I hope I'll be able to confirm that.

In the logs, I can see that is shutting down with "CompleteCurrentTaskOnly"
option, are there other options for the stop of an individual route ? 



[logs]
2013-03-22 15:22:43,346 DEBUG There are 1 routes to shutdown
2013-03-22 15:22:43,347 TRACE Shutting down route: smsReceivingRoute with
options [Default,CompleteCurrentTaskOnly]
2013-03-22 15:22:43,348 TRACE Suspending:
SmppConsumer[smpp://*******************]
2013-03-22 15:22:43,349 TRACE Suspend complete for:
SmppConsumer[smpp://**************]
2013-03-22 15:22:43,351 DEBUG Route: smsReceivingRoute suspended and
shutdown deferred, was consuming from: Endpoint[smpp://***************]
2013-03-22 15:22:43,352 TRACE Shutting down:
SmppConsumer[smpp://********************]
2013-03-22 15:22:43,352 DEBUG Disconnecting from:
smpp://********************...
2013-03-22 15:22:43,352 DEBUG Stopping consumer:
SmppConsumer[smpp://********************]
2013-03-22 15:22:44,363 DEBUG Activity notified
2013-03-22 15:22:44,364 INFO  PDUReaderWorker stop
2013-03-22 15:22:44,365 DEBUG unbind response received
2013-03-22 15:22:44,366 INFO  Disconnected from: smpp://********************
2013-03-22 15:22:44,367 TRACE Shutdown complete for:
SmppConsumer[smpp://********************]
2013-03-22 15:22:44,370 INFO  Route: smsReceivingRoute shutdown complete,
was consuming from: Endpoint[smpp://********************]
2013-03-22 15:22:44,370 INFO  Graceful shutdown of 1 routes completed in 1
seconds
2013-03-22 15:22:44,372 INFO  Route: smsReceivingRoute is stopped, was
consuming from: Endpoint[smpp://********************]
2013-03-22 15:22:44,373 INFO  Status Started waiting for stopped.
2013-03-22 15:22:44,507 INFO  EnquireLinkSender stop



--
View this message in context: 
http://camel.465427.n5.nabble.com/SMPP-stop-route-problem-tp5729769p5729872.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to