MSMQ Ordered delivery
  Home FAQ Contact Sign in
microsoft.public.biztalk.general only
 
Advanced search
POPULAR GROUPS

more...

microsoft ... biztalk.general Profile…
 Up
MSMQ Ordered delivery         


Author: Karsten
Date: May 14, 2008 04:30

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
7 Comments
Re: MSMQ Ordered delivery         


Author: Zoe Hart
Date: May 14, 2008 07:25

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" discussions.microsoft.com> wrote in message
news:813F9D5E-B89B-44C3-8197-A201C42A56D5@microsoft.com...
>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
no comments
Re: MSMQ Ordered delivery         


Author: Manan
Date: May 15, 2008 01:53

On May 14, 3:25 pm, "Zoe Hart" nospam.competitive.com>
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" discussions.microsoft.com> wrote in message
>
> news:813F9D5E-B89B-44C3-8197-A201C42A56D5@microsoft.com...
>
>>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 ...
Show full article (1.34Kb)
no comments
Re: MSMQ Ordered delivery         


Author: Karsten
Date: May 15, 2008 03:40

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" nospam.competitive.com>
> wrote:
>> I'm no BizTalk expert but... I think you can accomplish the one-at-a-time
>> behavior you want by assigning the orchestration...
Show full article (1.97Kb)
no comments
Re: MSMQ Ordered delivery         


Author: Yossi Dahan [MVP]
Date: May 16, 2008 01:24

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...
Show full article (2.64Kb)
no comments
Re: MSMQ Ordered delivery         


Author: Manan
Date: May 18, 2008 16:17

On May 16, 9:24 am, Yossi Dahan [MVP]
THISsabratech.co.uk> 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 ...
Show full article (2.97Kb)
no comments
Re: MSMQ Ordered delivery         


Author: Yossi Dahan [MVP]
Date: May 19, 2008 01:47

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:
> On May 16, 9:24 am, Yossi Dahan [MVP]
> THISsabratech.co.uk> wrote:
>> I actually think a sequential convoy will answer your requirement.
>> the key is to correlate on the receive...
Show full article (3.51Kb)
no comments
Re: MSMQ Ordered delivery         


Author: Karsten
Date: May 20, 2008 03:35

"Singleton Orchestration" was the answare to my question. Thanks a lot.
Karsten
--
Solution Architect

"Yossi Dahan [MVP]" 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...
Show full article (2.92Kb)
no comments