com.taobao.metamorphosis.client.consumer
类 SimpleMessageConsumer.DropPolicy
java.lang.Object
com.taobao.metamorphosis.client.consumer.SimpleMessageConsumer.DropPolicy
- 所有已实现的接口:
- RejectConsumptionHandler
- 包容类:
- SimpleMessageConsumer
public static class SimpleMessageConsumer.DropPolicy
- extends Object
- implements RejectConsumptionHandler
Created with IntelliJ IDEA. User: dennis (xzhuang@avos.com) Date: 13-2-5
Time: 上午11:29
方法摘要 |
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. |
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleMessageConsumer.DropPolicy
public SimpleMessageConsumer.DropPolicy()
rejectConsumption
public void rejectConsumption(Message message,
MessageConsumer messageConsumer)
- 从接口
RejectConsumptionHandler
复制的描述
- Method that may be invoked by a MessageConsumer when receiveMessages cannot process a message when retry too many times.
- 指定者:
- 接口
RejectConsumptionHandler
中的 rejectConsumption
Copyright © 2010–2013. All rights reserved.