Collapse All Expand All

.NET Framework Class Library
Session Class See Also

[TIBCO.EMS .NET client library 5.1 documentation]

Create a MessageProducer to send messages to the specified destination.

Namespace: TIBCO.EMS
Assembly: 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.

# See Also

Session Class
TIBCO.EMS Namespace