HermesJMS and TIBCO

两盒软妹~` 提交于 2019-12-08 04:54:55

问题


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.



来源:https://stackoverflow.com/questions/24259762/hermesjms-and-tibco

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!