public class RPCConnectionContext extends ConsumerConnectionContext
destination where the response is going to be sent, as well as the request message itself
(which in turn will have the request MessageId once the request is sent) and the listener that will process the
response.
This object is used on the receiving end - that is, the consumer end that accepts the request.| Constructor and Description |
|---|
RPCConnectionContext() |
| Modifier and Type | Method and Description |
|---|---|
javax.jms.Message |
getRequestMessage()
This is the request message that was sent.
|
BasicMessageListener<?> |
getResponseListener()
This is the listener that is assigned to process the returned response.
|
void |
setRequestMessage(javax.jms.Message requestMessage) |
void |
setResponseListener(BasicMessageListener<?> responseListener) |
close, getMessageConsumer, setMessageConsumercopy, getConnection, getDestination, getSession, setConnection, setDestination, setSessionpublic javax.jms.Message getRequestMessage()
public void setRequestMessage(javax.jms.Message requestMessage)
public BasicMessageListener<?> getResponseListener()
public void setResponseListener(BasicMessageListener<?> responseListener)
Copyright © 2014–2017 Red Hat, Inc.. All rights reserved.