Thank you very much Mario,
I forgot to add another problem. The messages disassembled in the receive
pipeline are sent and processed. After that, they are received by the very
orchestration an re-assembled into the outgoing message.
In order to receive the messages belonging to the convoy I also promote an
ID of the group, and the receive-shape follows the correlation set of that
ID.
The problem is that if the correlation set is defined just on the scope
surrounding the send-shape, I cannot use the correlation set in the
receive-shape.
"mario" wrote:
> hi ape..
>
> try creating a scope inside the loop and declaring the correlation set
in
> this scope... this should take care of the "a correlation may be
initialized
> only once" error
>
> regards.!
>
> "APe" <APe@[EMAIL PROTECTED]
> wrote in message
> news:CABA377F-37EA-426A-BF40-489547149B87@[EMAIL PROTECTED]
> > Hello,
> > I have an orchestration that first executes a receive-pipeline in
order to
> > extract several messages from the main do***ent. Inside the
> > Pipeline.MoveNext() loop there is a send-shape that sends every
message
> > directly to the MessageBox. In order to route this message I need that
one
> > of
> > the context properties is promoted.
> > In the receive pipeline this property is promoted (through
> > Context.Promote()), but, when I get the message from the
> > Microsoft.XLANGs.Pipeline.ReceivePipelineOutputMessages object through
the
> > GetCurrent method, that property is present but not promoted.
> > The trick of initialising a correlation set cannot be used, because
the
> > send-shape is inside a loop, and the corerlation set cannot be
initialised
> > multiple times.
> >
> > Could anyone tell me how this property can be promoted?
> >
> > Thank you very much.
>


|