> It is simply a comparison of values in the files not of the structure
> of the files. 

If you could compare via xpath then you could write that directly in Camel:

from("direct:in")
    .switch()
        .when(xpath(...)).to(...)


> Now I want to pull in some more data to the route to
> allow me to decide what needs to pass on to the next Processor in the
> chain.

sounds like EIP "content enricher"
http://camel.apache.org/content-enricher.html



> Actually, I think I should read the Enterprise Integration Patterns book. 

always good ;)



Jan

Reply via email to