简体   繁体   English

如何连接到远程 weblogic JMS 服务器?

[英]How to connect to remote weblogic JMS server?

I have a jms server running on weblogic and I need another application running on another server (weblogic as well) to listen to JMS topics sent by the JMS server mentioned before.我有一个在 weblogic 上运行的 jms 服务器,我需要另一个在另一台服务器(以及 weblogic)上运行的应用程序来侦听前面提到的 JMS 服务器发送的 JMS 主题。 The fact is that I don't know how to do that.事实是我不知道该怎么做。 I mean, what do I need on the consumer application side?我的意思是,我在消费者应用程序方面需要什么? Thansk in advance.提前致谢。

I know it´sa little old, but could help other people trying to achieve the same.我知道它有点旧,但可以帮助其他人尝试实现相同的目标。 First you need to enable Cross-Domain Security on both domains envolved on your JMS communication.首先,您需要在 JMS 通信涉及的两个域上启用跨域安全性。 Please see specific documentation here: https://docs.oracle.com/middleware/1221/wls/SECMG/domain.htm#SECMG402请在此处查看特定文档: https : //docs.oracle.com/middleware/1221/wls/SECMG/domain.htm#SECMG402

For reading a message from a JMS resource, there are a ton of examples you can search online, but basically you should rely on Weblogic´s t3 protocol.为了从 JMS 资源读取消息,您可以在线搜索大量示例,但基本上您应该依赖 Weblogic 的 t3 协议。 Here is a relativelly recent example using Spring Boot: Connect to remote jms queue with Spring Boot这是一个使用 Spring Boot 的相对较新的示例: Connect to remote jms queue with Spring Boot

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

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