All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.openservices.ons.api.ConsumeContext Maven / Gradle / Ivy

There is a newer version: 1.9.3.Final
Show newest version
package com.aliyun.openservices.ons.api;

/**
 * 每次消费消息的上下文,供将来扩展使用
 */
public class ConsumeContext {

    private int acknowledgeIndex;

    public ConsumeContext() {
        acknowledgeIndex = Integer.MAX_VALUE;
    }

    public int getAcknowledgeIndex() {
        return acknowledgeIndex;
    }

    public void setAcknowledgeIndex(int acknowledgeIndex) {
        this.acknowledgeIndex = acknowledgeIndex;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy