PooledPipeline Object

Ee824681.c++_on(en-US,CS.10).gifEe824681.vb_off(en-US,CS.10).gif

Use this object to execute a Microsoft Commerce Server 2000 pipeline configuration file. The pipeline may be an Order Processing pipeline (OPP).

The PooledPipeline object uses COM+ object pooling to greatly increase the loading speed of pipelines, where the contained pipeline components support object pooling. For more information about pooled pipelines, see Pooled Pipelines.

ProgID:   Commerce.PooledPipeline (Externally creatable)
COM Class Name:   CPooledPipeline
Type Library Name:   Microsoft Commerce 2000 Order Pipeline Type Library
DLL Name:   pipeline.dll
Threading Model:   Both

The methods of the PooledPipeline object are shown in the following table.

Method Description
Execute Runs the components in the pipeline.
LoadPipe Loads a pipeline configuration file (.pcf) into the pipeline.
SetLogFile Identifies the file in which to log pipeline events.

Remarks

The PooledPipeline should be created on each Active Server Pages (ASP) page in which it is used rather thatn being held in Application or Sessions scope.

In general, use the PooledPipeline object only in production Web sites; use the MtsPipeline object when developing the site. If you use the PooledPipeline object during development, you will need to stop and restart Internet Information Services (IIS).

When you create custom poolable pipeline components, you must add the Component Object Model (COM) category, CATID_POOLABLE, to the component to make it poolable.

The PooledPipeline object is registered under COM+ as "transactions not supported." Use this pipeline where transactions are not needed. For more information about transactions and pipelines, see Pipeline Basics.


All rights reserved.