简体   繁体   English

如何使用 Spring JMS 使用来自 websphere 应用程序服务器的 JMS 消息

[英]How to consume JMS messages from the websphere application server using Spring JMS

I am trying to consume JMS messages from a queue which is defined as JNDI in the WebSphere application server.我试图从在 WebSphere 应用程序服务器中定义为 JNDI 的队列中使用 JMS 消息。

Is it possible to connect websphere JMS JNDI using Spring JMS without using the websphere related JARs in the spring MVC application是否可以使用 Spring JMS 连接 websphere JMS JNDI,而无需在 spring MVC 应用程序中使用 websphere 相关的 JAR

No;不; the JNDI support classes (initial context etc) are provided by the JMS provider (in this case IBM); JNDI 支持类(初始上下文等)由 JMS 提供者(在本例中为 IBM)提供; they use proprietary protocols to talk to the server.他们使用专有协议与服务器通信。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM