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