public class MiloClientCachingConnectionManager extends Object implements MiloClientConnectionManager
MiloClientConnectionManager
which cache and reuses the same MiloClientConnection
for
clients with the same cache id (MiloClientConfiguration.toCacheId()
.Constructor and Description |
---|
MiloClientCachingConnectionManager() |
Modifier and Type | Method and Description |
---|---|
MiloClientConnection |
createConnection(MiloClientConfiguration configuration,
MonitorFilterConfiguration monitorFilterConfiguration)
Creates the connection
|
void |
releaseConnection(MiloClientConnection connection)
Releases the connection
|
public MiloClientConnection createConnection(MiloClientConfiguration configuration, MonitorFilterConfiguration monitorFilterConfiguration)
MiloClientConnectionManager
createConnection
in interface MiloClientConnectionManager
public void releaseConnection(MiloClientConnection connection)
MiloClientConnectionManager
releaseConnection
in interface MiloClientConnectionManager
Apache Camel