Class AMQPBridgeSenderInfo

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

public class AMQPBridgeSenderInfo extends Object
Information and identification interface for AMQP bridge senders 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 sender (Address or Queue).
  • Constructor Details

    • AMQPBridgeSenderInfo

      public AMQPBridgeSenderInfo(org.apache.activemq.artemis.protocol.amqp.connect.bridge.AMQPBridgeSenderInfo.Role role, String localAddress, String localQueue, RoutingType routingType, String remoteAddress)
  • Method Details

    • getId

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

      public org.apache.activemq.artemis.protocol.amqp.connect.bridge.AMQPBridgeSenderInfo.Role getRole()
      Returns the role assigned to this sender instance.
      Returns:
      the role assigned to this sender instance
    • getRemoteAddress

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

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

      public String getLocalQueue()
      Returns local queue that the remote sender was created for or a local queue used to generate demand.
      Returns:
      local queue that the remote sender was created for or a local queue used to generate demand
    • getLocalFqqn

      public String getLocalFqqn()
      Returns the local FQQN if describing a Queue sender or null for an address sender.
      Returns:
      the local FQQN if describing a Queue sender or null for an address sender
    • getRoutingType

      public RoutingType getRoutingType()
      Returns the routing type of the local resource this sender bridges to.
      Returns:
      the routing type of the local resource this sender bridges to
    • 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