Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 72CB497C6 for ; Fri, 24 Feb 2012 09:20:01 +0000 (UTC) Received: (qmail 11867 invoked by uid 500); 24 Feb 2012 09:20:01 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 11799 invoked by uid 500); 24 Feb 2012 09:20:00 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 11791 invoked by uid 99); 24 Feb 2012 09:20:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Feb 2012 09:20:00 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of christian.mueller@gmail.com designates 209.85.214.173 as permitted sender) Received: from [209.85.214.173] (HELO mail-tul01m020-f173.google.com) (209.85.214.173) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Feb 2012 09:19:53 +0000 Received: by obbup16 with SMTP id up16so3230900obb.32 for ; Fri, 24 Feb 2012 01:19:33 -0800 (PST) Received-SPF: pass (google.com: domain of christian.mueller@gmail.com designates 10.60.7.70 as permitted sender) client-ip=10.60.7.70; Authentication-Results: mr.google.com; spf=pass (google.com: domain of christian.mueller@gmail.com designates 10.60.7.70 as permitted sender) smtp.mail=christian.mueller@gmail.com; dkim=pass header.i=christian.mueller@gmail.com Received: from mr.google.com ([10.60.7.70]) by 10.60.7.70 with SMTP id h6mr506660oea.44.1330075173039 (num_hops = 1); Fri, 24 Feb 2012 01:19:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=ZOwY/RlA/YcqNNyKQa+kAA0SENAVucRh20gg44i0EHo=; b=XcOnYyTx433407sfrSAmhVEOrU604V+vK1vnHdscKQF9T4+XdIC3laGjFSsm3iMEDb 9jlCUQ5TKMjYFYO7Lmsco0QJUBCrwXlL6zTMpqzL06u5g2gaXwgrAqXoC2XGP1/R9VAE xewitK+833dymMRTVX5n3Der+eVZYhlSzJLxo= MIME-Version: 1.0 Received: by 10.60.7.70 with SMTP id h6mr452773oea.44.1330075172975; Fri, 24 Feb 2012 01:19:32 -0800 (PST) Received: by 10.182.76.35 with HTTP; Fri, 24 Feb 2012 01:19:32 -0800 (PST) In-Reply-To: <1330066618938-5511843.post@n5.nabble.com> References: <1330066618938-5511843.post@n5.nabble.com> Date: Fri, 24 Feb 2012 10:19:32 +0100 Message-ID: Subject: Re: Camel SMPP - Track connection failures with SMSC From: =?ISO-8859-1?Q?Christian_M=FCller?= To: users@camel.apache.org Content-Type: multipart/alternative; boundary=e89a8fb1f17435b2e304b9b24259 X-Virus-Checked: Checked by ClamAV on apache.org --e89a8fb1f17435b2e304b9b24259 Content-Type: text/plain; charset=ISO-8859-1 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 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. > --e89a8fb1f17435b2e304b9b24259--