Java CAPS JMS Reference

requestReplyTo(message, destName)

Description

Sends a message of type com.stc.connectors.jms.Message to the explicitly named destination, and waits for the reply message by using Topic/QueueRequestor.

Parameters

Name 

Type 

Description 

message

com.stc.connectors.jms.Message

The message object to send 

destName

java.lang.String

The destination name 

Return Value

Returns 

Type 

The reply message. 

com.stc.connectors.jms.Message

Exceptions

Throws JMSException when a message is null, destName is null, or the JMS provider fails to send and receive the message due to an internal error.