Show TOC Anfang des Inhaltsbereichs

Diese Grafik wird im zugehörigen Text erklärt Creating a Message Producer to a Queue Dokument im Navigationsbaum lokalisieren

The message producer in a queue is QueueSender. Use it to send messages to a queue destination.

To create a message producer to a queue use the following source:

Syntax

// create the message producer

QueueSender queueSender = queueSession.createSender(queue);

Having obtained a QueueSender, use it to send messages to the specified queue destination.

Hinweis

For an example of how to create a message producer, see Queue Sender and Receiver.

 

 

Ende des Inhaltsbereichs