Hi,

Thanks for the reply. I managed to run the sms-router project :). But now
i'm getting an error from smsc side because i'm passing a incorrect
variable i guess. Need to check with service provider i guess.

Just in case you have come across it before here's the error.
org.jsmpp.extra.NegativeResponseException: Negative response 00000438 found

If i can get this working next step would be to integrate it to my Java EE
app. Thanks for the steps. Its really helpful.

Best Regards,
Chathuraka.


On Wed, Aug 10, 2016 at 10:14 AM, Sashika <[email protected]> wrote:

> 1. Configure camel in your JEE application. Please follow
>    http://camel.apache.org/cdi.html
> 2. Define a route builder
> 3. Add a route that listens to your smsc (Please refer the camel smpp for
>    settings)
>
> @ContextName("camel-context")classMySmsRouteextendsRouteBuilder {
> @Overridepublicvoidconfigure() {from("smpp://smppclient@local
> host:2775?password=password&enquireLinkTimer=3000&systemType=consumer")
>   .to("bean:foo");    }}
>
> Not using Mixmax yet?
> It is this easy with Apache Camel
>
>
>
>
>
>
> On Tue, Aug 9, 2016 1:53 PM, Chathuraka Waas [email protected]
> wrote:
> Hi Thanks for the reply. I had a look on the documentation. The current
>
> setup i'm having is i have a JEE application thats deployed in jboss
>
> wildfly.
>
>
>
>
> Where can i add these routes in the application and i want to keep
>
> listening to the SMSC all the time as well.
>
>
>
>
> On Tue, Aug 9, 2016 at 12:30 PM, Sashika <[email protected]> wrote:
>
>
>
>
> If you have access to an smsc just use camel smpp
>>
>
> http://camel.apache.org/smpp.html
>>
>
>
>>
>
>>
>
>>
>
>>
>
>>
>
>>
> On Tue, Aug 9, 2016 11:52 AM, Chathuraka Waas [email protected]
>>
>
> wrote:
>>
>
> Hi,
>>
>
>
>>
>
>>
>
>>
>
>>
> I'm really new to apache camel and looking to implement a system to send
>>
>
>
>>
> and receive SMS from my application. While reading i came across the SMS
>>
>
>
>>
> Router project.
>>
>
>
>>
>
>>
>
>>
>
>>
> I downloaded the project and changed the parameters in
>>
>
>
>>
> sms-router.properties file. But i can get it running.
>>
>
>
>>
>
>>
>
>>
>
>>
> I tried using the Java service wrapper but it doesnt seems to work.
>>
>
>
>>
>
>>
>
>>
>
>>
> Will be grateful if anyone can help me out of this.
>>
>
>
>>
>
>>
>
>>
>
>>
> --
>>
>
>
>>
> Thanks & Regards,
>>
>
>
>>
> Chathuraka Waas
>>
>
>
>>
>
>
>
>
>
>
>
>
>
> --
>
> Thanks & Regards,
>
> Chathuraka Waas
>



-- 
Thanks & Regards,
Chathuraka Waas

Reply via email to