use of org.apache.camel.component.zookeeper.operations.DataChangedOperation in project camel by apache.
the class ZooKeeperConsumer method addBasicDataConsumeSequence.
private void addBasicDataConsumeSequence(String node) {
operations.clear();
operations.add(new AnyOfOperations(node, new ExistsOperation(connection, node), new ExistenceChangedOperation(connection, node)));
operations.add(new GetDataOperation(connection, node));
operations.add(new DataChangedOperation(connection, node, false, configuration.isSendEmptyMessageOnDelete()));
}
Aggregations