java.lang.Object
org.apache.activemq.artemis.core.protocol.core.impl.PacketImpl
org.apache.activemq.artemis.core.protocol.core.impl.wireformat.QueueAbstractPacket
All Implemented Interfaces:
Packet
Direct Known Subclasses:
SessionBindingQueryMessage, SessionCreateConsumerMessage, SessionQueueQueryMessage

public abstract class QueueAbstractPacket extends PacketImpl
  • Field Details

  • Constructor Details

    • QueueAbstractPacket

      public QueueAbstractPacket(byte type)
  • Method Details

    • getQueueName

      public SimpleString getQueueName()
    • getAddress

      public SimpleString getAddress()
    • convertQueueNames

      public final List<SimpleString> convertQueueNames(int clientVersion, List<SimpleString> queueNames)
      It converts the given queueNames using the JMS prefix found on address when clientVersion < PacketImpl.ADDRESSING_CHANGE_VERSION. If no conversion has occurred, it returns queueNames.
      Parameters:
      clientVersion - version of the client
      queueNames - names of the queues to be converted
      Returns:
      the converted queues names or queueNames when no conversion has occurred
    • getOldPrefixedAddress

      public static SimpleString getOldPrefixedAddress(SimpleString address, RoutingType routingType)