public class DivertControlImpl extends AbstractControl implements DivertControl
storageManager
Constructor and Description |
---|
DivertControlImpl(Divert divert,
StorageManager storageManager,
DivertConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
protected MBeanAttributeInfo[] |
fillMBeanAttributeInfo() |
protected MBeanOperationInfo[] |
fillMBeanOperationInfo() |
String |
getAddress()
Returns the origin address used by this divert.
|
String |
getFilter()
Returns the filter used by this divert.
|
String |
getForwardingAddress()
Returns the forwarding address used by this divert.
|
String |
getRoutingName()
Returns the routing name of this divert.
|
String |
getTransformerClassName()
Return the name of the org.apache.activemq.artemis.core.server.cluster.Transformer implementation associated with this divert.
|
String |
getUniqueName()
Returns the cluster-wide unique name of this divert.
|
boolean |
isExclusive()
Returns whether this divert is exclusive.
|
blockOnIO, clearIO, getMBeanInfo
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInterface, getParameterName, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation
public DivertControlImpl(Divert divert, StorageManager storageManager, DivertConfiguration configuration) throws Exception
Exception
public String getAddress()
DivertControl
getAddress
in interface DivertControl
public String getFilter()
DivertControl
getFilter
in interface DivertControl
public String getForwardingAddress()
DivertControl
getForwardingAddress
in interface DivertControl
public String getRoutingName()
DivertControl
getRoutingName
in interface DivertControl
public String getTransformerClassName()
DivertControl
getTransformerClassName
in interface DivertControl
public String getUniqueName()
DivertControl
getUniqueName
in interface DivertControl
public boolean isExclusive()
DivertControl
true
messages will be exclusively diverted and will not be routed to the origin address,
else messages will be routed both to the origin address and the forwarding address.isExclusive
in interface DivertControl
protected MBeanOperationInfo[] fillMBeanOperationInfo()
fillMBeanOperationInfo
in class AbstractControl
protected MBeanAttributeInfo[] fillMBeanAttributeInfo()
fillMBeanAttributeInfo
in class AbstractControl
Copyright © 2017 JBoss by Red Hat. All rights reserved.