Re: Camel SMPP reconnection strategy

2013-09-24 Thread fclose
Hi Christian, this certainly could be the reason. The question, not really related to Camel is how to identify that connections are lost and more important why. Upgrading Camel version should be possible, but looking at improvements or bug fixed, I can't see something related to my problem. --

Re: Bindy infinite loop

2013-09-24 Thread fclose
I had the problem with 2.10.3 and did not test with newer version. -- View this message in context: http://camel.465427.n5.nabble.com/Bindy-infinite-loop-tp5739879p5740122.html Sent from the Camel - Users mailing list archive at Nabble.com.

Camel SMPP reconnection strategy

2013-09-24 Thread fclose
I have an application with 2 routes that are in charge of sending sms messages. We noticed that sometimes, the connection is lost (or seems to be lost). In those case, Camel tries to reconnect to the SMSC and what is happening is that in some cases instead of having 2 connections to the smsc we ha

Bindy infinite loop

2013-09-20 Thread fclose
I have a route that looks like this if the route has to process a file that contains an empty line at the end (I suppose that if I have an empty line in the middle of the file, the problem will be the same) then the process res

Re: SMPP stop route problem

2013-03-27 Thread fclose
Christian, I still have a question about what you said Christian Mueller wrote > If you want to return another error code, simply catch the exception in > your route and rethrow an org.jsmpp.extra.ProcessRequestException (with > the > error code you want) which is returned to the SMSC. As my r

Re: SMPP stop route problem

2013-03-26 Thread fclose
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

Re: SMPP stop route problem

2013-03-26 Thread fclose
I'll looked in the code and the only place I found that an error code could be generated is in org.apache.camel.component.smpp.MessageReceiverListenerImpl line 105 this seems to send back to the smsc an error 255, which is unkown to the smsc. I'll try to confirm that the error is really happ

Re: SMPP stop route problem

2013-03-25 Thread fclose
my route looks like this : 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://**

SMPP stop route problem

2013-03-25 Thread fclose
Hello, like I explained in a previous post I'm looking for recommendations about how to stop a route listening for sms messages. Currently I'm stopping the route using the camel context camelContext.stopRoute(routeId); But doing so I'm losing some messages : Here is the description of the p

Smpp stop route recommendations

2013-03-22 Thread fclose
Hello, I have configured a route listening for incoming sms messages. We did a mini load test with 2 messages / seconds. this works perfectly but we have a problem when we stop the route, at that time we seem to lose messages smsc considers that 2 messages were rejected *before *the unbind. S

smpp datacoding - alphabet at endpoint level not taken into account

2013-03-01 Thread fclose
Hello, This, week I have been struggling with the sending of sms with special (french) characters. On the initial tests I did I was setting the dataCoding / alphabet (= 8 UCS2) as URI options of the endpoint. This didn't work. When I set the alphabet to UCS2 as a Producer Message Header and en

RE: Camel smpp special characters for sending sms

2013-02-28 Thread fclose
Hello, I found the solution to my problem and I wanted to update you about it. On the initial tests I did I was setting the dataCoding / alphabet (= 8 UCS2) as URI options. This didn't work. If I set the alphabet to UCS2 as a Producer Message Header and encoding = UTF-16BE as URI options then

Re: Camel smpp special characters for sending sms

2013-02-26 Thread fclose
Something strange if I try with alphabet = 8 and *dataCoding = 3* I have an IllegalArgumentException java.lang.IllegalArgumentException: *No enum const Alphabet with value 3* bug ? 2013-02-26 11:19:49,386 ERROR [Camel (camel-1) thread #15 - JmsConsumer[immediatesms]] o.a.c.p.DeadLetterChan

Camel smpp special characters for sending sms

2013-02-25 Thread fclose
Hello, I'm working on a project where I'm sending messages coming from an activeMQ queue to an sms-c. This works fine except that I'm currently unable to send special characters used in french like: é è à : those characters are not displayed correctly on mobile phones. Do you have any idea what

Re: smpp consumer inflight exchanges keep growing

2012-10-08 Thread fclose
I don't know as far as I can tell the exchange is not created due to the NullPointer and my code is not seeing the wrong sms / exchanges. Any idea how I could debug that ? Given it does not happen a lot: 290 errors on 9 exchanges. -- View this message in context: http://camel.465427

smpp consumer inflight exchanges keep growing

2012-10-08 Thread fclose
Hi, I configured a route that listens to incoming sms. The route receives a lot of sms and everything seems to go fine except for 2 things: 1. the number of inflight exchange grow slowly but constantly (after an uptime of 55 hours I have 250 inflight exchanges. 2. the number of inflight exhange