Hmm, let me take it back. Probably something else was wrong when I tried it.
I tested my case again and now if I do nothing to the exchange and leave
Out null, the exchange makes it through.
Vadim.
Vadim Chekan wrote:
It is. But the way you do it is read In message and write the result of
your processing into Out.
For example see marshal processor:
https://svn.apache.org/repos/asf/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/MarshalProcessor.java
BTW: I had very similar problem when I was learning Camel: I wrote my
own Processor to inspect exchange and I did not know that it is required
to copy In to Out. So I spent some time wandering where my message go :)
Any takers to extend documentation?
Vadim.
gganebnyi wrote:
I thought that processor is a way to modify existing message.
Vadim Chekan wrote:
You should set "Out" message, not "In" in your processors.