Class BrokerSubscriptionInfo

java.lang.Object
org.apache.activemq.command.BaseCommand
org.apache.activemq.command.BrokerSubscriptionInfo
All Implemented Interfaces:
Command, DataStructure

public class BrokerSubscriptionInfo extends BaseCommand
Used to represent the durable subscriptions contained by the broker This is used to synchronize durable subs on bridge creation
  • Field Details

  • Constructor Details

    • BrokerSubscriptionInfo

      public BrokerSubscriptionInfo()
    • BrokerSubscriptionInfo

      public BrokerSubscriptionInfo(String brokerName)
  • Method Details

    • copy

      public BrokerSubscriptionInfo copy()
    • visit

      public Response visit(CommandVisitor visitor) throws Exception
      Throws:
      Exception
    • getDataStructureType

      public byte getDataStructureType()
      Returns:
      The type of the data structure
    • getBrokerId

      public BrokerId getBrokerId()
    • setBrokerId

      public void setBrokerId(BrokerId brokerId)
    • getBrokerName

      public String getBrokerName()
    • setBrokerName

      public void setBrokerName(String brokerName)
    • getSubscriptionInfos

      public ConsumerInfo[] getSubscriptionInfos()
    • setSubscriptionInfos

      public void setSubscriptionInfos(ConsumerInfo[] subscriptionInfos)