Are multiple client consumers possible in hornetq?

后端 未结 2 759
你的背包
你的背包 2021-01-06 23:00

In my client application, I create several consumers, but they can\'t concurrently process the queue. Always, only a single consumer processes the queue messages. I don\'t k

2条回答
  •  我在风中等你
    2021-01-06 23:23

    Think of it as 1 to 1 between threads and sessions. (Connections are thread safe, everything "below" is not). So in short, create multiple threads, have each thread create a session etc. And each thread will consume.

提交回复
热议问题