We have the following setup for networkConnector: [1] the wildcard thing works (I've verified) when the queue is for other queues, but when it comes to virtualTopics messages are not forwarded (also been verified).
The work around is to list all the consumer instead of wildcard *
<queue physicalName="Consumer.A.VirtualTopic.T" /> <queue physicalName="Consumer.B.VirtualTopic.T" />
We would like
<staticallyIncludedDestinations> <queue physicalName="Consumer.*.T" /> </staticallyIncludedDestinations>
to work
[1]
<networkConnector uri="static${activemq.event.uri})?initialReconnectDelay=${node.id}500&useExponentialBackOff=false&maxReconnectDelay=5000" name="${activemq.broker.name}-node${node.id}-event-network-connection" staticBridge="true" userName="${activemq.event.jmx.user}" password="${activemq.event.jmx.password}" useCompression="true" advisoryForFailedForward="true" conduitSubscriptions="true" prefetchSize="1000" messageTTL="-1" consumerTTL="1"> <staticallyIncludedDestinations> <queue physicalName="Consumer.*.T" /> </staticallyIncludedDestinations> </networkConnector>