camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Taariq Levack <taar...@gmail.com>
Subject Re: noob spring testing question
Date Fri, 05 Aug 2011 12:56:51 GMT
Forgive the ambiguity, it should be set on the consumer, but it's not set on the consumer in
your code. [1]
I don't know about your logging, you might have another config for test, or try a breakpoint
on the send. But you want to send a file, not a string that points to the file.

[1] <camel:from uri="file:/archive/inbox/>

Taariq

On 05 Aug 2011, at 2:01 PM, dunnlow <dunnlow@yahoo.com> wrote:

> Taariq,
> Thanks for getting back.  Can you explain your point for #2.  When I look at
> the documentation for the file component
> (http://camel.apache.org/file2.html) I read it to say that the noop option
> IS on the consumer.  A route that starts with
> from("file://inbox/?noop=true") wont leave the file alone?  What is the
> right way to do this?  
> 
> Also, interestingly, I get tracer information for my application but not
> when I run my test.  It is enabled in both cases with xml in my context
> file:  <camel:camelContext id="camel" trace="true">.  I suppose things are
> failing before it gets to the tracer?
> 
> Thanks again, 
> -J
> 
> --
> View this message in context: http://camel.465427.n5.nabble.com/noob-spring-testing-question-tp4668163p4669371.html
> Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
  • Unnamed multipart/alternative (inline, 7-Bit, 0 bytes)
View raw message