Ok, I tried giving the stream caching a go, both on the route level, and on the Camel context level, and neither seemed to alleviate the issue.
Just out of curiosity, I added another step in the route in which the message gets sent to a method of a Java bean. The method does nothing but return the very message that it receives (a crude pass-through). When I do this, the message makes it all the way through and gets received by the requester. Why would the validator endpoint function one way in the "middle" of the route, but differently if it's at the end of the route? Mirko Caserta wrote: > > 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 <[email protected]> > 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. >> > -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Validator-Eats-the-Message-tp4728003p4728117.html Sent from the Camel - Users mailing list archive at Nabble.com.
