com.aliyun.openservices.ons.api.spi.InvocationContext Maven / Gradle / Ivy
package com.aliyun.openservices.ons.api.spi;
import com.aliyun.openservices.ons.api.Action;
import com.aliyun.openservices.ons.api.Message;
import com.aliyun.openservices.ons.api.SendResult;
import com.aliyun.openservices.ons.api.exception.ONSClientException;
import com.aliyun.openservices.ons.api.order.OrderAction;
import com.google.common.base.Optional;
import java.util.List;
import java.util.Map;
public interface InvocationContext {
Optional> getMessages();
Optional getSendResult();
Optional getException();
Optional getAction();
void setAction(Action action);
Optional getOrderAction();
void setOrderAction(OrderAction orderAction);
Optional getConsumerGroup();
Optional getNamespaceId();
Map getAttributes();
}