activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From manohar7033 <sailwith.mano...@gmail.com>
Subject Re: ActiveMQ network of brokers not working properly
Date Thu, 08 May 2014 07:26:11 GMT
Please find the below from broker config xml.

<destinations>
	<queue physicalName="prodEventQueue2.PLAY" />
	<queue physicalName="prodEventQueue1.PLAY" />
</destinations>

<destinationInterceptors>
	<virtualDestinationInterceptor>
		<virtualDestinations>
			<compositeQueue name="prodEventQueue2">
				<forwardTo>
					<queue physicalName="prodEventQueue2.PLAY" />
				</forwardTo>
			</compositeQueue>

			<compositeQueue name="prodEventQueue1">
				<forwardTo>
					<queue physicalName="prodEventQueue1.PLAY" />
				</forwardTo>
			</compositeQueue>
		</virtualDestinations>
	</virtualDestinationInterceptor>
</destinationInterceptors>

<networkConnectors>
	<networkConnector name="PlayToRealBridge"
uri="static:(failover:(nio://xx.xx.xx.xx:61616,nio://xx.xx.xx.xx:61616)?randomize=false&amp;timeout=120000)">
		<staticallyIncludedDestinations>
			<queue physicalName="prodSocialQueue.PLAY" />
		</staticallyIncludedDestinations>
	</networkConnector>

	<networkConnector name="Network_for_MediumPrioNsQueue"
uri="static:(failover:(nio://xx.xx.xx.xx:61616,nio://xx.xx.xx.xx:61616)?randomize=false&amp;timeout=120000)">
		<staticallyIncludedDestinations>
			<queue physicalName="mediumPrioNsQueue" />
		</staticallyIncludedDestinations>
	</networkConnector>

	<networkConnector name="Network_for_Prod2"
uri="static:(failover:(nio://xx.xx.xx.xx:61616,nio://xx.xx.xx.xx:61616)?randomize=false&amp;timeout=120000)">
		<staticallyIncludedDestinations>
			<queue physicalName="prodEventQueue2.PLAY" />
		</staticallyIncludedDestinations>
	</networkConnector>
	
	<networkConnector name="Network_for_Prod1"
uri="static:(failover:(nio://xx.xx.xx.xx:61616,nio://xx.xx.xx.xx:61616)?randomize=false&amp;timeout=120000)">
		<staticallyIncludedDestinations>
			<queue physicalName="prodEventQueue1.PLAY" />
		</staticallyIncludedDestinations>
	</networkConnector>
</networkConnectors>



--
View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-network-of-brokers-not-working-properly-tp4680990p4680993.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.

Mime
View raw message