public abstract class AbstractFederationStream extends Object implements FederationStream
| Modifier and Type | Field and Description |
|---|---|
protected FederationConnection |
connection |
protected Map<String,FederatedAddress> |
federatedAddressMap |
protected Map<String,FederatedQueue> |
federatedQueueMap |
protected Federation |
federation |
protected SimpleString |
name |
protected ActiveMQServer |
server |
| Constructor and Description |
|---|
AbstractFederationStream(ActiveMQServer server,
Federation federation,
String name,
FederationStreamConfiguration config) |
AbstractFederationStream(ActiveMQServer server,
Federation federation,
String name,
FederationStreamConfiguration config,
FederationConnection connection) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
callFederationStreamStartedPlugins() |
protected void |
callFederationStreamStoppedPlugins() |
FederationStreamConfiguration |
getConfig() |
FederationConnection |
getConnection() |
Federation |
getFederation() |
SimpleString |
getName() |
String |
getPassword() |
int |
getPriorityAdjustment() |
String |
getUser() |
void |
start() |
void |
stop() |
protected final ActiveMQServer server
protected final Federation federation
protected final SimpleString name
protected final FederationConnection connection
protected Map<String,FederatedQueue> federatedQueueMap
protected Map<String,FederatedAddress> federatedAddressMap
public AbstractFederationStream(ActiveMQServer server, Federation federation, String name, FederationStreamConfiguration config)
public AbstractFederationStream(ActiveMQServer server, Federation federation, String name, FederationStreamConfiguration config, FederationConnection connection)
public void start()
start in interface FederationStreampublic void stop()
stop in interface FederationStreampublic Federation getFederation()
getFederation in interface FederationStreampublic FederationStreamConfiguration getConfig()
getConfig in interface FederationStreampublic SimpleString getName()
getName in interface FederationStreampublic FederationConnection getConnection()
getConnection in interface FederationStreampublic String getUser()
getUser in interface FederationStreampublic String getPassword()
getPassword in interface FederationStreampublic int getPriorityAdjustment()
getPriorityAdjustment in interface FederationStreamprotected void callFederationStreamStartedPlugins()
protected void callFederationStreamStoppedPlugins()
Copyright © 2025 JBoss by Red Hat. All rights reserved.