camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mirko Caserta <mirko.case...@nexse.com>
Subject Re: Camel Validator Eats the Message
Date Tue, 23 Aug 2011 19:52:51 GMT
Hi,
try to enable stream caching:

http://camel.apache.org/stream-caching.html

It has worked for me with disappearing messages :)

Mirko

On Tue, Aug 23, 2011 at 9:47 PM, dougman82 <dougman82@gmail.com> wrote:
> Hello all,
>
> Just to be quick, I've got a camel route that looks something like this:
>
> <route id="myRoute">
>   <from uri="blahblah" />
>   <to uri="anEndpointThatGivesAResponse" />
>   <to uri="xslt:/path/to/transform" />
> </route>
>
> Basically, a message is delivered to an endpoint and a response is received
> which is then transformed using an XSL stylesheet, and the result is given
> back to the original requester. This works just fine.
>
> My new requirement is to add an XML schema validation step:
>
> <route id="myRoute">
>   <from uri="blahblah" />
>   <to uri="anEndpointThatGivesAResponse" />
>   <to uri="xslt:/path/to/transform" />
>   <to uri="validator:/path/to/schema/file" />
> </route>
>
> When I add that last step to the route, the XML message is successfully
> validated, but in the process, the message gets eaten. It seems that the
> validation step stops the route, and the original requester gets nothing
> back.
>
> I'm hoping I have overlooked something very basic about Camel. Any thoughts?
>
> By the way, I am using Camel 2.6 with Spring 3.0.5.
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Camel-Validator-Eats-the-Message-tp4728003p4728003.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Mime
View raw message