Interface AMQPBridgeReceiverControl

All Known Implementing Classes:
AMQPBridgeReceiverControlType

public interface AMQPBridgeReceiverControl
Management interface that is backed by an active bridge receiver that was created when demand was applied to a matching address or queue.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the address that will be used for this bridge receiver instance.
    Gets the filter string that will be used when creating the remote receiver.
    Gets the FQQN that comprises the address and queue where the remote receiver will be attached.
    long
    Returns the number of messages this bridge receiver has received from the remote.
    int
    Gets the priority value that will be requested for the remote receiver that is created.
    Gets the queue name that will be used for this bridge receiver instance.
    Returns the type of bridge receiver being represented.
    Gets the routing type that will be requested when creating a receiver on the remote server.
  • Method Details

    • getMessagesReceived

      long getMessagesReceived()
      Returns the number of messages this bridge receiver has received from the remote.
      Returns:
      the number of messages this bridge receiver has received from the remote
    • getRole

      String getRole()
      Returns the type of bridge receiver being represented.
      Returns:
      the type of bridge receiver being represented
    • getQueueName

      String getQueueName()
      Gets the queue name that will be used for this bridge receiver instance. For Queue bridge this will be the name of the queue whose messages are being bridged to this server instance. For an Address bridge this will be an automatically generated name that should be unique to a given bridge instance
      Returns:
      the queue name associated with the bridge receiver
    • getAddress

      String getAddress()
      Gets the address that will be used for this bridge receiver instance. For Queue bridge this is the address under which the matching queue must reside. For Address bridge this is the actual address whose messages are being bridged.
      Returns:
      the address associated with this bridge receiver.
    • getFqqn

      String getFqqn()
      Gets the FQQN that comprises the address and queue where the remote receiver will be attached.
      Returns:
      provides the FQQN that can be used to address the receiver queue directly.
    • getRoutingType

      String getRoutingType()
      Gets the routing type that will be requested when creating a receiver on the remote server.
      Returns:
      the routing type of the remote receiver.
    • getFilterString

      String getFilterString()
      Gets the filter string that will be used when creating the remote receiver.

      For a queue bridge the filter is selected from configuration if one was set or if the consumer that generated to demand that creates the bridge carries a filter that value is chosen, otherwise any filter that is set on the bridged queue is chosen.

      For an address bridge the filter only exists if one was set in the bridge from address policy configuration.

      Returns:
      the filter string in use for the bridge receiver.
    • getPriority

      int getPriority()
      Gets the priority value that will be requested for the remote receiver that is created.
      Returns:
      the assigned receiver priority for the bridge receiver.