Announcement Announcement Module
Collapse
No announcement yet.
What approach when order of processing matters? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • What approach when order of processing matters?

    So, when order of processing is important how can DMLC be used? Are you required to implement the aggregator pattern yourself?

  • #2
    The simplest way is just to use a single consumer. Jms guarantees delivery order. If you need more concurrency, you'll have to implement the equivalent of an aggregator..which can be difficult if the messages are received asynchronously. You can use something like an index so that messages contain ordering information and you just cache (in the database or wherever) messages that are received out of sequence. This is similar to how tcp orders packets.

    Comment

    Working...
    X