Package org.apache.camel.resume
Interface ConsumerListenerAware<T extends ConsumerListener<?,?>>
public interface ConsumerListenerAware<T extends ConsumerListener<?,?>>
An interface to represent an object which wishes to support listening for consumer events using the
ConsumerListener.-
Method Summary
Modifier and TypeMethodDescriptionGets theConsumerListenerinstancevoidsetConsumerListener(T consumerListener) Injects theConsumerListenerinstance into the object
-
Method Details
-
setConsumerListener
Injects theConsumerListenerinstance into the object- Parameters:
consumerListener- the consumer listener instance
-
getConsumerListener
T getConsumerListener()Gets theConsumerListenerinstance- Returns:
- the consumer listener instance
-