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.ConnectionStateListenerMessage Consumer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidconsumeMessage(T message)Process a message from the queue
-
-
-
Method Detail
-
consumeMessage
void consumeMessage(T message) throws java.lang.Exception
Process a message from the queue- Parameters:
message- message to process- Throws:
java.lang.Exception- any errors
-
-