Class Response

java.lang.Object
org.apache.activemq.command.BaseCommand
org.apache.activemq.command.Response
All Implemented Interfaces:
Command, DataStructure
Direct Known Subclasses:
DataArrayResponse, DataResponse, ExceptionResponse, IntegerResponse, Tracked

public class Response extends BaseCommand
  • Field Details

  • Constructor Details

    • Response

      public Response()
  • Method Details

    • getDataStructureType

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

      public int getCorrelationId()
    • setCorrelationId

      public void setCorrelationId(int responseId)
    • isResponse

      public boolean isResponse()
      Specified by:
      isResponse in interface Command
      Overrides:
      isResponse in class BaseCommand
    • isException

      public boolean isException()
    • visit

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