public interface MessageSource
void setDistributionAsCancel(String msg_key, String subscriber_key) throws Exception
Exceptionvoid setDistributionAsSucceed(String msg_key, String subscriber_key) throws Exception
Exceptionlong addMessage(int topic_id,
String topic_name,
String content)
throws Exception
Exceptionlong addMessage(String msg_key, String trace_id, String tags, int topic_id, String topic_name, String content, Date plan_time) throws Exception
ExceptionList<MessageModel> getMessageListOfPending(int rows, long dist_nexttime) throws Exception
ExceptionMessageModel getMessageById(long msg_id) throws Exception
Exceptionvoid setMessageRouteState(MessageModel msg, boolean dist_routed)
boolean setMessageState(MessageModel msg, MessageState state)
boolean setMessageState(MessageModel msg, MessageState state, long dist_nexttime)
boolean setMessageRepet(MessageModel msg, MessageState state)
void addDistributionNoLock(MessageModel msg, SubscriberModel subs) throws Exception
ExceptionList<DistributionModel> getDistributionListByMsg(long msg_id) throws Exception
Exceptionboolean setDistributionState(MessageModel msg, DistributionModel dist, MessageState state)
MessageModel getMessageByKey(String msg_key) throws Exception
ExceptionList<MessageModel> getMessageList(int dist_count, int topic_id) throws Exception
ExceptionList<MessageModel> getMessageList(int _m, String key) throws Exception
ExceptionList<DistributionModel> getDistributionListByMsgIds(List<Object> ids) throws Exception
Exceptionboolean setDistributionReceiveUrl(long dist_id,
String receive_url)
throws Exception
Exceptionboolean setMessageAsPending(List<Object> ids) throws Exception
Exceptionboolean setMessageAsCancel(List<Object> ids) throws Exception
ExceptionCopyright © 2021. All rights reserved.