Java JMS混合消息传递实现 [英] Java JMS mix messaging implementations

查看:127
本文介绍了Java JMS混合消息传递实现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在混合实现中使用Java消息传递.

Is it possible to use java messaging with mixed implementations.

例如:是否可以将ActiveMQ客户端直接连接到MQSeries(IBM)服务器以从消息队列中读取消息或将消息写入消息队列中?

E.g.: Is it possible to connect an ActiveMQ client directly to an MQSeries(IBM) server to read/write messages from/to the message queue?

推荐答案

JMS是API规范,而不是有线格式规范. JMS描述了API的签名.它没有说内部应该如何实现.因此,JMS客户端库实现是特定于消息传递提供程序的.

JMS is an API specification, not a wire format specification. JMS describes the signature of APIs. It does not say how the internals should be implemented. Hence JMS client library implementations are Messaging Provider specific.

IBM MQ JMS客户端知道如何(即有线格式)与IBM MQ通信.同样,Active MQ JMS客户端知道如何与Active MQ JMS提供程序对话.由于实现不同,因此Active MQ JMS客户端将不会与IBM MQ通信.

A IBM MQ JMS Client knows how (i.e wire format) to communicate with IBM MQ. Similarly Active MQ JMS client knows how to speak to Active MQ JMS provider. Since the implementations are different, Active MQ JMS Client will not be communicate with IBM MQ.

这篇关于Java JMS混合消息传递实现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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