Class AMQPBridgeReceiverInfo

java.lang.Object
org.apache.activemq.artemis.protocol.amqp.connect.bridge.AMQPBridgeReceiverInfo

public class AMQPBridgeReceiverInfo extends Object
Information and identification interface for AMQP bridgeManager receivers that will be created on the remote peer as demand on the local broker is detected. The behavior and meaning of some APIs in this interface may vary slightly depending on the role of the receiver (Address or Queue).
  • Constructor Summary

    Constructors
    Constructor
    Description
    AMQPBridgeReceiverInfo(org.apache.activemq.artemis.protocol.amqp.connect.bridge.AMQPBridgeReceiverInfo.ReceiverRole role, String localAddress, String localQueue, RoutingType routingType, String remoteAddress, String filterString, Integer priority)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    Returns the filter string that should be set in the remote receiver configuration.
    Returns a unique Id for the receiver being represented.
    Returns local address that the remote receiver was created for.
    Returns the local FQQN if describing a Queue receiver otherwise null for an Address receiver.
    Returns the local queue that the remote receiver was created for (null for address receiver).
    Returns the priority value to assign to the remote receiver configuration (null means no priority).
    Returns the remote address used to populate the address in the Source address of the AMQP receiver.
    org.apache.activemq.artemis.protocol.amqp.connect.bridge.AMQPBridgeReceiverInfo.ReceiverRole
    Returns the role assigned to this receiver instance.
    Returns the routing type of the local resource this receiver bridges to.
    int
     
     

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • AMQPBridgeReceiverInfo

      public AMQPBridgeReceiverInfo(org.apache.activemq.artemis.protocol.amqp.connect.bridge.AMQPBridgeReceiverInfo.ReceiverRole role, String localAddress, String localQueue, RoutingType routingType, String remoteAddress, String filterString, Integer priority)
  • Method Details

    • getId

      public String getId()
      Returns a unique Id for the receiver being represented.
      Returns:
      a unique Id for the receiver being represented
    • getRole

      public org.apache.activemq.artemis.protocol.amqp.connect.bridge.AMQPBridgeReceiverInfo.ReceiverRole getRole()
      Returns the role assigned to this receiver instance.
      Returns:
      the role assigned to this receiver instance
    • getRemoteAddress

      public String getRemoteAddress()
      Returns the remote address used to populate the address in the Source address of the AMQP receiver.
      Returns:
      the remote address used to populate the address in the Source address of the AMQP receiver
    • getLocalAddress

      public String getLocalAddress()
      Returns local address that the remote receiver was created for.
      Returns:
      local address that the remote receiver was created for
    • getLocalQueue

      public String getLocalQueue()
      Returns the local queue that the remote receiver was created for (null for address receiver).
      Returns:
      the local queue that the remote receiver was created for (null for address receiver)
    • getLocalFqqn

      public String getLocalFqqn()
      Returns the local FQQN if describing a Queue receiver otherwise null for an Address receiver.
      Returns:
      the local FQQN if describing a Queue receiver otherwise null for an Address receiver
    • getRoutingType

      public RoutingType getRoutingType()
      Returns the routing type of the local resource this receiver bridges to.
      Returns:
      the routing type of the local resource this receiver bridges to
    • getFilterString

      public String getFilterString()
      Returns the filter string that should be set in the remote receiver configuration.
      Returns:
      the filter string that should be set in the remote receiver configuration
    • getPriority

      public Integer getPriority()
      Returns the priority value to assign to the remote receiver configuration (null means no priority).
      Returns:
      the priority value to assign to the remote receiver configuration (null means no priority)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object