[TIBCO.EMS .NET client library 7.0 documentation]
Assembly: TIBCO.EMS (in TIBCO.EMS.dll)
Create a MessageProducer to send messages to the
specified destination.
Namespace:
TIBCO.EMSAssembly: TIBCO.EMS (in TIBCO.EMS.dll)
Syntax
public MessageProducer CreateProducer( Destination dest ) |
Public Function CreateProducer ( _ dest As Destination _ ) As MessageProducer |
public: MessageProducer^ CreateProducer( Destination^ dest ) |
Parameters
- dest
- Type: TIBCO.EMS..::.Destination
When non-null, the producer sends messages to this destination. When null, the client program must specify the destination for each message individually.
Remarks
A client uses a MessageProducer object to send messages to a destination. Since Queue and Topic both inherit from Destination, they can be used in the destination parameter to create a MessageProducer object.