Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-5404

Dozer variable mapping doesn't work on karaf

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jboss-fuse-6.3
    • jboss-fuse-6.3
    • Camel
    • None
    • % %
    • Hide

      To run it on latest fuse distro...

      1. Checkout xml-to-json example from here - https://github.com/fusesource/fuseide/tree/master/examples/transformation/xml-to-json
      2. Change camel version to 2.17.0.redhat-630063 in its pom.xml
      3. Run mvn install
      4. Start a jboss-fuse-6.3.0.redhat-063 instance
      5. Add an URL
        JBossFuse:karaf@root> features:addurl mvn:org.jboss.tools.fuse.examples.transformation/xml-to-json/1.0.0-SNAPSHOT/xml/features
        
      6. Install the application
        JBossFuse:karaf@root> features:install xml-to-json
        
      7. Copy input file
        # cp src/data/abc-order.xml /tmp/inbox/
        
      8. Check the output file '/tmp/outbox/xyz-order.json'. You would see "origin":"${ORIGIN}" while ${ORIGIN} should have been resolved to 'Web'.
      Show
      To run it on latest fuse distro... Checkout xml-to-json example from here - https://github.com/fusesource/fuseide/tree/master/examples/transformation/xml-to-json Change camel version to 2.17.0.redhat-630063 in its pom.xml Run mvn install Start a jboss-fuse-6.3.0.redhat-063 instance Add an URL JBossFuse:karaf@root> features:addurl mvn:org.jboss.tools.fuse.examples.transformation/xml-to-json/1.0.0-SNAPSHOT/xml/features Install the application JBossFuse:karaf@root> features:install xml-to-json Copy input file # cp src/data/abc-order.xml /tmp/inbox/ Check the output file '/tmp/outbox/xyz-order.json'. You would see "origin":"${ORIGIN}" while ${ORIGIN} should have been resolved to 'Web'.
    • Sprint 5 - towards ER2

      The configuration variables defined in transformation.xml is not resolved to the value on karaf. It just works in unit test and on JBoss EAP via SwitchYard.

              acosenti Andrea Cosentino
              toigaras@redhat.com tomohisa igarashi
              Jan Kasztura Jan Kasztura (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: