Hi all,

Have anyone tried a simple message forward between brokers.
I have a simple scenario with localBroker and remoteBroker. I want to
forward messages arriving on certain topics (i.e. include.test.bar.topic1and
include.test.bar.topic2) from localBroker to remoteBroker. When I try ythe
following conf with explicit topics name, forward is ok. But with wildcards
topics, the functionnality seems to be broken for me.
If you know other means to handle that kind of need, please let me know.
TIA for help.
Harry,

localBroker

<beans xmlns="http://activemq.org/config/1.0";>

 <bean class="
org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>



<broker brokerName="localBroker" persistent="true" useShutdownHook="false"
xmlns="http://activemq.org/config/1.0"; >

   <transportConnectors>

     <transportConnector uri="tcp://localhost:61616"/>

   </transportConnectors>



   <networkConnectors>

     <networkConnector uri="static:(tcp://localhost:61617)"

        dynamicOnly = "true"

        conduitSubscriptions = "true"

        decreaseNetworkConsumerPriority = "false">

           <dynamicallyIncludedDestinations>

                       <topic physicalName="include.test.bar.>"/>

           </dynamicallyIncludedDestinations>

     </networkConnector>



   </networkConnectors>

 </broker>

</beans>

remoteBroker

<beans>

 <bean class="
org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>



 <broker brokerName="remoteBroker" persistent="true"
useShutdownHook="false" xmlns="http://activemq.org/config/1.0";>

   <transportConnectors>

     <transportConnector uri="tcp://localhost:61617"/>

   </transportConnectors>



 </broker>



</beans>

Reply via email to