You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Chathuraka wass <Ch...@mazarin.lk> on 2016/08/09 03:09:31 UTC

Implementing SMS Router

Hi guys,

I'm really new to apache camel and looking to implement something like the
SMS Router.

My requirement is to be able to send and receive sms through my web
application. I've already purchased details from a SMS gateway provider.

I downloaded the SMS Router project and updated the entries in
sms-router.properties with my SMSC details.

I can successfully deploy the project in Jboss Wildfly.

I also downloaded the apache activeMQ and was able to run that as well
without an issue.

But how can i create queues in activeMQ that will be used by the SMS
router.

Also is using Activemq is mandatory ? since jboss wildfly it selfs has a
message broker. Would be great if i can use that instead of activeMQ.

Please help me to resolve this issue being trying to implement this for
days now. Thanks in advance.

Best Regards,
Chathuraka.

-- 
-- 
Chathuraka Waas, Senior Software Engineer,
Mobile: +94 77 7362 505
E-mail: chwa@mazarin.lk

Mazarin (Pvt) Ltd
44, Guildford Crescent
Colombo 7, Sri Lanka

Internet: www.mazarin.lk
Tel: +94 11 2681107
Fax: +94 11 2687689

This e-mail is confidential and may contain legally privileged information.
It is intended only for the addressees. If you have received this e-mail in
error, kindly notify us immediately by telephone or e-mail and delete the
message from your system.

E-mail is susceptible to data corruption, interception, unauthorized
amendment, tampering and viruses, and we only send and receive e-mails on
the basis that we are not liable for any such corruption, interception,
amendment, tampering or viruses or any consequences thereof.

Re: Implementing SMS Router

Posted by "Walzer, Thomas" <th...@integratix.net>.
Hi,

from a brief look into sms router on Github I would say it should be easy to exchange activemq for something else.
Just change

<bean id="activemq" class="org.apache.activemq.camel.component.ActiveMQComponent">
		<property name="brokerURL" value="tcp://localhost:61616"/>
	</bean>

in CamelContext.xml to values your Wildfly broker commands.
You probably have to configure the pom.xml too.

Personally I would try to get it running on Servicemix (activemq, camel, batteries included) and then migrate to Wildfly.
I donĀ“t know what Wildfly includes, but if it is HornetQ you could look at: https://dzone.com/articles/camel-and-hornetq-jms-provider

Cheers, Thomas.

> Am 09.08.2016 um 05:09 schrieb Chathuraka wass <Ch...@mazarin.lk>:
> 
> Hi guys,
> 
> I'm really new to apache camel and looking to implement something like the
> SMS Router.
> 
> My requirement is to be able to send and receive sms through my web
> application. I've already purchased details from a SMS gateway provider.
> 
> I downloaded the SMS Router project and updated the entries in
> sms-router.properties with my SMSC details.
> 
> I can successfully deploy the project in Jboss Wildfly.
> 
> I also downloaded the apache activeMQ and was able to run that as well
> without an issue.
> 
> But how can i create queues in activeMQ that will be used by the SMS
> router.
> 
> Also is using Activemq is mandatory ? since jboss wildfly it selfs has a
> message broker. Would be great if i can use that instead of activeMQ.
> 
> Please help me to resolve this issue being trying to implement this for
> days now. Thanks in advance.
> 
> Best Regards,
> Chathuraka.
> 
> -- 
> -- 
> Chathuraka Waas, Senior Software Engineer,
> Mobile: +94 77 7362 505
> E-mail: chwa@mazarin.lk
> 
> Mazarin (Pvt) Ltd
> 44, Guildford Crescent
> Colombo 7, Sri Lanka
> 
> Internet: www.mazarin.lk
> Tel: +94 11 2681107
> Fax: +94 11 2687689
> 
> This e-mail is confidential and may contain legally privileged information.
> It is intended only for the addressees. If you have received this e-mail in
> error, kindly notify us immediately by telephone or e-mail and delete the
> message from your system.
> 
> E-mail is susceptible to data corruption, interception, unauthorized
> amendment, tampering and viruses, and we only send and receive e-mails on
> the basis that we are not liable for any such corruption, interception,
> amendment, tampering or viruses or any consequences thereof.