On 8/8/07, James Zhang <[EMAIL PROTECTED]> wrote:
>
>
>
> James.Strachan wrote:
> >
> > On 8/8/07, jameszhang <[EMAIL PROTECTED]> wrote:
> >> I have run the following testcase,and the result is failed too.
> >>
> >> //------------------ START SNIPPET
> >> package org.apache.camel.component.file;
> >>
> >> import java.io.File;
> >>
> >> import org.apache.camel.ContextTestSupport;
> >> import org.apache.camel.Exchange;
> >>
> >> public class FileExchangeTest extends ContextTestSupport {
> >>
> >>          public void testCopy() {
> >>
> >>                  File file = new
> >> File(FileExchangeTest.class.getResource("FileExchangeTest.class").getFile());
> >>                  FileExchange fileExchange = new
> >> FileExchange(context,file);
> >>                  Exchange exchange = fileExchange.copy();
> >>                  assertTrue("the copy of a FileExchange is not a
> >> FileExchange instance",
> >>
> >> exchange instanceof FileExchange);
> >>          }
> >>
> >> }
> >> //------------------ END SNIPPET
> >>
> >> Thanks very much.
> >
> > Great catch James!
> >
> > I've added this test case to camel-core along with a patch to fix it -
> > many thanks.
> > --
> > James
> > -------
> > http://macstrac.blogspot.com/
> >
> >
>
>
> OK.
> I think I can write the spring example now.

Great! :)
-- 
James
-------
http://macstrac.blogspot.com/

Reply via email to