Share via


PooledPipeline Object

Ee810207.c++_off(en-US,CS.10).gifEe810207.vb_on(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
COM Interface Name:   IPipeline
Interface ID Constant:   IID_IPipeline
Header File:   pipeline.h, mspu_guids.h
Type Library Name:   Microsoft Commerce 2000 Order Pipeline Type Library
DLL Name:   pipeline.dll
Threading Model:   Both

In C++, use the IPipeline interface to access the properties and methods of the PooledPipeline object.

Because this object is primarily intended for use within ASP script, access from C++ will not be common.

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

Method Description
Execute Runs the components in the pipeline as configured by the LoadPipe method.
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.