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@localhost: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