🎄 Happy Holidays! 🥳
Most of Solace is closed December 24–January 1 so our employees can spend time with their families. We will re-open Thursday, January 2, 2024. Please expect slower response times during this period and open a support ticket for anything needing immediate assistance.
Happy Holidays!
Please note: most of Solace is closed December 25–January 2, and will re-open Tuesday, January 3, 2023.
Has anyone implemented wildcards with topic to queue mapping feature
I have one publisher and multiple consumers and using topic to queu mapping feature
my topic name is JNDI/solacemule/countrycode (using jindi for mule-solace connection)
I have created 2 queue(Q1 and Q2) which has topic subscription for /solacemule/countrycode and /solacemule/UK respectively.
As I need filtering on base of country code. please guide me correct way of implementation.
Answers
-
Hi Krinjal,
You can very well implement Wildcards in Topic to Queue mapping. So for your example, if you need filtering based country, you can add the following subscription to your Queue:
Q1 (Gets all messages irrespective of the country code): JNDI/solacemule/>
Q2 (Get all messages for UK): JNDI/solacemule/UKBoth topic Wildcards (> and *) can be used on Topic to Queue Mapping.
You can also use topic exclusion ("!") to exclude a particular topic from the list. (https://docs.solace.com/Configuring-and-Managing/Configuring-Queues.htm#Adding)I hope this clarifies your query.
2