Sends a message of type com.stc.connectors.jms.Message to the destination configured in the Connectivity Map Editor, and receives the reply message by using Topic/QueueRequestor during the specified timeout interval.
Name |
Type |
Description |
---|---|---|
timeout |
java.lang.long |
The timeout in milliseconds |
message |
com.stc.connectors.jms.Message |
The message object to send |
Returns |
Type |
---|---|
The reply message, if available during the timeout interval. |
com.stc.connectors.jms.Message |
Throws JMSException if a message is null, the JMS provider fails to send and receive the message due to an internal error, or timeout expires.