|
Home > Archive > BizTalk Server Orchestration > May 2006 > How to control get operation for MQSeries from orchestration
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 |
How to control get operation for MQSeries from orchestration
|
|
| Carlo Folini 2006-05-15, 1:14 pm |
| We are in the case depicted in the docs
"If an orchestration is used to process the messages, only a single instance
of the orchestration should be used, the orchestration should be configured
to use a sequential convoy, and the Ordered Delivery property of the
orchestration's receive port should be set to True."
Is there a way to control the adapter so only one message are taken out from
the MQseries queue at a time?
Maybe momething that clears a flag "readyToReceive" from the orchestration
readed by the adapter (or pipeline).
Our need is to leave the messages in the mqseries queue.
Thanks in advance for any help
--
Carlo Folini
| |
| WenJun Zhang[msft] 2006-05-16, 1:14 pm |
| Hi Carlo,
I am researching your issue and will update here as soon as I get some
information on it. Thanks.
Best regards,
WenJun Zhang
Microsoft Online Partner Support
This posting is provided "AS IS" with no warranties, and confers no rights.
| |
| WenJun Zhang[msft] 2006-05-18, 1:15 pm |
| Hi Carlo,
An update of this issue.
To receive messages in order from MQSeries, you can set the Ordered={Order
with stop or Order with suspend} on the receive location properties and
Number of threads=1. To get just 1 message at a time, you can just set the
Max messages in batch=1.
Hope the method works for you. Have a nice day.
Best regards,
WenJun Zhang
Microsoft Online Partner Support
This posting is provided "AS IS" with no warranties, and confers no rights.
| |
| Carlo Folini 2006-05-18, 1:15 pm |
| Hi WenJun,
this method allow me to control the messages taken out from the MQSeries Q
by the pipeline and sent to the messagebox.
What I want to achieve is controlling the get operation from the MQSeries Q
by the orchestration so only when the orchestration handle the message
correctly a new one is taken out.
--
Carlo Folini
""WenJun Zhang[msft]"" wrote:
> Hi Carlo,
>
> An update of this issue.
>
> To receive messages in order from MQSeries, you can set the Ordered={Order
> with stop or Order with suspend} on the receive location properties and
> Number of threads=1. To get just 1 message at a time, you can just set the
> Max messages in batch=1.
>
> Hope the method works for you. Have a nice day.
>
> Best regards,
>
> WenJun Zhang
> Microsoft Online Partner Support
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
>
>
| |
| WenJun Zhang[msft] 2006-05-22, 7:13 am |
| Hi Carlo,
If so, you could set up a orchestration with a correlated receive in a
loop. LIke aggregator sample in C:\Program Files\Microsoft BizTalk Server
2006\SDK\Samples\Pipelines\Aggregator, you just would batch them together.
BizTalk would still read all the messages off the queue though.
Otherwise you would need to have some looping orchestration that calls an
assembly to read the messages off one at a time.
Thanks.
Best regards,
WenJun Zhang
Microsoft Online Partner Support
This posting is provided "AS IS" with no warranties, and confers no rights.
|
|
|
|
|