You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Omar Atia <om...@its.ws> on 2012/02/15 20:21:23 UTC
Threads in SMPP ,,,
Dears ,
I need to bind as receiver to SMS and wait for SMS to come into my camel , is it supporting threading ? can we have the receiver from SMSC (from (smpp://) to support multi threading ? or it depends on camel threads like mina tcp.
Thanks,
Omar Atia
RE: Threads in SMPP ,,,
Posted by Ashwin Karpe <ak...@fusesource.com>.
Hi,
If you are using the camel-smpp component, then I checked the code and it is
indeed multi-threaded...
Cheers,
Ashwin...
-----
---------------------------------------------------------
Ashwin Karpe
Apache Camel Committer & Sr Principal Consultant
FUSESource (a Progress Software Corporation subsidiary)
http://fusesource.com
Blog: http://opensourceknowledge.blogspot.com
---------------------------------------------------------
--
View this message in context: http://camel.465427.n5.nabble.com/Threads-in-SMPP-tp5487092p5487626.html
Sent from the Camel - Users mailing list archive at Nabble.com.
RE: Threads in SMPP ,,,
Posted by Omar Atia <om...@its.ws>.
Thanks a lot.
-----Original Message-----
From: Ashwin Karpe [mailto:akarpe@fusesource.com]
Sent: Thursday, February 16, 2012 12:07 AM
To: users@camel.apache.org
Subject: Re: Threads in SMPP ,,,
Hi,
I am not sure if this is a homegrown component you have written. I will try
to speak to the behavior of Camel as it generally applies to components and
routes in general.
The Camel context allocates a thread pool from which components, endpoints,
routes and other lifecycle managed entities borrow threads. Unless you
explicitly create a singleton endpoint with a singleton producer or
consumer, the entities should run in multithreaded mode...
Hope this helps.
Cheers,
Ashwin...
-----
---------------------------------------------------------
Ashwin Karpe
Apache Camel Committer & Sr Principal Consultant
FUSESource (a Progress Software Corporation subsidiary)
http://fusesource.com
Blog: http://opensourceknowledge.blogspot.com
---------------------------------------------------------
--
View this message in context: http://camel.465427.n5.nabble.com/Threads-in-SMPP-tp5487092p5487592.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Threads in SMPP ,,,
Posted by Ashwin Karpe <ak...@fusesource.com>.
Hi,
I am not sure if this is a homegrown component you have written. I will try
to speak to the behavior of Camel as it generally applies to components and
routes in general.
The Camel context allocates a thread pool from which components, endpoints,
routes and other lifecycle managed entities borrow threads. Unless you
explicitly create a singleton endpoint with a singleton producer or
consumer, the entities should run in multithreaded mode...
Hope this helps.
Cheers,
Ashwin...
-----
---------------------------------------------------------
Ashwin Karpe
Apache Camel Committer & Sr Principal Consultant
FUSESource (a Progress Software Corporation subsidiary)
http://fusesource.com
Blog: http://opensourceknowledge.blogspot.com
---------------------------------------------------------
--
View this message in context: http://camel.465427.n5.nabble.com/Threads-in-SMPP-tp5487092p5487592.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Threads in SMPP ,,,
Posted by Christian Müller <ch...@gmail.com>.
Each incoming message will be processed in its own thread. If camel-smpp
receives multiple messages at the same time, they messages will be
processed in parallel - multi threaded.
The response is delayed until the message is processed in your camel route
or its sent to an in-only endpoint like camel-activemq.
Best,
Christian
On Wed, Feb 15, 2012 at 8:21 PM, Omar Atia <om...@its.ws> wrote:
> Dears ,
>
> I need to bind as receiver to SMS and wait for SMS to come into my camel ,
> is it supporting threading ? can we have the receiver from SMSC (from
> (smpp://) to support multi threading ? or it depends on camel threads like
> mina tcp.
>
> Thanks,
> Omar Atia
>