Determining a Reply Event's Type
The following methods are provided to help your client application determine what type of reply event has been received.
Use the
BrokerEvent.isAckReply method to determine whether an event is an acknowledgment reply.
Use the
BrokerEvent.isErrorReply method to determine whether an event is an error reply.
Use the
BrokerEvent.isLastReply method to determine whether an event is the last reply in a sequence.
Use the
BrokerEvent.isNullReply method to determine whether an event is a null reply.