On Tue, Aug 3, 2010 at 4:34 PM, Pavel Suhotyuk <[email protected]> wrote:
>
> Hello.
>
> I try configure ActiveMQ to sending and receiving SMS via camel-smpp plugin.
>
> <route>
>  <from uri="activemq:SendSMSQueue"/>
>  <to
> uri="smpp://u...@localhost:9999?password=password&enquireLinkTimer=3000&transactionTimer=5000&systemType=producer"/>
> </route>
>
> I using the simulator provided by Logica as SMSC for testing.
>
> Messages is delivering successfully when SMSC is running, but when SMSC is
> down (for example, network is down) messages is dequeued automatically.
>
> What must I do to delivering messages persistent?
>

I assume the smpp component throws some sort of exception? If so you
can have the JMS rollback the transaction and retry a bit later.
For that you need to use transaction on the JMS broker. And you can
configure redelivery policies to say how many times and how often to
retry etc.

http://camel.apache.org/transactional-client.html
http://activemq.apache.org/redelivery-policy.html

Camel in Action book, chapter 9 covers all about using transactions
with JMS. In case you fell the current wiki documentations isn't
explaining it well enough.


> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/SMPP-messages-persistent-delivering-tp2262980p2262980.html
> Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Reply via email to