Jaa


OrderPipeline Object

Use this object to run a Microsoft Commerce Server Content Selection pipeline. To create an Order Processing pipeline (OPP), use a PooledPipeline, PooledTxPipeline, MtxPipeline, or MtsTxPipeline object.

ProgID:

Commerce.OrderPipeline (Externally creatable)

COM Class Name:

COrderPipeline

Type Library Name:

Microsoft Commerce Server Order Pipeline Type Library

DLL Name:

pipeline.dll

Threading Model:

Both

COM Interface Name:

IOrderPipeline

Interface ID Constant:

IID_IOrderPipeline

Header File:

pipeline.h

In C++, use the IOrderPipeline interface to access the properties and methods of the OrderPipeline object.

Methods

Method

Description

LoadPipe

Loads a pipeline configuration file (.pcf) into the pipeline.

OrderExecute

Runs the components in the pipeline.

SetLogFile

Identifies the file in which to log pipeline events.

Remarks

The OrderPipeline should be used in Content Selection pipelines because Content Selection pipelines do not require transactions and because the OrderPipeline object is fully re-entrant by multiple threads. Other objects, such as MtsPipeline and MtsTxPipeline, must be used once, destroyed and recreated by each thread due to the rules of COM+ transactions.

The OrderPipeline object can create and run Content Selection pipelines or Order Processing pipelines (OPP); however, it is recommended that you use the OrderPipeline object only to create and run Content Selection pipelines. The OrderPipeline object is the only pipeline object that is not registered under COM+ Services.

The OrderPipeline object is usually created in the file Global.asa and put into an application collection.

See Also

Other Resources

COM Object Reference