HermesJMS and TIBCO

2019-05-30 10:52发布

问题:

I am trying to Connect with TIBCO 8.0 EMS using hermes JMS v1.4 and view the queue details.

Is it possible to do the same?

Please let me know the TIBCO EMS 8.0 JMS jars required and the order of the same.

I have added 8 TIBCO EMS JMS jars file and selecting the TIBCO EMS in plug in Preferences tab.

I am getting unable to locate plugin error. Kindly let me know the solution.

回答1:

Here is what I did.

  1. Install a fresh Hermes with root (on Linux in my case)
  2. Create a /home/USER/.hermes or /home/USER/hermes directory and copy the files from the /usr/local/HermesJMS/SOMETHING/cfg directory (again, only important on Linux)

    Then I was able to start Hermes with /usr/local/HermesJMS/bin/hermes.sh

  3. In Hermes, the first step is to get into the "configuration" -> "Providers" section

  4. Then, you can right-click to create a new provider. I named mine "EMS8.1", but the value can be anything.
  5. Again, use the right-click to select "add jars" and select EVERY JARS in the EMS_HOME/lib directory. Apply and close the configuration window.

  6. The last step is to create a new Tibco EMS session (by right clicking on sessions in the main screen or using the menu bar). This usually looks a lot like this:

Here I created a TibjmsConnectionFactory, so Queues and Topics connections are possible.

The only parameters required to my knowlegde are the username and passwords. "serverURL" has to be used if your are connecting to another server than localhost:7222 (in my case, the property is just for show).

You can now right click on the session and try to discover the destinations (Topics & Queues). They will be added automagically if the connection is successful.

Note: There may be a way to do some of this with JNDI, but I have not played with than yet.



标签: tibco-ems