com.taobao.metamorphosis.client.consumer
接口 RejectConsumptionHandler
- 所有已知实现类:
- SimpleMessageConsumer.DropPolicy, SimpleMessageConsumer.LocalRecoverPolicy
public interface RejectConsumptionHandler
Created with IntelliJ IDEA.
User: dennis (xzhuang@avos.com)
Date: 13-2-5
Time: 上午11:18
方法摘要 |
void |
rejectConsumption(Message message,
MessageConsumer messageConsumer)
Method that may be invoked by a MessageConsumer when receiveMessages cannot process a message when retry too many times. |
rejectConsumption
void rejectConsumption(Message message,
MessageConsumer messageConsumer)
- Method that may be invoked by a MessageConsumer when receiveMessages cannot process a message when retry too many times.
- 参数:
message
- messageConsumer
-
Copyright © 2010–2013. All rights reserved.