You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by Hadrian Zbarcea <hz...@gmail.com> on 2009/07/31 05:47:14 UTC

Re: svn commit: r799499 - /camel/trunk/components/camel-rmi/src/test/java/org/apache/camel/component/rmi/RmiRouteEndpointTest.java

I wonder how this was tested in the first place...
Thanks Willem,
Hadrian

On Jul 30, 2009, at 11:09 PM, ningjiang@apache.org wrote:

> Author: ningjiang
> Date: Fri Jul 31 03:09:41 2009
> New Revision: 799499
>
> URL: http://svn.apache.org/viewvc?rev=799499&view=rev
> Log:
> Fixed the test error of RmiRouteEndpointTest
>
> Modified:
>    camel/trunk/components/camel-rmi/src/test/java/org/apache/camel/ 
> component/rmi/RmiRouteEndpointTest.java
>
> Modified: camel/trunk/components/camel-rmi/src/test/java/org/apache/ 
> camel/component/rmi/RmiRouteEndpointTest.java
> URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-rmi/src/test/java/org/apache/camel/component/rmi/RmiRouteEndpointTest.java?rev=799499&r1=799498&r2=799499&view=diff
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> ======================================================================
> --- camel/trunk/components/camel-rmi/src/test/java/org/apache/camel/ 
> component/rmi/RmiRouteEndpointTest.java (original)
> +++ camel/trunk/components/camel-rmi/src/test/java/org/apache/camel/ 
> component/rmi/RmiRouteEndpointTest.java Fri Jul 31 03:09:41 2009
> @@ -37,7 +37,7 @@
>             public void configure() throws Exception {
>                 RmiEndpoint say = new RmiEndpoint();
>                 say.setCamelContext(context);
> -                say.setUri(new URI("uri://localhost:37542/bye"));
> +                say.setUri(new URI("rmi://localhost:37542/bye"));
>
>                 from("direct:hello").to(say);
>
> @@ -46,7 +46,7 @@
>                 RmiEndpoint bye = new RmiEndpoint();
>                 bye.setCamelContext(context);
>                 bye.setRemoteInterfaces(ISay.class);
> -                bye.setUri(new URI("uri://localhost:37542/bye"));
> +                bye.setUri(new URI("rmi://localhost:37542/bye"));
>
>                 from(bye).to("bean:bye");
>             }
>
>