Wildcard schemes
There are two wildcard schemes used to subscribe to multiple topics. The choice of scheme is a subscription option.
- MQSO_WILDCARD_TOPIC
- Select topics to subscribe to using the topic-based wildcard scheme.
- MQSO_WILDCARD_CHAR
- Select topics to subscribe to using the character-based wildcard scheme.
Set either scheme by specifying the wschema parameter on the DEFINE SUB command. For more information, see DEFINE SUB.
Note: Subscriptions that were created before IBM WebSphere MQ Version 7.0 always use the character-based wildcard scheme.Examples
IBM/+/Results #/Results IBM/Software/Results IBM/*ware/Results
- Topic-based wildcard scheme
Topic-based wildcards allow subscribers to subscribe to more than one topic at a time. - Character-based wildcard scheme
The character-based wildcard scheme allows you to select topics based on traditional character matching.
Parent topic: Topic strings