You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Christian Müller <ch...@gmail.com> on 2014/03/25 19:45:13 UTC

Re: Camel SMPP

Hi Nader!

After sending a SMS, the SMPP producer will set the message header
"CamelSmppId". If you receive a DeliveryReceipt or DataSm, Camel will also
set the message header "CamelSmppId" as described in [1]. This is the
correlation Id you can use.

P.S.: Please use the Camel user mailing list the next time for asking this
kind of questions.

[1] https://camel.apache.org/smpp.html

Best,

Christian
-----------------

Software Integration Specialist

Apache Member
V.P. Apache Camel | Apache Camel PMC Member | Apache Camel committer
Apache Incubator PMC Member

https://www.linkedin.com/pub/christian-mueller/11/551/642


On Tue, Mar 18, 2014 at 9:45 AM, <ha...@gmail.com> wrote:

> Hello Christian,
>
> I'm developing bulk sms sending project, the problem that i can't find a
> way to correlate sms ids between smpp producer and consumer. I need the
> delivery receipt to put the status in my sms table. Could you please help
> me ?
> Here's my routes config :
>
>
>                 from("activemq:queue:smsMQ?exchangePattern=InOut")
>                 .routePolicy(startPolicy)
>                 .noAutoStartup()
>
>  .throttle(SuperAdminConfiguration.MAX_SMS_PER_SECOND).timePeriodMillis(1000)
>                 .setExchangePattern(ExchangePattern.InOut)
>                 .to("smpp://smppclient1@localhost
> :2775?password=password&enquireLinkTimer=3000&transactionTimer=50000&systemType=producer");
>
> // CONSUMER
>
> from("smpp://smppclient1@localhost
> :2775?password=password&enquireLinkTimer=3000&transactionTimer=50000&systemType=consumer")
>                 .setExchangePattern(ExchangePattern.InOut)
>                 .to("bean:ackProcessor");
>
>
> Thank you, (sorry for my bad english :( )
>
> Best regards,
> Nader
>
>
> _____________________________________
> Sent from http://camel.465427.n5.nabble.com
>
>