You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by lleclerc <ll...@aim-rg.com> on 2013/01/26 06:15:51 UTC

Endpoint Uri not recognized but functional, possible bug.

Hello,

Using camel 2.10.3

Here is the test case : http://pastie.org/5865294

Both test are success, but it doesn`t seem right. Both Endpoint are used and
working but I can`t get it back from the CamelContext if I don`t add it
directly to the CamelContext.

Thanks for your time.



--
View this message in context: http://camel.465427.n5.nabble.com/Endpoint-Uri-not-recognized-but-functional-possible-bug-tp5726311.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Endpoint Uri not recognized but functional, possible bug.

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

You should get the components from the CamelContext instead of
creating them yourselves
Often its easier to just get the endpoints without using a component

SedaEndpoint end = context.getEndpoint("seda:foo", SedaEndpoint.class);


On Sat, Jan 26, 2013 at 6:15 AM, lleclerc <ll...@aim-rg.com> wrote:
> Hello,
>
> Using camel 2.10.3
>
> Here is the test case : http://pastie.org/5865294
>
> Both test are success, but it doesn`t seem right. Both Endpoint are used and
> working but I can`t get it back from the CamelContext if I don`t add it
> directly to the CamelContext.
>
> Thanks for your time.
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Endpoint-Uri-not-recognized-but-functional-possible-bug-tp5726311.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen