public final class ConnectorsService extends Object implements 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) |
Set<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 ActiveMQComponentExceptionpublic void createService(ConnectorServiceConfiguration info, ConnectorServiceFactory factory)
public void stop()
throws Exception
stop in interface ActiveMQComponentExceptionpublic boolean isStarted()
isStarted in interface ActiveMQComponentpublic Set<ConnectorService> getConnectors()
Copyright © 2024 The Apache Software Foundation. All rights reserved.