activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oseymen <ozan.sey...@tdpg.com>
Subject Possibility of message loss in composite queues
Date Mon, 13 Jun 2011 12:30:40 GMT
Hi,

Can you please let me know whether there is a possibility of message loss in
composite queue configured as:

<destinationInterceptors>
  <virtualDestinationInterceptor>
	<virtualDestinations>
	  <compositeQueue name="Q.IN">
		<forwardTo>
			<queue physicalName="Q1" />
			<queue physicalName="Q2" />
		</forwardTo>
	  </compositeQueue>
	</virtualDestinations>
  </virtualDestinationInterceptor>
</destinationInterceptors>

As far as I understand this from the documentation, all messages arriving in
Q.IN will be *forwarded* to Q1 and Q2. 

It is possible to have less messages in one or all of child queues if broker
dies during this forwarding operation? 

If I have a producer that is pushing messages to a broker in transaction,
would it be notified in commit() if some messages can't be forwarded from
Q.IN to Q1 or Q2? How does message forwarding from Q.IN to other queues
relate to producer transaction, i.e. does it happen in the same transaction?

Thanks,
Ozan

--
View this message in context: http://activemq.2283324.n4.nabble.com/Possibility-of-message-loss-in-composite-queues-tp3593736p3593736.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message