activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harry Co" <harryco.ma...@gmail.com>
Subject Re: Network of brokers with wildcards on ActiveMQ 4.0.2
Date Sat, 05 May 2007 16:18:45 GMT
Does anyone have idea about that.
Is the functionnality simply broken or am I using it the wrongway?
TIA

Harry


2007/5/4, Harry Co <harryco.magic@gmail.com>:
>
> 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>
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message