Sends a request and waits for a reply. The temporary topic is used for the JMSReplyTo destination; the first reply is returned, and any following replies are discarded.

Namespace:  Kaazing.JMS
Assembly:  Kaazing.JMS (in Kaazing.JMS.dll)

Syntax

Visual Basic
Public Function Request ( _
	message As IMessage _
) As IMessage
C#
public IMessage Request(
	IMessage message
)
Visual C++
public:
IMessage^ Request(
	IMessage^ message
)

Parameters

message
Type: Kaazing.JMS..::..IMessage
the message to send

Return Value

the reply message

Exceptions

ExceptionCondition
Kaazing.JMS..::..JMSExceptionif the JMS provider fails to complete the request due to some internal error.

See Also