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 theConsumerListener.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TgetConsumerListener()Gets theConsumerListenerinstancevoidsetConsumerListener(T consumerListener)Injects theConsumerListenerinstance into the object
-
-
-
Method Detail
-
setConsumerListener
void setConsumerListener(T consumerListener)
Injects theConsumerListenerinstance into the object- Parameters:
consumerListener- the consumer listener instance
-
getConsumerListener
T getConsumerListener()
Gets theConsumerListenerinstance- Returns:
- the consumer listener instance
-
-