/** * Convenience method to commit a message that doesn't contain a sequence number. * * @param id The ID of the message to be marked as committed. */ default void commit(String id) { commit(id, -1); }
@Override public void ack(Object id) { subscriber.commit((String) id); }
@Override public void ack(Object id) { subscriber.commit((String) id); }