That's the problem from my point of view. If you can suggest a good design how to handle it, I will implement it.
Assume your route to send short messages looks like the following: from("bean://") .to("smpp://..."); By using TRX mode your smpp session will also receive: - sync. response from the SMSC - async. requests for the delivery notification - async requests for received short messages How would you like to model your route to catch all this use cases? Something like from("bean://") .to("smpp://...") .choice() .when(header("CamelSmppMessageType").isEqual("DeliveryReceipt")) .to("bean://....") // async. requests for the delivery notification .when(header("CamelSmppMessageType").isEqual("DeliverSm")) .to("bean://....") // async. requests for the delivery notification .otherwise() .to("bean://....") // sync. response from the SMSC .end(); ? I think we don't have another camel component where the endpoint is a consumer and producer. I'm not sure how/if it works or if we hit problems in other areas (exception handling, ...). Best, Christian On Thu, Jan 3, 2013 at 11:41 PM, Johanes Soetanto <otnat...@gmail.com>wrote: > On Friday, 4 January 2013, Christian Müller wrote: > > > It doesn't make sense for me to support the TRX mode. > > Could you provide some pseudo code how your route will looks like? > > > > Best, > > Christian > > > > On Mon, Dec 31, 2012 at 5:32 AM, Srinivas <javvadi.sre...@gmail.com > <javascript:;>> > > wrote: > > > > > Hi Christian, > > > > > > Thank you for replying. > > > > > > Operator given only one smpp connectivity that is in trx mode > > and > > > operator not allowed two smpp(tx and rx) connections. In my application > > > receive delivery sm ,delivery recipients and submit sm. Please help me > > how > > > to solve my problem using apache camel. > > > > > > Regards, > > > > > > Srinivas > > > From my experience, some SMSC only allow single connection using TRX. > I can't remember whether i have established TRX connection during my tests, > but I remember that sometimes my outbound route also receive incoming sms > if i add additional "to" destination > > > > > > > > > > > > > -- > > > View this message in context: > > > > > > http://camel.465427.n5.nabble.com/camel-smpp-in-trx-mode-tp5724608p5724731.html > > > Sent from the Camel - Users mailing list archive at Nabble.com. > > > > > > > > > > > -- > > > > > -- > Johanes > --