[switchyard-issues] [JBoss JIRA] (SWITCHYARD-869) Headers are not copied to outbound camel messages

Erhard Siegl (JIRA) jira-events at lists.jboss.org
Tue Jun 12 14:15:04 EDT 2012


Erhard Siegl created SWITCHYARD-869:
---------------------------------------

             Summary: Headers are not copied to outbound camel messages
                 Key: SWITCHYARD-869
                 URL: https://issues.jboss.org/browse/SWITCHYARD-869
             Project: SwitchYard
          Issue Type: Bug
          Components: component-camel
    Affects Versions: 0.4
            Reporter: Erhard Siegl
         Attachments: camel-file-test.zip

 I created a Camel route like this:

    public void configure() {
        from("switchyard://FileService")
        .log("Received message for FileService : ${body}")
        .to("switchyard://OutputFile")
        .to("file://target/output1");
    }
 
 
where FileService is bound to a Camel file endpoint and OutputFile is bound to a Camel file as well. When I put a file "test.txt" into the input folder, I get a file with name test.txt in target/output1 (as expected), but in the directory from the switchyard endpoint I just get a generated filename.
In Camel the filename is saved in the header property CamelFileName. So appearently this header is passed correctly into the camel route from switchyard://FileService, but seems to be lost on the way out to switchyard://OutputFile.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the switchyard-issues mailing list