|
Home > Archive > BizTalk Server General > February 2005 > post in code created message to in memory queue
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 |
post in code created message to in memory queue
|
|
| Michel from The Netherlands 2005-02-25, 2:50 am |
| hmm, a somewhat cryptic description, but i didn't know how to write it more
clearer
Let me explain:
i have some custom C# code which creates an XML message.
This code is executed from a expression shape in an orchestration.
in the C# code the XML message is created and written to a file on disk
(let's say to c:\queue01\)
Another orchestration is bound to a port which is bound to the location
c:\queue01\
So what i have here is a file exchange between two orchestrations by a file
queue.
My client offcourse wants it another way.
So i want to create another way to move my in C# code created message into
the other orchestration.
Can anyone help me with this?
Kind regards,
Michel.
| |
| Alan Smith 2005-02-25, 5:49 pm |
| Hi,
One option may be to use "Direct Binding", where you send a message, and
another orchestration subscribes to that message. The message is sent
directly to the message box, so you can skip the file folder. You have to
watch out for other orchestrations subscribing to this messge, otherwise
things can get messy...
A second optino may be to use the "Start Orchestratinon" shape. This allows
you to assynchronously start an orchestration from ontoher orcherstration, by
passing it a message as a parameter.
Regards,
Alan
"Michel from The Netherlands" wrote:
> hmm, a somewhat cryptic description, but i didn't know how to write it more
> clearer
>
> Let me explain:
> i have some custom C# code which creates an XML message.
> This code is executed from a expression shape in an orchestration.
> in the C# code the XML message is created and written to a file on disk
> (let's say to c:\queue01\)
> Another orchestration is bound to a port which is bound to the location
> c:\queue01\
>
> So what i have here is a file exchange between two orchestrations by a file
> queue.
> My client offcourse wants it another way.
>
> So i want to create another way to move my in C# code created message into
> the other orchestration.
>
> Can anyone help me with this?
>
> Kind regards,
>
> Michel.
|
|
|
|
|