Uploaded image for project: 'SwitchYard'
  1. SwitchYard
  2. SWITCHYARD-614

JMS Headers not available on Camel Route

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 0.3
    • Fix Version/s: 0.4
    • Component/s: component-camel
    • Labels:
      None
    • Environment:

      MacOSX 10.7.2, java version "1.6.0_29" jboss-as-7.1.0.CR1b

    • Steps to Reproduce:
      Hide
      • git clone https://github.com/cvasilak/nms-java-parent
      • cd nms-java-parent
      • mvn install
      • cd ..
      • git clone https://github.com/cvasilak/svc-rrd-parent
      • cd svc-rrd-parent
      • mvn clean install -Dmaven.test.skip=true
      • cp svc-rrd-model/target/svc-rrd-model-1.0-SNAPSHOT.jar /jboss-as-7.1.0.CR1b/standalone/deployments/
      • cp svc-rrd-service/target/svc-rrd-service-1.0-SNAPSHOT.jar /jboss-as-7.1.0.CR1b/standalone/deployments/
      • cd svc-rrd-service/
      • mvn test

      The test will create A JMS message, set a header property to "type":"register" and send it to server together with JSON payload body.

      Watch on the console that only the property breadcrumbId is printed out.

      10:25:35,639 INFO [stdout] (Camel (camel-4) thread #0 - JmsConsumer[svc_rrd_ctrl_bus) breadcrumbId: ID-casper-rd-forthnet-gr-50333-1326443118227-1-2

      Show
      git clone https://github.com/cvasilak/nms-java-parent cd nms-java-parent mvn install cd .. git clone https://github.com/cvasilak/svc-rrd-parent cd svc-rrd-parent mvn clean install -Dmaven.test.skip=true cp svc-rrd-model/target/svc-rrd-model-1.0-SNAPSHOT.jar /jboss-as-7.1.0.CR1b/standalone/deployments/ cp svc-rrd-service/target/svc-rrd-service-1.0-SNAPSHOT.jar /jboss-as-7.1.0.CR1b/standalone/deployments/ cd svc-rrd-service/ mvn test The test will create A JMS message, set a header property to "type":"register" and send it to server together with JSON payload body. Watch on the console that only the property breadcrumbId is printed out. 10:25:35,639 INFO [stdout] (Camel (camel-4) thread #0 - JmsConsumer[svc_rrd_ctrl_bus) breadcrumbId: ID-casper-rd-forthnet-gr-50333-1326443118227-1-2

      Description

      When trying to access the JMS headers from a Camel Route, the list returned contains only one property[breadcrumbId]. All other properties are discarded.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                dward David Ward
                Reporter:
                cvasilak Christos Vasilakis
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: