| Alistair Lacy 2005-10-24, 10:32 am |
| Hi
I've been reading the article on Writing effective adapters on MSDN. One
thing that I'm not clear about is what happens to messages in batches.
What isn't really clear is what happens when a one or more messages in the
batch fails to be processed correctly. Tracing through the code tells you
that this message witl either be suspended or resubmitted (via methods
calls). Naturally those messages that are successful, are deleted (or at
least a delete method is called).
The confusion occurs when the article mentions that should a single message
have to be resubmitted, then the entire batch will be resubmitted. This leads
me to believe that the messages which have been successfully processed (hence
deleted)will in fact be received again, a point backed up when they mention
that the SQL adapter has a hard coded batch size of 1.
Can anyone clarify my understanding of this mechanism..
Thanks in advance...
Al
|