|
Home > Archive > BizTalk Server > July 2004 > MSMQ (not MSMQT) and sequence of messages
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
MSMQ (not MSMQT) and sequence of messages
|
|
|
| We wiill receive messages from an AS/400 into a MQ Series queue. These messages will be taken out of the queue in sequence. However, because the BizTalk MQ Serires 2.0 adapter's connectivity into Biztalk is mult-threaded, is there a way to ensure seque
nce when processing the messages once they are in Biztalk's components? For example, if one message is an order and another a change order, we would want to ensure that the order is processed and then the change order.
Hope that makes sense.
Thanks!
Jeannette
| |
| Eldar Musayev 2004-07-12, 5:51 pm |
|
IMHO not directly. We only have EOEI (Exactly once in order) delivery for
MSMQ.
(1) You can try to set up an MQ Series-MSMQ bridge, and get the messages
via MSMQ (MSMQT adapter).
(2) Or you can have a "guardian orchestration", that gets the messages
ordered and then feeds then into the actual processing, although this is
already non-trivial. E.g. what dod you do if you have messagesnumber 3, 4,
6, and 7? Do you hold on 6 until you get 5? How long? What if your timeout
passed, you send message #6 into processing, and message nuimber 5 pops up?
What if you wait and wait and wait, and 5 does not pop up? Although, this
may give you a lot of freedom to resolve the probllem that would be a pain
in a pure MQ Series solution, e.g. you'll be able to see the situations
like 3,4,6,7 in HAT and you may allow human resolution for it, when needed.
All other ways, that I can think of, are even more complicated and include
non-trivial custom code.
Hope this helps,
Eldar
This posting is provided "AS IS" with no warranties, and confers no rights.
EBusiness Server Team
--------------------[vbcol=seagreen]
messages will be taken out of the queue in sequence. However, because the
BizTalk MQ Serires 2.0 adapter's connectivity into Biztalk is
mult-threaded, is there a way to ensure sequence when processing the
messages once they are in Biztalk's components? For example, if one
message is an order and another a change order, we would want to ensure
that the order is processed and then the change order.[vbcol=seagreen]
|
|
|
|
|