Heim  >  Fragen und Antworten  >  Hauptteil

java - 关于ActiveMQ工厂类创建JMS,Queue和Topic

小白初学ActiveMQ,通过maven在Spring中配置了ActiveMQ的支持。
现在已经获取到了ActiveMQ提供的工厂类,但是看网上教程有三种模式:
JMS的ConnectionFactory
队列的QueueConnectionFactory
以及主题的TopicConnectionFactory
想问一下个三种模式分别是什么意思,他们之间有什么区别,通过这个连接类能不能实现在线通讯?
先谢过各位大神。

迷茫迷茫2715 Tage vor643

Antworte allen(0)Ich werde antworten

Keine Antwort
  • StornierenAntwort