camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Endpoint Uri not recognized but functional, possible bug.
Date Sat, 26 Jan 2013 10:18:40 GMT
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 <lleclerc@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

Mime
View raw message