Interface QueueConsumer<T>
- All Superinterfaces:
org.apache.curator.framework.state.ConnectionStateListener
- All Known Implementing Classes:
BlockingQueueConsumer
public interface QueueConsumer<T>
extends org.apache.curator.framework.state.ConnectionStateListener
Message Consumer
-
Method Summary
Modifier and TypeMethodDescriptionvoidconsumeMessage(T message) Process a message from the queueMethods inherited from interface org.apache.curator.framework.state.ConnectionStateListener
doNotProxy, stateChanged
-
Method Details
-
consumeMessage
Process a message from the queue- Parameters:
message- message to process- Throws:
Exception- any errors
-