List of usage examples for org.springframework.data.gemfire.listener ContinuousQueryDefinition ContinuousQueryDefinition
public ContinuousQueryDefinition(String name, String query, ContinuousQueryListener listener)
From source file:org.springframework.integration.gemfire.inbound.ContinuousQueryMessageProducer.java
@Override protected void onInit() { super.onInit(); if (queryName == null) { queryListenerContainer.addListener(new ContinuousQueryDefinition(this.query, this, this.durable)); } else {// w w w . j a v a 2s. c o m queryListenerContainer .addListener(new ContinuousQueryDefinition(this.queryName, this.query, this, this.durable)); } }