将TomEE与Azure Service Bus for JMS集成 [英] Integrate TomEE with Azure Service Bus for JMS

查看:87
本文介绍了将TomEE与Azure Service Bus for JMS集成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我想将JMS实现从ActiveMQ切换到Azure的Service Bus。目前,我们正在使用ActiveMQ,但希望探索将
切换到Azure Service Bus的选项。但是,我在部署简单的JMS应用程序时遇到异常。

推荐答案

我对TomEE并不熟悉,所以这是更多的猜测,但我相信资源的
id 应该与您根据

Apache TomEE配置
doc。

I'm not really familiar with TomEE, so this is more of a guess but I believe the id of the Resource should be the same as the variable name where you inject it according to the Apache TomEE Configuration doc.

我想基于错误消息,ConnectionFactory的变量是
connectionFactory

I guess based on the error message, your variable for ConnectionFactory is connectionFactory.

你能不能尝试同时使用资源ID和变量名相同?

Could you try making both the Resource id and variable name the same?


这篇关于将TomEE与Azure Service Bus for JMS集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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