Add Annotation configuration support for Continuous Queries [DATAGEODE-38] #89
Labels
in: configuration
Issues with configuration
in: cq
Continuous Queries
type: enhancement
A general enhancement
Milestone
John Blum opened DATAGEODE-38 and commented
After building an example (CQ with JavaConfig) in the Spring GemFire Examples project showing how to configure SDG's Continuous Queries infrastructure support in JavaConfig, I realized that I could add additional support in thew new Annotation configuration model to simplify the setup and configuration of registers CQs and Listeners/callbacks that process CQ events.
Essentially, I will introduce 2 new Annotations,
@EnableContinuousQueries
to enable the SDG CQ infrastructure along with@ContinuousQuery
.@ContinuousQuery
will be a POJO method-level annotation meant to defined the CQ query and handler method that should be called back upon receiving a CQ event for that particular query.For example...
The user can enable CQ using the
@EnableContinuousQueries
annotation, as stated above, like so...This will be very similar to the core Spring Framework's "Annotation driven listener endpoints"
No further details from DATAGEODE-38
The text was updated successfully, but these errors were encountered: