BizTalk Server Orchestration - Batching/Convoy without Correlation?

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > March 2005 > Batching/Convoy without Correlation?





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 Batching/Convoy without Correlation?
Michael

2005-03-11, 2:47 am

Hi,

I want to implement a convoy pattern for the purpose of
batching up a bunch of messages and then sending the
batched message to an external vendor. The problem is
that I don't have anything good to correlate on.
Meaning, when the receive location receives the files to
batch, they are unique. Every file that comes into that
receive location needs to be put in a batch. They
represent a common theme, like ordering an item, but I
don't want to batch based on id's, etc... The examples I
keep finding have things like SupplierId, Stock Ticker,
etc... So, for example, I would want to batch a BUNCH of
messages together for a BUNCH of stock tickers, not just
one stock ticker.

Once a certain amount of time has elapsed or a certain
number of items have been batched then I want to post the
batch to the vendor. This part I have figured out. But
how can I get my orchestration configured to do what I
want it to do? One thought I had was to force a value
into the schema that is generic (like "UPDATE") and
promote it and use that in the correlation set but I
don't want to mess with the schema if I don't have to.

Any suggestions are appreciated in advance!

Thanks,

Michael

Matt Milner

2005-03-11, 2:47 am

You could correlate on receive port name if that works for you.

matt


"Michael" <codeslush@yahoo.com> wrote in message
news:755601c525f0$f343c210$a401280a@phx.gbl...
> Hi,
>
> I want to implement a convoy pattern for the purpose of
> batching up a bunch of messages and then sending the
> batched message to an external vendor. The problem is
> that I don't have anything good to correlate on.
> Meaning, when the receive location receives the files to
> batch, they are unique. Every file that comes into that
> receive location needs to be put in a batch. They
> represent a common theme, like ordering an item, but I
> don't want to batch based on id's, etc... The examples I
> keep finding have things like SupplierId, Stock Ticker,
> etc... So, for example, I would want to batch a BUNCH of
> messages together for a BUNCH of stock tickers, not just
> one stock ticker.
>
> Once a certain amount of time has elapsed or a certain
> number of items have been batched then I want to post the
> batch to the vendor. This part I have figured out. But
> how can I get my orchestration configured to do what I
> want it to do? One thought I had was to force a value
> into the schema that is generic (like "UPDATE") and
> promote it and use that in the correlation set but I
> don't want to mess with the schema if I don't have to.
>
> Any suggestions are appreciated in advance!
>
> Thanks,
>
> Michael
>



Michael

2005-03-11, 2:47 am

Matt,

Thank you for your input. I found one that seems to be
working: BTS.MessageType

Since all the messages arriving on that port are the same
type then I am going to give that a shot. Let me know if
you see something wrong with this approach.

I suffered from tunnel vision and was worrying about the
correlated property coming from the XML message itself
and didn't think about all the other types I could
correlate on!

Regards,

Michael



>-----Original Message-----
>You could correlate on receive port name if that works

for you.
>
>matt
>
>
>"Michael" <codeslush@yahoo.com> wrote in message
>news:755601c525f0$f343c210$a401280a@phx.gbl...
to[vbcol=seagreen]
that[vbcol=seagreen]
examples I[vbcol=seagreen]
of[vbcol=seagreen]
just[vbcol=seagreen]
the[vbcol=seagreen]
But[vbcol=seagreen]
>
>
>.
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com