BizTalk Server General - distinguished field and promoted property

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > November 2004 > distinguished field and promoted property





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 distinguished field and promoted property
john

2004-11-25, 5:49 pm

What is the reason behind these two concepts ??
Why do we have to think to which field must be promoted when we design the
schemas ?
Are these proporties stored in the context of the message ?


Greg Forsythe

2004-11-26, 2:46 am

Distinguished fields are only accessible in an orchestration.
This is tidier than using xpath() to access the message content inside an
orchestration

Promoted properties are put into the message context and available in the
pipelines and orchestrations.
If you wish to perform correlation, content based routing(subscription
filtering) or dynamic ports(setting pipeline and adapter parameters) then
you need promoted properties.
You can promote properties from a message schema(MessageDataPropertyBase) or
just declare message context properties(MessageContextPropertyBase) for use
in pipelines or adapters- (properties promoted from an envelope should use
MessageContextPropertyBase type as well)


Greg

"john" <jepros@yahoo.com> wrote in message
news:41a664db$0$2328$626a14ce@news.free.fr...
> What is the reason behind these two concepts ??
> Why do we have to think to which field must be promoted when we design the
> schemas ?
> Are these proporties stored in the context of the message ?
>
>



Xerox

2004-11-26, 2:46 am

Do you know where the documentation is for using xpath() method in an
expression? I can't find it in the BizTalk docs.

"Greg Forsythe" <greg.forsythe@unisys.com> wrote in message
news:uyPYqW50EHA.3616@TK2MSFTNGP11.phx.gbl...
> Distinguished fields are only accessible in an orchestration.
> This is tidier than using xpath() to access the message content inside an
> orchestration
>
> Promoted properties are put into the message context and available in the
> pipelines and orchestrations.
> If you wish to perform correlation, content based routing(subscription
> filtering) or dynamic ports(setting pipeline and adapter parameters) then
> you need promoted properties.
> You can promote properties from a message schema(MessageDataPropertyBase)

or
> just declare message context properties(MessageContextPropertyBase) for

use
> in pipelines or adapters- (properties promoted from an envelope should use
> MessageContextPropertyBase type as well)
>
>
> Greg
>
> "john" <jepros@yahoo.com> wrote in message
> news:41a664db$0$2328$626a14ce@news.free.fr...
the[vbcol=seagreen]
>
>



Mike Watson

2004-11-26, 7:47 am

... here is a good start to the xpath()
http://geekswithblogs.net/sthomas/a...0/25/13269.aspx

- Mike Watson

"Xerox" wrote:

> Do you know where the documentation is for using xpath() method in an
> expression? I can't find it in the BizTalk docs.
>
> "Greg Forsythe" <greg.forsythe@unisys.com> wrote in message
> news:uyPYqW50EHA.3616@TK2MSFTNGP11.phx.gbl...
> or
> use
> the
>
>
>

john

2004-11-26, 7:47 am

ok, but why is it the only way to do CBR ? I would also like to create
filters based on xpath expressions for example...
Because the drawback of promoted properties is that I must know which
elements I have to promote when I design my schemas...


"Greg Forsythe" <greg.forsythe@unisys.com> wrote in message
news:uyPYqW50EHA.3616@TK2MSFTNGP11.phx.gbl...
> Distinguished fields are only accessible in an orchestration.
> This is tidier than using xpath() to access the message content inside an
> orchestration
>
> Promoted properties are put into the message context and available in the
> pipelines and orchestrations.
> If you wish to perform correlation, content based routing(subscription
> filtering) or dynamic ports(setting pipeline and adapter parameters) then
> you need promoted properties.
> You can promote properties from a message schema(MessageDataPropertyBase)
> or
> just declare message context properties(MessageContextPropertyBase) for
> use
> in pipelines or adapters- (properties promoted from an envelope should use
> MessageContextPropertyBase type as well)
>
>
> Greg
>
> "john" <jepros@yahoo.com> wrote in message
> news:41a664db$0$2328$626a14ce@news.free.fr...
>
>



Balaji Thiagarajan

2004-11-29, 5:52 pm

This may be a good resource
http://msdn.microsoft.com/library/d...g_orch_doho.asp

--
Balaji Thiagarajan
MCP (BizTalk)
http://biztalkbits.blogspot.com
--


"Xerox" <anon@anon.com> wrote in message
news:eQ7ssp50EHA.1968@tk2msftngp13.phx.gbl...
> Do you know where the documentation is for using xpath() method in an
> expression? I can't find it in the BizTalk docs.
>
> "Greg Forsythe" <greg.forsythe@unisys.com> wrote in message
> news:uyPYqW50EHA.3616@TK2MSFTNGP11.phx.gbl...
an[vbcol=seagreen]
the[vbcol=seagreen]
then[vbcol=seagreen]
schema(MessageDataPropertyBase)[vbcol=se
agreen]
> or
> use
use[vbcol=seagreen]
> the
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com