public interface CloseDeferrable
CachingClientConnectionFactory
enabling the gateway
to defer the implicit close after onMessage so the connection is not reused until after the
gateway has completely finished with it. Will be removed when INT-3654 is resolved, whereby
the gateway will be completely responsible for the close.Modifier and Type | Method and Description |
---|---|
void |
closeDeferred(String connectionId)
Close (release) the connection if deferred.
|
void |
enableCloseDeferral(boolean defer)
Enable deferred closure.
|
void enableCloseDeferral(boolean defer)
defer
- true to defer.void closeDeferred(String connectionId)
connectionId
- the connection id.