HermesJMS和TIBCO [英] HermesJMS and TIBCO

查看:165
本文介绍了HermesJMS和TIBCO的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用hermes JMS v1.4与TIBCO 8.0 EMS连接并查看队列详细信息.

是否可以这样做?

请告知我所需的TIBCO EMS 8.0 JMS罐子及其顺序.

我添加了8个TIBCO EMS JMS jar文件,并在首选项"选项卡的插件中选择了TIBCO EMS.

我无法找到插件错误. 请让我知道解决方法.

解决方案

这就是我所做的.

  1. 使用root用户安装新的Hermes(在我的Linux上)

  2. 创建一个/home/USER/.hermes或/home/USER/hermes目录,然后从/usr/local/HermesJMS/SOMETHING/cfg目录复制文件(同样,仅在Linux上重要)

    然后,我能够使用/usr/local/HermesJMS/bin/hermes.sh启动Hermes

  3. 在Hermes中,第一步是进入配置"页面. -> 提供商"部分

  4. 然后,您可以右键单击以创建一个新的提供程序.我将其命名为"EMS8.1",但该值可以是任何值.

  5. 再次使用鼠标右键选择添加罐子"并在EMS_HOME/lib目录中选择每个JARS".应用并关闭配置窗口.

  6. 最后一步是创建一个新的Tibco EMS会话(通过右键单击主屏幕中的会话或使用菜单栏).通常看起来像这样:

在这里我创建了一个TibjmsConnectionFactory,因此可以进行Queues和Topics连接.

我所知道的唯一参数是用户名和密码. "serverURL"如果您要连接到除localhost:7222以外的其他服务器,则必须使用(在我的情况下,该属性仅用于显示).

您现在可以右键单击会话并尝试发现目的地(主题和队列).如果连接成功,将自动添加它们.

注意:也许可以使用JNDI来完成其中的一些操作,但是我还没有玩过.

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.

解决方案

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.

这篇关于HermesJMS和TIBCO的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆