本文介绍了openwire vs amqp,效果会更好的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们目前将JMS API与ActiveMQ代理一起使用,希望移至RabbitMQ.与openWire和amqp相比,使用java client-producer可以提供最佳性能.我找不到关于amqp(RabbitMQ)与openwire(activeMQ)本机协议的比较研究.我正在寻找原始性能和易于扩展性.

We currently use JMS API with ActiveMQ broker, looking over to move to RabbitMQ.Compared to openWire vs amqp which one would give best performance with java client-producer. I Couldn't find a comparison study on amqp(RabbitMQ) vs openwire (activeMQ) native protocol. I'm looking in terms of raw performance and ease of scalability.

我们目前将Spring Integration用于ActiveMQ,我想知道即使使用Spring Integration迁移到RabbitMQ(AMQP)也是一次巨大的改变.是否有与ActiveMQ用于执行JMS AMQP转发的桥梁相似的桥梁?

We currently use Spring Integration for ActiveMQ, I would like to know if its a drastic change to move to RabbitMQ(AMQP) even with Spring Integration. Is there any bridge similar to what ActiveMQ uses to do JMS<->AMQP forwarding ?

推荐答案

ActiveMQ还支持AMQP: http://activemq.apache.org/amqp.html

ActiveMQ also supports AMQP: http://activemq.apache.org/amqp.html

两者都是二进制协议.使用ActiveMQ时,Openwire的功能将更加完善.

Both are binary protocols. Openwire is going to be more full-featured when using ActiveMQ.

对于原始性能",您必须首先确定用例.从性能"的角度来看,您选择的协议(ampq与openwire)可能不会有任何不同.

For "raw performance" you'll have to nail down your use cases first. Chances are the protocol you choose (ampq vs openwire) is not going to make any difference from a "perfomance" standpoint.

这篇关于openwire vs amqp,效果会更好的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-29 13:34