|
Hello!
I use camel-smpp in a Karaf/Spring project. Here is the problem I observed when I stop/update my bundle SMPP endpoint just closes the TCP connection to SMSC. There is no unbind. This is a major problem for my project, because mobile operator will not allow me to connect to SMSC without an unbind. Here is the error from SMPPSim: 2011.02.04 02:30:31 487 WARNING 18 packetLen[3] == -1, throwing EOFException 2011.02.04 02:30:31 487 INFO 18 null java.io.EOFException at com.seleniumsoftware.SMPPSim.StandardConnectionHandler.readPacketInto(Unknown Source) at com.seleniumsoftware.SMPPSim.StandardConnectionHandler.runThread(Unknown Source) at com.seleniumsoftware.SMPPSim.StandardConnectionHandler.run(Unknown Source) at java.lang.Thread.run(Thread.java:662) 2011.02.04 02:30:31 488 INFO 18 StandardConnectionHandler waiting for connection This is the route in Camel/Spring: <camelContext xmlns="http://camel.apache.org/schema/spring"> <camel:route> <camel:from uri="smpp://id@localhost:2775?password=pass"/> <camel:to uri="log:test"/> </camel:route> </camelContext> Is there a way to add unbind on stop/update of the bundle? |
|
On Fri, Feb 4, 2011 at 2:36 AM, Alex MadMind <[hidden email]> wrote:
> Hello! > > I use camel-smpp in a Karaf/Spring project. > Here is the problem I observed when I stop/update my bundle SMPP endpoint > just closes the TCP connection to SMSC. > There is no unbind. This is a major problem for my project, because mobile > operator will not allow me to connect to SMSC without an unbind. > > Here is the error from SMPPSim: > > 2011.02.04 02:30:31 487 WARNING 18 packetLen[3] == -1, throwing EOFException > 2011.02.04 02:30:31 487 INFO 18 null > java.io.EOFException > at > com.seleniumsoftware.SMPPSim.StandardConnectionHandler.readPacketInto(Unknown > Source) > at > com.seleniumsoftware.SMPPSim.StandardConnectionHandler.runThread(Unknown > Source) > at com.seleniumsoftware.SMPPSim.StandardConnectionHandler.run(Unknown > Source) > at java.lang.Thread.run(Thread.java:662) > 2011.02.04 02:30:31 488 INFO 18 StandardConnectionHandler waiting for > connection > > This is the route in Camel/Spring: > > <camelContext xmlns="http://camel.apache.org/schema/spring"> > <camel:route> > <camel:from uri="smpp://id@localhost:2775?password=pass"/> > <camel:to uri="log:test"/> > </camel:route> > </camelContext> > > > Is there a way to add unbind on stop/update of the bundle? > Could you take a look in the camel-smpp source code. Its most likely a matter of adding the unbind logic in the doStop method of the consumer. https://svn.apache.org/repos/asf/camel/trunk/components/camel-smpp/ And you are welcome to file a bug report at JIRA http://issues.apache.org/jira/browse/CAMEL And you may wanna try using the latest release to see if its fixed. But you can maybe see that from the source code. -- Claus Ibsen ----------------- FuseSource Email: [hidden email] Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/ |
|
I will have a look on it later today...
Am 04.02.2011 07:07 schrieb "Claus Ibsen" <[hidden email]>: On Fri, Feb 4, 2011 at 2:36 AM, Alex MadMind <[hidden email]> wrote: > Hello! > > I use came... Could you take a look in the camel-smpp source code. Its most likely a matter of adding the unbind logic in the doStop method of the consumer. https://svn.apache.org/repos/asf/camel/trunk/components/camel-smpp/ And you are welcome to file a bug report at JIRA http://issues.apache.org/jira/browse/CAMEL And you may wanna try using the latest release to see if its fixed. But you can maybe see that from the source code. -- Claus Ibsen ----------------- FuseSource Email: [hidden email] Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/ |
|
In reply to this post by Claus Ibsen-2
Opened a ticket for it: https://issues.apache.org/jira/browse/CAMEL-3624
Add yourself as a watcher to track the progress... |
|
On 02/04/2011 07:38 PM, Christian Müller wrote:
> Opened a ticket for it: https://issues.apache.org/jira/browse/CAMEL-3624 > Add yourself as a watcher to track the progress... > Thank you all for quick help! |
| Powered by Nabble | Edit this page |
