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

Camel-quartz: endpoint enriches job detail with wrong type of data (should be String)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.16.0
    • 3.14.3, 3.16.0
    • camel-quartz
    • None
    • Unknown

    Description

      During implementation of tests for camel-quarkus's quartz extension (issue) I hit an issue.

      There is a code in QuartzEndpoint, which enriches `jobDetrail` , see code. Unfortunatelly Quartz allows only `String` in this map - see code. Otherwise exception is thrown:

      Caused by: java.io.IOException: JobDataMap values must be Strings when the 'useProperties' property is set.  Key of offending value: CamelQuartzTriggerSimpleRepeatInterval
      

      Conversion of the values into String types solves the issue.

      Attachments

        Issue Links

          Activity

            People

              jondruse Jiri Ondrusek
              jondruse Jiri Ondrusek
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: