Sent date: 05/14/2008
From: "Zoe Hart" <(email address - cut out)>
Message:I'm no BizTalk expert but... I think you can accomplish the one-at-a-time
behavior you want by assigning the orchestration to a host instance and
configuring that host instance to have a thread pool of one. This would
probably be a separate dedicated host instance so that other processes on
your server can continue to run in host instances with multiple threads and
parallel throughput.
Zoe
"Karsten" <(email address - cut out)> wrote in message
news:(email address - cut out)...
Show quoted text
>I was wondering if there is a possibility for BizTalk to run only one
> instance of an Orchestration even if there is a lot of messages in the
> Queue?
> By running one instance I mean that the MSMQ receive adapter reads one
> message from the queue, starts the orchestration, finish the processing of
> the file before it receives the next message in the queue? This means no
> parallel processing of messages. Could this be done by using Order
> delivery?
> --
> Solution Architect
Sent date: 05/15/2008
From: Manan <(email address - cut out)>
Message:On May 14, 3:25 pm, "Zoe Hart" <(email address - cut out)>
wrote:
Karsten,
If I'm getting your question correctly "Sequential Convoy" pattern is
the answer to your question.
Have a look @ http://msdn.microsoft.com/en-us/library/ms942189.aspx
Let me if it helps you.
Cheers,
Manan
Show quoted text
> I'm no BizTalk expert but... I think you can accomplish the one-at-a-time
> behavior you want by assigning the orchestration to a host instance and
> configuring that host instance to have a thread pool of one. This would
> probably be a separate dedicated host instance so that other processes on
> your server can continue to run in host instances with multiple threads and
> parallel throughput.
>
> Zoe
>
> "Karsten" <(email address - cut out)> wrote in message
>
> news:(email address - cut out)...
>
> >I was wondering if there is a possibility for BizTalk to run only one
> > instance of an Orchestration even if there is a lot of messages in the
> > Queue?
> > By running one instance I mean that the MSMQ receive adapter reads one
> > message from the queue, starts the orchestration, finish the processing of
> > the file before it receives the next message in the queue? This means no
> > parallel processing of messages. Could this be done by using Order
> > delivery?
> > --
> > Solution Architect
Sent date: 05/15/2008
From: Karsten
Message:Thanks for your replies,
"Sequential Convoy" was not the solution to my problem. My case is that I
want to drop 2 XML files to the Receiveport in BizTalk. this Receiveport
starts an orchestration that just have a delay of 10 seconds and puts the
same XML file out in an other location. I want BizTalk to prosess only one
file at the time. The result should be that the last file appears in the
outbox 10 seconds after the first one, even if they are dropped to the In
Port at the same time.
Karsten
--
Solution Architect
"Manan" wrote:
Show quoted text
> On May 14, 3:25 pm, "Zoe Hart" <(email address - cut out)>
> wrote:
> > I'm no BizTalk expert but... I think you can accomplish the one-at-a-time
> > behavior you want by assigning the orchestration to a host instance and
> > configuring that host instance to have a thread pool of one. This would
> > probably be a separate dedicated host instance so that other processes on
> > your server can continue to run in host instances with multiple threads and
> > parallel throughput.
> >
> > Zoe
> >
> > "Karsten" <(email address - cut out)> wrote in message
> >
> > news:(email address - cut out)...
> >
> > >I was wondering if there is a possibility for BizTalk to run only one
> > > instance of an Orchestration even if there is a lot of messages in the
> > > Queue?
> > > By running one instance I mean that the MSMQ receive adapter reads one
> > > message from the queue, starts the orchestration, finish the processing of
> > > the file before it receives the next message in the queue? This means no
> > > parallel processing of messages. Could this be done by using Order
> > > delivery?
> > > --
> > > Solution Architect
>
> Karsten,
>
> If I'm getting your question correctly "Sequential Convoy" pattern is
> the answer to your question.
>
> Have a look @ http://msdn.microsoft.com/en-us/library/ms942189.aspx
>
> Let me if it helps you.
>
> Cheers,
> Manan
>
Sent date: 05/16/2008
From: Yossi Dahan [MVP]
Message:I actually think a sequential convoy will answer your requirement.
the key is to correlate on the receive port or something so that the second
message picked up is queued to the first instance created and does not
initiate a new instance.
I think a lot has been written on the subject. a quick search on the web for
"BizTalk Singleton" would take you to the right places.
here's one -
http://aspalliance.com/1208_Singleton_Orchestration_in_BizTalk_Server
--
Yossi Dahan
MVP BizTalk Server
http://www.sabratech.co.uk/blogs/yossidahan
"Karsten" wrote:
Show quoted text
> Thanks for your replies,
> "Sequential Convoy" was not the solution to my problem. My case is that I
> want to drop 2 XML files to the Receiveport in BizTalk. this Receiveport
> starts an orchestration that just have a delay of 10 seconds and puts the
> same XML file out in an other location. I want BizTalk to prosess only one
> file at the time. The result should be that the last file appears in the
> outbox 10 seconds after the first one, even if they are dropped to the In
> Port at the same time.
>
> Karsten
> --
> Solution Architect
>
>
> "Manan" wrote:
>
> > On May 14, 3:25 pm, "Zoe Hart" <(email address - cut out)>
> > wrote:
> > > I'm no BizTalk expert but... I think you can accomplish the one-at-a-time
> > > behavior you want by assigning the orchestration to a host instance and
> > > configuring that host instance to have a thread pool of one. This would
> > > probably be a separate dedicated host instance so that other processes on
> > > your server can continue to run in host instances with multiple threads and
> > > parallel throughput.
> > >
> > > Zoe
> > >
> > > "Karsten" <(email address - cut out)> wrote in message
> > >
> > > news:(email address - cut out)...
> > >
> > > >I was wondering if there is a possibility for BizTalk to run only one
> > > > instance of an Orchestration even if there is a lot of messages in the
> > > > Queue?
> > > > By running one instance I mean that the MSMQ receive adapter reads one
> > > > message from the queue, starts the orchestration, finish the processing of
> > > > the file before it receives the next message in the queue? This means no
> > > > parallel processing of messages. Could this be done by using Order
> > > > delivery?
> > > > --
> > > > Solution Architect
> >
> > Karsten,
> >
> > If I'm getting your question correctly "Sequential Convoy" pattern is
> > the answer to your question.
> >
> > Have a look @ http://msdn.microsoft.com/en-us/library/ms942189.aspx
> >
> > Let me if it helps you.
> >
> > Cheers,
> > Manan
> >
Sent date: 05/18/2008
From: Manan <(email address - cut out)>
Message:On May 16, 9:24 am, Yossi Dahan [MVP]
<(email address - cut out)> wrote:
Also if i'm not wrong Sequential Convoy pattern works for adapters
which can maintain the message orders while publishing message to the
message box such as IBM MQ , MSMQ, SQL etc but not the File adapter
Show quoted text
> I actually think a sequential convoy will answer your requirement.
> the key is to correlate on the receive port or something so that the second
> message picked up is queued to the first instance created and does not
> initiate a new instance.
>
> I think a lot has been written on the subject. a quick search on the web for
> "BizTalk Singleton" would take you to the right places.
>
> here's one -http://aspalliance.com/1208_Singleton_Orchestration_in_BizTalk_Server
>
> --
> Yossi Dahan
> MVP BizTalk Serverhttp://www.sabratech.co.uk/blogs/yossidahan
>
> "Karsten" wrote:
> > Thanks for your replies,
> > "Sequential Convoy" was not the solution to my problem. My case is that I
> > want to drop 2 XML files to the Receiveport in BizTalk. this Receiveport
> > starts an orchestration that just have a delay of 10 seconds and puts the
> > same XML file out in an other location. I want BizTalk to prosess only one
> > file at the time. The result should be that the last file appears in the
> > outbox 10 seconds after the first one, even if they are dropped to the In
> > Port at the same time.
>
> > Karsten
> > --
> > Solution Architect
>
> > "Manan" wrote:
>
> > > On May 14, 3:25 pm, "Zoe Hart" <(email address - cut out)>
> > > wrote:
> > > > I'm no BizTalk expert but... I think you can accomplish the one-at-a-time
> > > > behavior you want by assigning the orchestration to a host instance and
> > > > configuring that host instance to have a thread pool of one. This would
> > > > probably be a separate dedicated host instance so that other processes on
> > > > your server can continue to run in host instances with multiple threads and
> > > > parallel throughput.
>
> > > > Zoe
>
> > > > "Karsten" <(email address - cut out)> wrote in message
>
> > > >news:(email address - cut out)...
>
> > > > >I was wondering if there is a possibility for BizTalk to run only one
> > > > > instance of an Orchestration even if there is a lot of messages in the
> > > > > Queue?
> > > > > By running one instance I mean that the MSMQ receive adapter reads one
> > > > > message from the queue, starts the orchestration, finish the processing of
> > > > > the file before it receives the next message in the queue? This means no
> > > > > parallel processing of messages. Could this be done by using Order
> > > > > delivery?
> > > > > --
> > > > > Solution Architect
>
> > > Karsten,
>
> > > If I'm getting your question correctly "Sequential Convoy" pattern is
> > > the answer to your question.
>
> > > Have a look @http://msdn.microsoft.com/en-us/library/ms942189.aspx
>
> > > Let me if it helps you.
>
> > > Cheers,
> > > Manan
Sent date: 05/19/2008
From: Yossi Dahan [MVP]
Message:It really depends on your requirements.
As far as I know the sequential convoy pattern has no requirement on ordered
delivery. in fact it was introduced with the beginning of BizTalk 2004 where
ordered delivery was not provided.
If you do need ordered delivery you are more limited of course.
--
Yossi Dahan
MVP BizTalk Server
http://www.sabratech.co.uk/blogs/yossidahan
"Manan" wrote:
Show quoted text
> On May 16, 9:24 am, Yossi Dahan [MVP]
> <(email address - cut out)> wrote:
> > I actually think a sequential convoy will answer your requirement.
> > the key is to correlate on the receive port or something so that the second
> > message picked up is queued to the first instance created and does not
> > initiate a new instance.
> >
> > I think a lot has been written on the subject. a quick search on the web for
> > "BizTalk Singleton" would take you to the right places.
> >
> > here's one -http://aspalliance.com/1208_Singleton_Orchestration_in_BizTalk_Server
> >
> > --
> > Yossi Dahan
> > MVP BizTalk Serverhttp://www.sabratech.co.uk/blogs/yossidahan
> >
> > "Karsten" wrote:
> > > Thanks for your replies,
> > > "Sequential Convoy" was not the solution to my problem. My case is that I
> > > want to drop 2 XML files to the Receiveport in BizTalk. this Receiveport
> > > starts an orchestration that just have a delay of 10 seconds and puts the
> > > same XML file out in an other location. I want BizTalk to prosess only one
> > > file at the time. The result should be that the last file appears in the
> > > outbox 10 seconds after the first one, even if they are dropped to the In
> > > Port at the same time.
> >
> > > Karsten
> > > --
> > > Solution Architect
> >
> > > "Manan" wrote:
> >
> > > > On May 14, 3:25 pm, "Zoe Hart" <(email address - cut out)>
> > > > wrote:
> > > > > I'm no BizTalk expert but... I think you can accomplish the one-at-a-time
> > > > > behavior you want by assigning the orchestration to a host instance and
> > > > > configuring that host instance to have a thread pool of one. This would
> > > > > probably be a separate dedicated host instance so that other processes on
> > > > > your server can continue to run in host instances with multiple threads and
> > > > > parallel throughput.
> >
> > > > > Zoe
> >
> > > > > "Karsten" <(email address - cut out)> wrote in message
> >
> > > > >news:(email address - cut out)...
> >
> > > > > >I was wondering if there is a possibility for BizTalk to run only one
> > > > > > instance of an Orchestration even if there is a lot of messages in the
> > > > > > Queue?
> > > > > > By running one instance I mean that the MSMQ receive adapter reads one
> > > > > > message from the queue, starts the orchestration, finish the processing of
> > > > > > the file before it receives the next message in the queue? This means no
> > > > > > parallel processing of messages. Could this be done by using Order
> > > > > > delivery?
> > > > > > --
> > > > > > Solution Architect
> >
> > > > Karsten,
> >
> > > > If I'm getting your question correctly "Sequential Convoy" pattern is
> > > > the answer to your question.
> >
> > > > Have a look @http://msdn.microsoft.com/en-us/library/ms942189.aspx
> >
> > > > Let me if it helps you.
> >
> > > > Cheers,
> > > > Manan
>
> Also if i'm not wrong Sequential Convoy pattern works for adapters
> which can maintain the message orders while publishing message to the
> message box such as IBM MQ , MSMQ, SQL etc but not the File adapter
>
Sent date: 05/20/2008
From: Karsten
Message:"Singleton Orchestration" was the answare to my question. Thanks a lot.
Karsten
--
Solution Architect
"Yossi Dahan [MVP]" wrote:
Show quoted text
> I actually think a sequential convoy will answer your requirement.
> the key is to correlate on the receive port or something so that the second
> message picked up is queued to the first instance created and does not
> initiate a new instance.
>
> I think a lot has been written on the subject. a quick search on the web for
> "BizTalk Singleton" would take you to the right places.
>
> here's one -
> http://aspalliance.com/1208_Singleton_Orchestration_in_BizTalk_Server
>
> --
> Yossi Dahan
> MVP BizTalk Server
> http://www.sabratech.co.uk/blogs/yossidahan
>
>
> "Karsten" wrote:
>
> > Thanks for your replies,
> > "Sequential Convoy" was not the solution to my problem. My case is that I
> > want to drop 2 XML files to the Receiveport in BizTalk. this Receiveport
> > starts an orchestration that just have a delay of 10 seconds and puts the
> > same XML file out in an other location. I want BizTalk to prosess only one
> > file at the time. The result should be that the last file appears in the
> > outbox 10 seconds after the first one, even if they are dropped to the In
> > Port at the same time.
> >
> > Karsten
> > --
> > Solution Architect
> >
> >
> > "Manan" wrote:
> >
> > > On May 14, 3:25 pm, "Zoe Hart" <(email address - cut out)>
> > > wrote:
> > > > I'm no BizTalk expert but... I think you can accomplish the one-at-a-time
> > > > behavior you want by assigning the orchestration to a host instance and
> > > > configuring that host instance to have a thread pool of one. This would
> > > > probably be a separate dedicated host instance so that other processes on
> > > > your server can continue to run in host instances with multiple threads and
> > > > parallel throughput.
> > > >
> > > > Zoe
> > > >
> > > > "Karsten" <(email address - cut out)> wrote in message
> > > >
> > > > news:(email address - cut out)...
> > > >
> > > > >I was wondering if there is a possibility for BizTalk to run only one
> > > > > instance of an Orchestration even if there is a lot of messages in the
> > > > > Queue?
> > > > > By running one instance I mean that the MSMQ receive adapter reads one
> > > > > message from the queue, starts the orchestration, finish the processing of
> > > > > the file before it receives the next message in the queue? This means no
> > > > > parallel processing of messages. Could this be done by using Order
> > > > > delivery?
> > > > > --
> > > > > Solution Architect
> > >
> > > Karsten,
> > >
> > > If I'm getting your question correctly "Sequential Convoy" pattern is
> > > the answer to your question.
> > >
> > > Have a look @ http://msdn.microsoft.com/en-us/library/ms942189.aspx
> > >
> > > Let me if it helps you.
> > >
> > > Cheers,
> > > Manan
> > >