English 中文(简体)
我能否利用多家出版商和单一接收器保存公开问答表?
原标题:Can I preserve the message order on OpenMQ using multiple publishers and a single receiver?

I want to log using the OpenMQ from GlassFish. I m thinking my components can put messages on this queue and if only a single mdb consumes from it, I should be able to receive all messages in the order that they were enqueued. Will this work and how can the message order be kept?

Just for reference there was a slide in a presentation that originally led me to believe JMS provided an order, apparently it is misleading.

幻灯8:

What Is JMS ? • A Java-based api for Message Oriented Middleware. • It use the following concepts (among others) > Message Order is guaranteed > Level of reliability is determined when the message is sent > Transactions (grouping of messages to be sent or produced together) are supported > Format of the message is defined by the producer > Provides two styles of message delivery (point-to-point and publish-subscribe) Copyright Sun Microsystems Inc. All Rights Reserved. [8]

http://www.slideshare.net/alexismp/openmq-aquarium-paris-presentation

下面的这些答复表明,初专干事结构不能保证命令。 但是,如果我只有一个多边开发银行,即使用集装箱一致的单一吨,那么我至少可以享有一个顺序。

见:

最佳回答

我对确保盖伊人本身的命令感到担忧。 在你电文的有效载荷中,仅包括一个时间范围,然后是时间范围。 只有当额外数据在极高的运输条件下是不可接受的时,才成为一个问题,但在那些情况下,暂时恢复当地伐木可能是合理的。

有了额外的领域,还确保如果某一部分失去与奎埃的联系,那么,预定在某一小时之前发送的信息,如果确实给消费的多边开发银行带来时间,就会有正确的时间和“顺序”。

问题回答

暂无回答




相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签