JMS Topic vs Queues

前端 未结 9 2097
广开言路
广开言路 2020-12-04 04:48

I was wondering what is the difference between a JMS Queue and JMS Topic.

ActiveMQ page says

Topics

In JMS a Topic implements <

9条回答
  •  伪装坚强ぢ
    2020-12-04 05:20

    It is simple as that:

    Queues = Insert > Withdraw (send to single subscriber) 1:1

    Topics = Insert > Broadcast (send to all subscribers) 1:n

提交回复
热议问题