activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manu86 <msan...@anyware-tech.com>
Subject Re: IndividualDeadLetterStrategy in AMQ 5.1.0
Date Wed, 07 May 2008 15:14:52 GMT

Hello, 

I have the same problem...
Did you manage to solve it ?

Or is there another way to set the dead letter queue for each queue ?




RavshanKos wrote:
> 
> Hello, all!
> 
> I have trouble with IndividualDeadLetterStrategy usage.
> We need to move expired messages into some queue.
> ActiveMQ broker version 5.1.0.
> 
> Here activemq.xml:
> <beans>
> 	<broker xmlns="http://activemq.org/config/1.0" useJmx="true">
> 		<managementContext>
> 			<managementContext useMBeanServer="true"
> 				createMBeanServer="false" createConnector="false" />
> 		</managementContext>
> 
> 		<destinationPolicy>
> 			<policyMap>
> 				<policyEntries>
> 					<policyEntry queue="jms/central/>">
> 						<deadLetterStrategy>
> 							<individualDeadLetterStrategy queuePrefix="DLQ."
> useQueueForQueueMessages="true" />
> 						</deadLetterStrategy>
> 					</policyEntry>
> 				</policyEntries>
> 			</policyMap>
> 		</destinationPolicy>
> 
> 		<transportConnectors>
> 			<transportConnector uri="tcp://localhost:61616" />
> 			<transportConnector uri="vm://localhost" />
> 			<transportConnector uri="stomp://localhost:61626" />
> 		</transportConnectors>
> 	</broker>
> </beans>
> 
> I've sent message to "jms/central/Incoming" queue, after expiration of
> message it moved into "ActiveMQ.DLQ" queue instead of
> "DLQ.jms/central/Incoming".
> Why this occuured?
> 
> I've tried to change policyEntry element's queue attribute to
> "jms/central/Incoming" - nothing changed... :(
> 

-- 
View this message in context: http://www.nabble.com/IndividualDeadLetterStrategy-in-AMQ-5.1.0-tp16833143s2354p17106260.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message