public final class ConnectorsService extends Object implements org.apache.activemq.artemis.core.server.ActiveMQComponent
It may also listen to a queue, and forward them (e.g. messages arriving at the queue are picked and tweeted to some Twitter account).
| Constructor and Description |
|---|
ConnectorsService(Configuration configuration,
StorageManager storageManager,
ScheduledExecutorService scheduledPool,
PostOffice postOffice,
ServiceRegistry serviceRegistry) |
| Modifier and Type | Method and Description |
|---|---|
void |
createService(ConnectorServiceConfiguration info,
ConnectorServiceFactory factory) |
void |
destroyService(String name) |
Map<String,ConnectorService> |
getConnectors() |
boolean |
isStarted() |
void |
start() |
void |
stop() |
public ConnectorsService(Configuration configuration, StorageManager storageManager, ScheduledExecutorService scheduledPool, PostOffice postOffice, ServiceRegistry serviceRegistry)
public void start()
throws Exception
start in interface org.apache.activemq.artemis.core.server.ActiveMQComponentExceptionpublic void createService(ConnectorServiceConfiguration info, ConnectorServiceFactory factory) throws Exception
Exceptionpublic void stop()
throws Exception
stop in interface org.apache.activemq.artemis.core.server.ActiveMQComponentExceptionpublic boolean isStarted()
isStarted in interface org.apache.activemq.artemis.core.server.ActiveMQComponentpublic Map<String,ConnectorService> getConnectors()
Copyright © 2023 The Apache Software Foundation. All rights reserved.