activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arjun <arjun....@gmail.com>
Subject Re: AMQ 5.5.0 - queues having persistent messages dropped on restart
Date Wed, 03 Apr 2013 22:28:20 GMT
No, deletion of inactive destinations is not enabled. The only option I can
think of is creation of the DLQ's on restart by adding an entry for each dlq
in <amq:destinations>. Is that fine? or do you see any better options?

	<amq:destinationPolicy>
		<amq:policyMap>
			<amq:policyEntries>
				<amq:policyEntry queue=">" timeBeforeDispatchStarts="200">
					<amq:deadLetterStrategy>
						<amq:individualDeadLetterStrategy processExpired="true"
queuePrefix="DLQ." useQueueForQueueMessages="true"  />
					</amq:deadLetterStrategy>				
					<amq:dispatchPolicy>
						<amq:roundRobinDispatchPolicy />
					</amq:dispatchPolicy>
				</amq:policyEntry>
			</amq:policyEntries>
		</amq:policyMap>
	</amq:destinationPolicy>



--
View this message in context: http://activemq.2283324.n4.nabble.com/AMQ-5-5-0-queues-having-persistent-messages-dropped-on-restart-tp4665430p4665468.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message