OrderPipeline Object
Use this object to execute a Microsoft Commerce Server 2000 Content Selection pipeline. Order Processing pipelines (OPP) should generally use a PooledPipeline, PooledTxPipeline, MtxPipeline, or MtsTxPipeline object.
ProgID: | Commerce.OrderPipeline (Externally creatable) |
COM Class Name: | COrderPipeline |
COM Interface Name: | IOrderPipeline |
Interface ID Constant: | IID_IOrderPipeline |
Header File: | pipeline.h, mspu_guids.h |
Type Library Name: | Microsoft Commerce 2000 Order Pipeline Type Library |
DLL Name: | pipeline.dll |
Threading Model: | Both |
Note
- The OrderPipeline should be used in Content Selection pipelines because Content Selection pipelines do not require transactions and because the OrderPipeline 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.
In C++, use the IOrderPipeline interface to access the properties and methods of the OrderPipeline object.
The methods of the OrderPipeline object are shown in the following table.
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 object creates and executes an Order Processing pipeline (OPP). The OrderPipeline object is not registered under Microsoft Transaction Server (MTS).
The OrderPipeline is usually created in the Global.asa and put into an application collection.