Re: PipelineComponent interfaces

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Thanks Tomas.
"Tomas Restrepo (MVP)" wrote:

Jayendra,

Could any one explain,importance of over the following interfaces:

You'll really find most of this answered in the BizTalk documents (the core
of it, at least), biut let me add a few things:


IPersistPropertyBag:
1.why pipeline component has to interoperable with unmanagedcode in this
context(IPersistPropertyBag),and what kind tasks can be accomplished,by
interoperating with unmangedcode.

A big part of the core of the messaging engine is still unmanaged code.
Furthermore, for legacy reasons, both the adapter API and the pipeline API
were built so that they could keep supporting both unmanaged and managed
components.

2.Where it will store custom configuration properties ?

A pipeline is essentially a description XML file. The properties are stored
inside that pipeline definition XML file (i.e. the .btp file).


3.why these cutom configuration properties has to be stored in
propertybags
and not in database.

Because that's not the design they used. The btp file is compiled into the
biztalk assembly, and that's the settings (well, you can override them with
per-instance pipeline settings, but that's another story). Once you have it
there, why would you bother saving them to the database?
Besides, the property bag is not the store. It's merele the API through
which you interact with the biztalk designer to read/persist the btp file.

IComponentUI:

1.What kind of validation it will do over custom component configuration
properties .

It won't do anything. It's up to you to do it.

2.when this method will be called,and who will call this method.

The pipeline designer.

3.ResourceManager,what kind of resources it will manage.

It's for keeping track of unmanaged resources that need to be released when
the pipeline execution is terminated.


--
Tomas Restrepo
tomasr@xxxxxxxx
http://www.winterdom.com/



.



Relevant Pages

  • Re: PipelineComponent interfaces
    ... You'll really find most of this answered in the BizTalk documents (the core ... 1.why pipeline component has to interoperable with unmanagedcode in this ... A big part of the core of the messaging engine is still unmanaged code. ... Furthermore, for legacy reasons, both the adapter API and the pipeline API ...
    (microsoft.public.biztalk.general)
  • Re: Inbound Mapping
    ... As I know the Base EDI adapter for BizTalk use the same way. ... you wouldn't want to do a transformation in the pipeline. ... you only want to build an xml which adheres to the schema. ...
    (microsoft.public.biztalk.general)
  • Re: What is an advantage of using pipeline component?
    ... subscription to your incoming message or to the receive port. ... >>However, I just wondering, why I have to create a pipeline component? ... > BizTalk 2004 provides tracking for messages in pipeline components. ... > received a decent amount of testing for performances and scalability. ...
    (microsoft.public.biztalk.general)
  • Re: Pipeline InstanceID...
    ... found a correlation between the ActivityId in the pipeline entries and the ... appears that the Activity ID listed for the pipeline is the same Activity ID ... you configure BizTalk, as a server, to monitor. ... custom pipeline component for the activity you are trying to monitor. ...
    (microsoft.public.biztalk.general)
  • Re: BizTalk 2002 - XML Declaration - Unicode
    ... pipeline with the charset to ASCII and disabling the XML declaration ... The only thing we tried on the ASP side was to properly detect the ... BizTalk 2002 out of the box. ... >sent in UTF-8 encoding with byte order mark and the XML declaration set to ...
    (microsoft.public.biztalk.general)