Uploaded image for project: 'Spring Data Geode'
  1. Spring Data Geode
  2. DATAGEODE-127

Add quick start reference to the "Bootstrapping Apache Geode Using Annotations" chapter

    XMLWordPrintable

    Details

      Description

      Add quick reference section pairing annotations so users can get started even quicker.

      For example, to enable Apache Geode CQ for event stream processing, users would need to @EnableGemFireContinuousQueries and then annotate 1 or more of their Spring component/bean POJO methods with @ContinuousQuery, like so..

      @Configuration
      @ClientCacheApplication
      @EnableContinuousQueries
      class MyApacheGeodeConfiguration {
      
        ...
      
        @ContinuousQuery(name = "ExampleQuery", query = "SELECT * FROM /ExampleRegion WHERE ...")
        public void processExampleRegionEvents(CqEvent event) {
          ...
        }
      

        Attachments

          Activity

            People

            Assignee:
            jblum John Blum
            Reporter:
            jblum John Blum
            Last updater:
            Oliver Drotbohm
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: