Java CAPS JMS Reference

requestReply(message)

Description

Sends a message of type com.stc.connectors.jms.Message to the destination configured in the Connectivity Map Editor, 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 

Return Value

Returns 

Type 

The reply message. 

com.stc.connectors.jms.Message

Exceptions

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