08-18-04 07:47 AM
Thanks a lot Gilles. The component that I use takes certain parameters,
like connection string, stored procedure name etc and fethes the data
and returns the resultset. I will try what you have suggested but I
would still prefer if somehow orchestration could be scheduled.
Thanks again
Regards
Ashish Shukla
Gilles [MSFT] wrote:
> Hello, Ashish,
>
>
>
>
> I am not exactly sure what kind of component you wrote and what kind of wo
rk it performs so I might be off.
> Please correct me if I am wrong.
>
>
>
>
> I assume that your orchestration starts with a receive shape, marked as "a
ctivate". This means that every time a message that
> matches the schema expected by your receive shape is picked up by BizTalk,
it will be fed to a new instance of your orchestration.
>
> It sounds (but again, I am not sure I really understood your issue) that y
ou would like to start an orchestration and have it call your
> component to retrieve data from SQL 6.5 at specific intervals. You can do
this. However, this is not a very good design.
>
> A better way to do this would be to package your component that reads from
SQL 6.5 as an adapter. This way, your component
> could do all the polling it wants (and you would have control over this in
your code). When data need to be retrieved, then your
> adapter can produce a message and send it to BizTalk. You will then be abl
e to take full advantage of BizTalk messaging.
> Now you do not have to worry about starting an orchestration to perform po
lling.
>
> In general, an orchestration should not be attempting to handle some proto
col. Handling a protocol and getting messages is the
> duty of adapters.
>
> Thanks.
> -Gilles.
[ Post a follow-up to this message ]
|