When I add noop=true I don't get the CopyStreamException, only the
RuntimeCamelException: error sending file.
James.Strachan wrote:
>
> On 17/01/2008, borgel <[EMAIL PROTECTED]> wrote:
>>
>> I have configured the following in Spring:
>> <bean id="camel" class="org.apache.camel.spring.CamelContextFactoryBean">
>> <property name="packages" value="com.example.routes"/>
>> </bean>
>>
>> In the com.example.routes package I have one route defined as
>> public class TestRoute extends RouteBuilder {
>>
>> @Override
>> public void configure() {
>
> I wonder if you change the code to...
>
>> from("file:c:\\temp\\camel")
>
> from("file:c:\\temp\\camel?noop=true")
>
> it makes any difference?
>
> I'm wondering if the code is trying to move the file before the
> consumer has finishined processing the file?
>
> --
> James
> -------
> http://macstrac.blogspot.com/
>
> Open Source Integration
> http://open.iona.com
>
>
--
View this message in context:
http://www.nabble.com/From-file-to-ftp-tp14921828s22882p14997751.html
Sent from the Camel - Users mailing list archive at Nabble.com.