You shouldn’t try that, it’s not how PubSub+ is meant to be used.
In this case, you want to have multiple queues.
- One queue for the particular topic
- One queue for the other topics (unless you need the event to be process twice for two different purpose)
General rule : it’s one queue per client application, where each queue is configured as per the need of the related application.
If you have two applications that requires the same events (same topic subscriptions), you create two queues, with the same subscriptions. Messages are stored only once.
For each application (queue), you can decide if you want delayed delivery, partitioned queue, Message priority, Max Redelivery, dead message queue, Time to live, custom alert thresold etc… replay message for one application, not the other ….