public class Federation extends Object
Constructor and Description |
---|
Federation(ActiveMQServer server,
FederationConfiguration config) |
Modifier and Type | Method and Description |
---|---|
void |
deploy() |
boolean |
deploy(FederationDownstreamConfiguration downstreamConfiguration,
Map<String,FederationPolicy> federationPolicyMap) |
boolean |
deploy(FederationUpstreamConfiguration upstreamConfiguration,
Map<String,FederationPolicy> federationPolicyMap) |
FederationUpstream |
get(String name) |
FederationConfiguration |
getConfig() |
FederationDownstream |
getDownstream(String name) |
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 boolean deploy(FederationDownstreamConfiguration downstreamConfiguration, Map<String,FederationPolicy> federationPolicyMap) throws ActiveMQException
ActiveMQException
public FederationUpstream get(String name)
public FederationDownstream getDownstream(String name)
public void register(FederatedAbstract federatedAbstract)
public void unregister(FederatedAbstract federatedAbstract)
public FederationConfiguration getConfig()
public SimpleString getName()
Copyright © 2021 JBoss by Red Hat. All rights reserved.