public interface ConnectionCreator
Modifier and Type | Method and Description |
---|---|
ConnectionService |
createConnection(ConnectionInformation connectionInformation,
Integer autoReconnectDelay,
boolean lazyActivation)
Create a new connection service
|
ConnectionService createConnection(ConnectionInformation connectionInformation, Integer autoReconnectDelay, boolean lazyActivation)
A connection may be requested with lazyActivation which means that the connection should only be established by the connection service when the first requests are placed (e.g. subscriptions). The connection service must not support this and may decide for itself when the connection is opened and closed.
connectionInformation
- the connection informationautoReconnectDelay
- optionally an auto reconnect delay informationlazyActivation
- indicates that the connection service may establish the connection in lazy modenull
if none could be created for the request parameters