AFAIK, by default the network connector uses a demand forwarding bridge,
and will forward messages only when there is an interested consumer on
the remote broker only.
I know there is a standard forwarding bridge, but I'm not sure how to
configure it in xbean. Sorry. :(
David Borja wrote:
Hi ...
This is my scenario :
I hava a broker called "dllo-aborja" and other one called "localhost2".
I need that all messages that i put on some queue in dllo-aborja broker,
forward to localhost2 broker, including the queues ...
This is my config ..
<networkConnectors>
<networkConnector
uri="static://(tcp://localhost:61616,tcp://192.168.147.145:61616)"
failover="true" name="bridge" dynamicOnly="false"
conduitSubscriptions="true"
decreaseNetworkConsumerPriority="false"
networkTTL="99">
<excludedDestinations>
<queue physicalName="exclude.test.foo" />
<topic physicalName="exclude.test.bar" />
</excludedDestinations>
<dynamicallyIncludedDestinations>
<queue physicalName="" />
</dynamicallyIncludedDestinations>
</networkConnector>
</networkConnectors>
What i am missing in the configuration above ??
Thanx!!!