On 8/10/07, Erik Allais <[EMAIL PROTECTED]> wrote: > > How can i create this composite router? with the processor?
Yeah... from("foo").choice(). when(xpath("/foo/bar")).process(someProcesor).to("seda:a") otherwise().to("seda:b"); notice how we can mix and match arbitrary processors or endpoints inside the route. -- James ------- http://macstrac.blogspot.com/