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

Dozer variable mapping doesn't work on karaf

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.15.6, 2.17.0, 2.18.0
    • 2.16.4, 2.17.2, 2.18.0
    • camel-dozer, karaf
    • None
    • Unknown

    Description

      The configuration variables defined in transformation.xml is not resolved to the value on karaf. Attached reproducer CAMEL-9921.tgz shows this behavior using Pax Exam, camel-2.18-SNAPSHOT and karaf-4.0.5.

      Steps to reproduce

      1. Unpack CAMEL-9921.tgz
      2. Run 'mvn clean package'
      3. PaxExamTest fails with following error, which shows the variable mapping doesn't work in karaf while it succeeds in CamelBlueprintTest
        test(org.apache.camel.component.dozer.PaxExamTest)  Time elapsed: 15.878 sec  <<< FAILURE!
        org.junit.ComparisonFailure: expected:<[ACME-SALES]> but was:<[${CUST_ID}]>
            at org.apache.camel.component.dozer.PaxExamTest.test(PaxExamTest.java:89)
        

      Attachments

        1. CAMEL-9921.tgz
          9 kB
          Tomohisa Igarashi

        Activity

          People

            davsclaus Claus Ibsen
            igarashitm Tomohisa Igarashi
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: