camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "christian.ohr" <>
Subject Re: ActiveMQ redelivery
Date Fri, 24 Aug 2012 13:07:56 GMT
Hi Shally,

you should make your JMS Configuration transactional, also see 

JmsConfiguration should get transacted=true and a reference to a transaction
manager, e.g. 

	<bean id="jmsTransactionManager"
		<property name="connectionFactory" ref="pooledConnectionFactory" />

If you get an exception from sending away your message (and you don't
explicitly handle it in an exception handler), the message will be rolled
back into the queue.

When you send to multiple endpoints, consider using a separate queue for
each of them - otherwise, if only one endpoint is down, the message may get
redelivered to the others as well, even though they might have already
received it before.


View this message in context:
Sent from the Camel Development mailing list archive at

View raw message