Which JMS client library to use?

N.. :

We want to subscribe to a JMS topic from our java implementation. JMS topic team suggests to use tibco library. I just want to ask if it is mandatory to use the same libraries which server/topic is using to send the messages or can I use any library irrespective of JMS server implemetation?

Justin Bertram :

JMS is an API specification. It doesn't include a wire format so JMS providers are free to implement it however they wish. Therefore, the kind of JMS client you use is dictated by which provider you use (e.g. if you use a Tibco broker then you would use a Tibco client). However, there are also brokers like Apache ActiveMQ Artemis which support multiple JMS implementations (i.e. OpenWire & core). There's also the Qpid JMS client which should work on any broker supporting AMQP.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=91959&siteId=1