接口 com.taobao.metamorphosis.client.consumer.RejectConsumptionHandler
的使用

使用 RejectConsumptionHandler 的软件包
com.taobao.metamorphosis.client.consumer   
com.taobao.metamorphosis.client.extension.spring   
 

com.taobao.metamorphosis.client.consumerRejectConsumptionHandler 的使用
 

实现 RejectConsumptionHandlercom.taobao.metamorphosis.client.consumer 中的类
static class SimpleMessageConsumer.DropPolicy
          Created with IntelliJ IDEA.
static class SimpleMessageConsumer.LocalRecoverPolicy
          Created with IntelliJ IDEA.
 

返回 RejectConsumptionHandlercom.taobao.metamorphosis.client.consumer 中的方法
 RejectConsumptionHandler SimpleMessageConsumer.getRejectConsumptionHandler()
           
 RejectConsumptionHandler MessageConsumer.getRejectConsumptionHandler()
          Returns current RejectConsumptionHandler
 

参数类型为 RejectConsumptionHandlercom.taobao.metamorphosis.client.consumer 中的方法
 void SimpleMessageConsumer.setRejectConsumptionHandler(RejectConsumptionHandler rejectConsumptionHandler)
           
 void MessageConsumer.setRejectConsumptionHandler(RejectConsumptionHandler rejectConsumptionHandler)
          Sets RejectConsumptionHandler for this consumer.
 

com.taobao.metamorphosis.client.extension.springRejectConsumptionHandler 的使用
 

返回 RejectConsumptionHandlercom.taobao.metamorphosis.client.extension.spring 中的方法
 RejectConsumptionHandler MessageListenerContainer.getRejectConsumptionHandler()
          Returns RejectConsumptionHandler
 

参数类型为 RejectConsumptionHandlercom.taobao.metamorphosis.client.extension.spring 中的方法
 void MessageListenerContainer.setRejectConsumptionHandler(RejectConsumptionHandler rejectConsumptionHandler)
          set rejectConsumptionHandler
 



Copyright © 2010–2013. All rights reserved.