public class Federation extends Object
Constructor and Description |
---|
Federation(ActiveMQServer server,
FederationConfiguration config) |
Modifier and Type | Method and Description |
---|---|
void |
deploy() |
boolean |
deploy(FederationUpstreamConfiguration upstreamConfiguration,
Map<String,FederationPolicy> federationPolicyMap) |
FederationUpstream |
get(String name) |
FederationConfiguration |
getConfig() |
SimpleString |
getName() |
boolean |
isStarted() |
void |
register(FederatedAbstract federatedAbstract) |
void |
start() |
void |
stop() |
boolean |
undeploy(String name) |
void |
unregister(FederatedAbstract federatedAbstract) |
public Federation(ActiveMQServer server, FederationConfiguration config)
public void start() throws ActiveMQException
ActiveMQException
public void stop()
public void deploy() throws ActiveMQException
ActiveMQException
public boolean isStarted()
public boolean undeploy(String name)
public boolean deploy(FederationUpstreamConfiguration upstreamConfiguration, Map<String,FederationPolicy> federationPolicyMap) throws ActiveMQException
ActiveMQException
public FederationUpstream get(String name)
public void register(FederatedAbstract federatedAbstract)
public void unregister(FederatedAbstract federatedAbstract)
public FederationConfiguration getConfig()
public SimpleString getName()
Copyright © 2019 JBoss by Red Hat. All rights reserved.