public interface ConnectorFactory extends TransportConfigurationHelper
A Connector is used to connect to an org.apache.activemq.artemis.spi.core.remoting.Acceptor.
Modifier and Type | Method and Description |
---|---|
Connector |
createConnector(Map<String,Object> configuration,
BufferHandler handler,
ConnectionLifeCycleListener listener,
Executor closeExecutor,
Executor threadPool,
ScheduledExecutorService scheduledThreadPool,
ClientProtocolManager protocolManager)
creates a new instance of a connector.
|
boolean |
isReliable()
Indicates if connectors from this factory are reliable or not.
|
getDefaults
Connector createConnector(Map<String,Object> configuration, BufferHandler handler, ConnectionLifeCycleListener listener, Executor closeExecutor, Executor threadPool, ScheduledExecutorService scheduledThreadPool, ClientProtocolManager protocolManager)
configuration
- the configurationhandler
- the handlerlistener
- the listenercloseExecutor
- the close executorthreadPool
- the thread poolscheduledThreadPool
- the scheduled thread poolboolean isReliable()
Copyright © 2016 JBoss by Red Hat. All rights reserved.