You need to register the endpoint outside spring, as <endpoint> is for
spring/blueprint only.

Just register it in whatever registry that akka offers. There must be
some way of injecting a endpoint into akka, that Camel can lookup.

and mind that <route> is not spring, Camel is able to load routes from
xml files, without spring. Its just for historical reasons that the
namespace has /spring. We may likely change that namespace for Camel
3.0 onwards.


On Mon, Jul 14, 2014 at 3:25 AM, simafengyun <273132...@qq.com> wrote:
> Yes, the camel context is not defined inside of spring configuration file
> because akka has it's own camel context. So do you have any suggestion to
> fix it?
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/How-to-use-a-public-endpoint-outside-of-camecontext-tp5752336p5753761.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Reply via email to