/** * Checks if the message being processed now is the last of the batch being processed in this unit of work. * * @return {@code true} if the message is the last of this batch, {@code false} otherwise */ public boolean isLastMessage() { return isLastMessage(getMessage()); }
/** * Checks if the message being processed now is the first of the batch being processed in this unit of work. * * @return {@code true} if the message is the first of this batch, {@code false} otherwise */ public boolean isFirstMessage() { return isFirstMessage(getMessage()); }
/** * Checks if the message being processed now is the first of the batch being processed in this unit of work. * * @return {@code true} if the message is the first of this batch, {@code false} otherwise */ public boolean isFirstMessage() { return isFirstMessage(getMessage()); }
/** * Checks if the message being processed now is the last of the batch being processed in this unit of work. * * @return {@code true} if the message is the last of this batch, {@code false} otherwise */ public boolean isLastMessage() { return isLastMessage(getMessage()); }
/** * Checks if the message being processed now is the first of the batch being processed in this unit of work. * * @return {@code true} if the message is the first of this batch, {@code false} otherwise */ public boolean isFirstMessage() { return isFirstMessage(getMessage()); }
/** * Checks if the message being processed now is the last of the batch being processed in this unit of work. * * @return {@code true} if the message is the last of this batch, {@code false} otherwise */ public boolean isLastMessage() { return isLastMessage(getMessage()); }