You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by ranjitkumarm <rm...@gmail.com> on 2012/02/24 07:56:58 UTC

Camel SMPP - Track connection failures with SMSC

Hi,
   We have used camel SMPP for sending short messages. 
Whenever the binding is lost with the SMSC the default error handler is
triggered which keeps on trying to establish the connection. We have a
requirement to send mail alerts if the binding has been lost since last 'x'
minutes. Is there anyway to do this ? Any help on this is appreciated.

Thanks & Regards,
Ranjit


--
View this message in context: http://camel.465427.n5.nabble.com/Camel-SMPP-Track-connection-failures-with-SMSC-tp5511843p5511843.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel SMPP - Track connection failures with SMSC

Posted by ranjitkumarm <rm...@gmail.com>.
Hi Christian,
       I have raised a new featurue request in JIRA.
https://issues.apache.org/jira/browse/CAMEL-5043
https://issues.apache.org/jira/browse/CAMEL-5043 

Thanks & Regards,
Ranjit

--
View this message in context: http://camel.465427.n5.nabble.com/Camel-SMPP-Track-connection-failures-with-SMSC-tp5511843p5516469.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel SMPP - Track connection failures with SMSC

Posted by Christian Müller <ch...@gmail.com>.
After you created an account at [1], you can raise issues at Apache. Choose
please "Camel" and "new feature" for this request.

[1] https://issues.apache.org/jira/browse/CAMEL

Best,
Christian

On Fri, Feb 24, 2012 at 10:56 AM, ranjitkumarm <rm...@gmail.com> wrote:

> Hi Christian,
>     Thank you for the response. I think the provision to set a custom
> SessionStateListener is fair enough and can be used for sending the mail
> alerts. Please help me on as how to raise a JIRA issue as I am fairly new
> to
> this forum.
>
> Best Regards,
> Ranjit
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Camel-SMPP-Track-connection-failures-with-SMSC-tp5511843p5512214.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Re: Camel SMPP - Track connection failures with SMSC

Posted by ranjitkumarm <rm...@gmail.com>.
Hi Christian,
     Thank you for the response. I think the provision to set a custom
SessionStateListener is fair enough and can be used for sending the mail
alerts. Please help me on as how to raise a JIRA issue as I am fairly new to
this forum.

Best Regards,
Ranjit

--
View this message in context: http://camel.465427.n5.nabble.com/Camel-SMPP-Track-connection-failures-with-SMSC-tp5511843p5512214.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel SMPP - Track connection failures with SMSC

Posted by Christian Müller <ch...@gmail.com>.
Hello Ranjit!

At the moment there is no possibility to do this. The SmppProducer and
SmppConsumer have a SessionStateListener which detects loosed connections
and trying to reconnect (nothing to do with the default error handler).
One possibility is to allow to set a custom SessionStateListener where you
can implement your own notification logic. Camel could still do the
reconnect but forward all session state changed events. How does it sounds
for you?

Feel free to open a JIRA if you like the idea.

Best,
Christian

On Fri, Feb 24, 2012 at 7:56 AM, ranjitkumarm <rm...@gmail.com> wrote:

> Hi,
>   We have used camel SMPP for sending short messages.
> Whenever the binding is lost with the SMSC the default error handler is
> triggered which keeps on trying to establish the connection. We have a
> requirement to send mail alerts if the binding has been lost since last 'x'
> minutes. Is there anyway to do this ? Any help on this is appreciated.
>
> Thanks & Regards,
> Ranjit
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Camel-SMPP-Track-connection-failures-with-SMSC-tp5511843p5511843.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>