Class DivertControlImpl

All Implemented Interfaces:
DynamicMBean, MBeanRegistration, DivertControl

public class DivertControlImpl extends AbstractControl implements DivertControl
  • Constructor Details

  • Method Details

    • getAddress

      public String getAddress()
      Description copied from interface: DivertControl
      Returns the origin address used by this divert.
      Specified by:
      getAddress in interface DivertControl
      Returns:
      the origin address used by this divert
    • getFilter

      public String getFilter()
      Description copied from interface: DivertControl
      Returns the filter used by this divert.
      Specified by:
      getFilter in interface DivertControl
      Returns:
      the filter used by this divert
    • getForwardingAddress

      public String getForwardingAddress()
      Description copied from interface: DivertControl
      Returns the forwarding address used by this divert.
      Specified by:
      getForwardingAddress in interface DivertControl
      Returns:
      the forwarding address used by this divert
    • getRoutingName

      public String getRoutingName()
      Description copied from interface: DivertControl
      Returns the routing name of this divert.
      Specified by:
      getRoutingName in interface DivertControl
      Returns:
      the routing name of this divert
    • getTransformerClassName

      public String getTransformerClassName()
      Description copied from interface: DivertControl
      Returns the name of the org.apache.activemq.artemis.core.server.transformer.Transformer implementation associated with this divert.
      Specified by:
      getTransformerClassName in interface DivertControl
      Returns:
      the name of the org.apache.activemq.artemis.core.server.transformer.Transformer implementation associated with this divert
    • getTransformerPropertiesAsJSON

      public String getTransformerPropertiesAsJSON()
      Description copied from interface: DivertControl
      Returns a map of key/value pairs used to configure the transformer in JSON form.
      Specified by:
      getTransformerPropertiesAsJSON in interface DivertControl
      Returns:
      a map of key/value pairs used to configure the transformer in JSON form
    • getTransformerProperties

      public Map<String,String> getTransformerProperties()
      Description copied from interface: DivertControl
      Returns a map of the key/value pairs used to configure the transformer.
      Specified by:
      getTransformerProperties in interface DivertControl
      Returns:
      a map of the key/value pairs used to configure the transformer
    • getRoutingType

      public String getRoutingType()
      Description copied from interface: DivertControl
      Returns the routing type used by this divert.
      Specified by:
      getRoutingType in interface DivertControl
      Returns:
      the routing type used by this divert
    • getUniqueName

      public String getUniqueName()
      Description copied from interface: DivertControl
      Returns the cluster-wide unique name of this divert.
      Specified by:
      getUniqueName in interface DivertControl
      Returns:
      the cluster-wide unique name of this divert
    • isExclusive

      public boolean isExclusive()
      Description copied from interface: DivertControl
      Returns true if messages will be exclusively diverted and will not be routed to the origin address; otherwise false if messages will be routed both to the origin address and the forwarding address.
      Specified by:
      isExclusive in interface DivertControl
      Returns:
      true if messages will be exclusively diverted and will not be routed to the origin address; otherwise false if messages will be routed both to the origin address and the forwarding address
    • isRetroactiveResource

      public boolean isRetroactiveResource()
      Specified by:
      isRetroactiveResource in interface DivertControl
    • fillMBeanOperationInfo

      protected MBeanOperationInfo[] fillMBeanOperationInfo()
      Specified by:
      fillMBeanOperationInfo in class AbstractControl
    • fillMBeanAttributeInfo

      protected MBeanAttributeInfo[] fillMBeanAttributeInfo()
      Specified by:
      fillMBeanAttributeInfo in class AbstractControl