Class ServerResponseContext

java.lang.Object
no.mnemonic.messaging.requestsink.jms.context.ServerResponseContext
All Implemented Interfaces:
ServerContext, RequestContext

public class ServerResponseContext extends Object implements RequestContext, ServerContext
The server response context is the context object sent to the server side RequestSink along with the signal received from the client. It will encode all responses into JMS messages and submit back to client. When RequestSink closes stream or notifies an exception, this will also be notified to the client.

Multiple responses will be encoded as multiple messages, creating a response stream back to the client. When channel is closed, responses will be ignored.