|
Home > Archive > BizTalk Server General > May 2005 > How to access context properties in a Receive's Map
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 access context properties in a Receive's Map
|
|
| John Leyva 2005-05-16, 5:50 pm |
| Hi,
the question is simple
How to access context properties in a Receive's Map?
I need it becouse, that i am using the Flat File Disassembler to split a
document interchange. The input message has a Header, and I use a header
document specification to extract the header, and to promote some properties
to the context. Now I need to use the context from a Map,
I think i should be possible becouse it is a XSLT transformation and in .Net
de XmlTransform accept aditional objects, one could be de Message Context.
If it is not true, it mush be included in the wish list
thanks in advance
--
John Leyva
| |
| Stephen W. Thomas 2005-05-17, 5:50 pm |
| Hello.
I do not think it’s possible to access message context inside the map both
on Receive Port mapping or inside the Orchestration.
What I have done in the past is, use an Orchestration and do multi message
mapping. So I have two inputs and one output. The 2nd input is a custom
message that I put the message context into.
Another approach would be to add optional attributes to your message. Then,
have a custom component set those values for use inside the map.
Hope this helps.
Stephen W. Thomas
http://www.geekswithblogs.net/sthomas
"John Leyva" wrote:
> Hi,
>
> the question is simple
>
> How to access context properties in a Receive's Map?
>
> I need it becouse, that i am using the Flat File Disassembler to split a
> document interchange. The input message has a Header, and I use a header
> document specification to extract the header, and to promote some properties
> to the context. Now I need to use the context from a Map,
>
> I think i should be possible becouse it is a XSLT transformation and in .Net
> de XmlTransform accept aditional objects, one could be de Message Context.
>
> If it is not true, it mush be included in the wish list
>
> thanks in advance
>
> --
> John Leyva
|
|
|
|
|