03-15-06 12:48 PM
I have tried this morning to go down the route of promoting the property jus
t
before returning from GetNext() i.e.
newMsg.Context.Promote("RecordCount", propertyschema namespace, value);
I have set the RecordCount property in the schema file to be
MessageContextPropertyBase
The property value is not set and debugging an orchestration using the
orchestration debugger I cannot see this property anywhere. However if I loo
k
at the consumed message from the biztalk admistration screen I can see that
the property is promoted in this. It seems to me that the property is
promoted on the consumed message but once it gets into an orchestration then
the promoted property is lost.
Any ideas?
Thanks
"Greg Forsythe" wrote:
> Rather than modifying the flat file why don't you promote the property
> yourself in your custom pipeline component.
> baseMessage.Context.Promote("RecordCount", "Your RecordCount property
> namespace", record count value);
> You can do this just before returning from GetNext()
>
> This would be much easier than modifying the input data, using a header
> schema and relying on the FFDasm to promote the property for you.
>
> The FFDasm will promotes properties
> And you can promote properties from the Header into the message context, a
nd
> have access to them in the orchestration. If the input message is split by
> the FFDasm each message will contain the header properties.
>
> Greg
>
>
> "Leonid Ganeline" <leo_gan_57@hotmail.com> wrote in message
> news:%23$B2qd6RGHA.256@TK2MSFTNGP14.phx.gbl...
>
>
>
[ Post a follow-up to this message ]
|