javajmstibco-topic

Which JMS client library to use?


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?


Solution

  • 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.