0

有人能告诉我 Active MQ 和默认 ESB 消息存储之间的本质区别吗?

每个简单的示例案例的最佳用途是什么?

谢谢布拉诺

4

2 回答 2

0

There are two type of message stores that WSO2 ESB supports the In memory message store and JMS message store

Here are the main differences between those two

In memory message store

  • Stores messages in an in-memory queue.
  • Not persistent
  • Supports random access
  • Retains message order

JMS message store

  • Stores message in a JMS queue (works with any JMS/JNDI compliant broker)
  • Persistent
  • Does not support random access
  • Retains message order

So as a JMS message store you can use any JMS Broker you desire (after some configuration though). It can be Apache Active MQ , some JBOSS destribution or WSO2 message broker (another WSO2 product)

For the simple use case you asked, Please refer this blog post by hiranya jayathilake It clearly define the usage of each message stores

If you are looking for some implementation refer the following posts in WSO2 Oxygen tank

  1. Implementing Store and Forward Messaging Patterns With WSO2ESB Part 1
  2. Implementing Store and Forward Messaging Patterns with WSO2 ESB Part 2

Thank you

于 2013-03-07T10:02:31.277 回答
0

有关 ESB In Memory Message Store [1] 和 JMS Message Store [2] 的详细说明,请参阅以下文章。JMS 消息存储可以配置为在 ActiveMQ 中存储消息,如 [3]

[1] http://docs.wso2.org/wiki/display/ESB460/In+Memory+Message+Store

[2] http://docs.wso2.org/wiki/display/ESB460/JMS+Message+Store

[3] http://docs.wso2.org/wiki/display/ESB460/Store+and+Forward+Using+JMS+Message+Stores

于 2013-03-06T11:59:57.197 回答