concept wildcard in category activemq

appears as: wildcards, wildcard
ActiveMQ in Action

This is an excerpt from Manning's book ActiveMQ in Action.

Table 5.4. The columns of the ACTIVEMQ_ACKS SQL table

Column name

Default type

Description

CONTAINER VARCHAR(250) The destination of the message
SUB_DEST VARCHAR(250) The destination of the durable subscriber (can be different from the container if using wildcards)
CLIENT_ID VARCHAR(250) The client ID of the durable subscriber
SUB_NAME VARCHAR(250) The subscriber name of the durable subscriber
SELECTOR VARCHAR(250) The selector of the durable subscriber
LAST_ACKED_ID Integer The sequence ID of last message received by this subscriber

For example, to subscribe to the latest result for a team called Leeds in an English football game, you’d subscribe to the topic: football.division1.leeds. Now Leeds plays both football and rugby, and for convenience, you’d want to see all results for Leeds for both football and rugby for the same MessageConsumer. This is where wildcards are useful.