There are a few options here.
- As @jeremy mentioned, from one session you can create multiple MessageConsumers that each consume from their own endpoint.
- You can use wildcards to subscribe to multiple topics, e.g: foo/*/bar or foo/>
- Last, and maybe your best option if wildcarding can’t give you what you want is to leverage Solace’s topic to queue mapping capability. Essentially you would create a queue that attracts messages from a bunch of different topics and then in your code you can just listen to that single queue. See more on that here: Topic to Queue Mapping