Question

I want to connect all topics that follow some string pattern like : testTopics*.raw

I tried doing the following:

<networkConnectors>
      <networkConnector uri="static:(tcp://localhost:62616)"
         name="bridge"
         conduitSubscriptions="true"
         decreaseNetworkConsumerPriority="false"
         destinationFilter="NO_DESTINATION">
        <staticallyIncludedDestinations>
            <topic physicalName="testTopics*.raw"/>
        </staticallyIncludedDestinations>
      </networkConnector>
</networkConnectors>

But this didnt work. I tried looking online but havent been able to find a way to do this.

Was it helpful?

Solution

Wildcards in destination names can only be used between seperators (the . character). So while you can't do testTopics*.raw you can do testTopics.*.raw, which will match topics with names like testTopics.foo.raw.`

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top