Thanks Dejan for the reply. I am not sure on camel route and need to check
that. For now I have used configuration as below. What I am doing is - I am
taking data from remote queue and pushing to a Topic and all my consumers
are subscribed to this topic. Now the problem is - I am having duplicate
messages for a customer and I am not sure how to handle this . Any idea ?
<bean id="remoteFactory"
class="org.apache.activemq.ActiveMQConnectionFactory">
<property name="brokerURL"
value="<remote-jms-url" />
</bean>
<bean id="localFactory"
class="org.apache.activemq.ActiveMQConnectionFactory">
<property name="brokerURL"
value="<local-broker-jms-url>" />
</bean>
<broker xmlns="http://activemq.apache.org/schema/core" id="localbroker"
brokerName="localBroker" persistent="false">
<jmsBridgeConnectors>
<jmsQueueConnector outboundQueueConnectionFactory="#remoteFactory">
<inboundQueueBridges>
<inboundQueueBridge inboundQueueName="<remote-Q-name>"
localQueueName="<local-virtual-Q-name>" />
</inboundQueueBridges>
</jmsQueueConnector>
</jmsBridgeConnectors>
<transportConnectors>
<transportConnector uri="<local-broker-jms-url>" />
</transportConnectors>
<destinationInterceptors>
<virtualDestinationInterceptor>
<virtualDestinations>
<compositeQueue name="<local-virtual-Q-name>">
<forwardTo>
<topic physicalName="<Local-topic-name>" />
</forwardTo>
</compositeQueue>
</virtualDestinations>
</virtualDestinationInterceptor>
</destinationInterceptors>
</broker>
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Remote-Queue-to-Local-Many-quques-or-Local-Topic-tp4653598p4653645.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.