Hey Douglas!

Sorry for the wrong sampe. I was in a hurry...

<route id="myRoute">
  <from uri="blahblah" />
  <to uri="anEndpointThatGivesAResponse" />
  <to uri="xslt:/path/to/transform" />
  <to uri="validator:/path/to/schema/file" />
  <transform><simple>${body}</simple></transform>
</route>

Should work for you.

The reason for this behavior is, that Camel returns the out message of the
last component. Because the validator didn't provide a response (out
message), we have to have an additional component which copies the in
message into the out message...

Hope this solves your problem.

Best,
Christian

Reply via email to