Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-19100

Milo component does not use dataChangeFilterTrigger value from route

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.20.2, 3.x
    • 3.20.3, 3.21.0
    • camel-milo
    • None
    • Patch Available
    • Novice
    • Patch

    Description

      The dataChangeFilterTrigger configured is not applied when the monitoring is set up.

       
       

      return new DataChangeFilter(
         DataChangeTrigger.StatusValueTimestamp,
         this.getDataChangeFilterDeadbandType(),
         this.getDataChangeFilterDeadbandValue());
      }

      I think the code above has to be changed to something like this:

        

      return new DataChangeFilter(
      this.dataChangeFilterTrigger != null ? this.dataChangeFilterTrigger : DataChangeTrigger.StatusValueTimestamp,
      this.getDataChangeFilterDeadbandType(),
      this.getDataChangeFilterDeadbandValue());
      }

      Attachments

        1. filter.patch
          1 kB
          Gunnar Rangøy

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rangoy Gunnar Rangøy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: