Class InVMConnectorFactory
- java.lang.Object
-
- org.apache.activemq.artemis.core.remoting.impl.invm.InVMConnectorFactory
-
- All Implemented Interfaces:
TransportConfigurationHelper,ConnectorFactory
public class InVMConnectorFactory extends Object implements ConnectorFactory
-
-
Constructor Summary
Constructors Constructor Description InVMConnectorFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectorcreateConnector(Map<String,Object> configuration, BufferHandler handler, ClientConnectionLifeCycleListener listener, Executor closeExecutor, Executor threadPool, ScheduledExecutorService scheduledThreadPool, ClientProtocolManager protocolManager)creates a new instance of a connector.Map<String,Object>getDefaults()booleanisReliable()Indicates if connectors from this factory are reliable or not.
-
-
-
Method Detail
-
createConnector
public Connector createConnector(Map<String,Object> configuration, BufferHandler handler, ClientConnectionLifeCycleListener listener, Executor closeExecutor, Executor threadPool, ScheduledExecutorService scheduledThreadPool, ClientProtocolManager protocolManager)
Description copied from interface:ConnectorFactorycreates a new instance of a connector.- Specified by:
createConnectorin interfaceConnectorFactory- Parameters:
configuration- the configurationhandler- the handlerlistener- the listenercloseExecutor- the close executorthreadPool- the thread poolscheduledThreadPool- the scheduled thread pool- Returns:
- a new connector
-
isReliable
public boolean isReliable()
Description copied from interface:ConnectorFactoryIndicates if connectors from this factory are reliable or not. If a connector is reliable then connection monitoring (i.e. pings/pongs) will be disabled.- Specified by:
isReliablein interfaceConnectorFactory- Returns:
- whether or not connectors from this factory are reliable
-
getDefaults
public Map<String,Object> getDefaults()
- Specified by:
getDefaultsin interfaceTransportConfigurationHelper
-
-