Re: Camel2.17: No bean could be found in the registry

2016-05-11 Thread bprager
Eventually I would like to use Consul as a remote registry. ( https://github.com/bprager/camel-consul <https://github.com/bprager/camel-consul> ) With the example I provided, I am just trying to get a Spring Boot environment ready to any third party registry. -- View this message in c

Re: Camel2.17: No bean could be found in the registry

2016-05-11 Thread bprager
Yogesh. Yes, Consul is similar to ZooKeeper, but has some more advanced features in terms of health-check and multi-datacenter support. If you look at the test cases in my GitHub ( https://github.com/bprager/camel-consul <https://github.com/bprager/camel-consul> ) you will see, I have

Re: Camel2.17: No bean could be found in the registry

2016-05-11 Thread bprager
Yes, I was missing this. How do I do that in a Camel Spring Boot environment? The context is already provided by the Spring Boot Camel auto-configuration. Thank you! -- View this message in context: http://camel.465427.n5.nabble.com/Camel2-17-No-bean-could-be-found-in-the-registry-tp5782311p57

Camel2.17: No bean could be found in the registry

2016-05-07 Thread bprager
I am trying to get my resource uri for Jetti from a bean.My code: SimpleRegistry registry = new SimpleRegistry();registry.put("myBean", new String("resource:source1.html")); CamelContext context = new DefaultCamelContext(registry); String test = (String) registry.lookup("myBean");logger.info(test);

Re: Camel - Consul integration

2016-03-31 Thread bprager
The camel-consul component implements the Camel pluggable Registry strategy for Consul. (Basically, it allows you to persist and retrieve your beans in Consul. The complete Camel registry plugin API is supported.) So if your route is returned from a bean method you then store in Consul, yes you sh

Re: User stories Wiki entry

2015-10-02 Thread bprager
Thank you guys! -- View this message in context: http://camel.465427.n5.nabble.com/User-stories-Wiki-entry-tp5772179p5772193.html Sent from the Camel - Users mailing list archive at Nabble.com.

User stories Wiki entry

2015-10-02 Thread bprager
I wrote a Camel Registry plug-in for the Consul service registry. It is available on GitHub <https://github.com/bprager/camel-consul> . If there is any interest I would appreciate you testing it. I would also use the opportunity to list it on the Wiki page <http://camel.apache

custom Registry in CamelTestSupport

2015-09-30 Thread bprager
I am trying to unit test a custom registry. The createRegistry() method which I try to override exist only for JndiRegistry. How do I use a custom registry? Thank you. -- View this message in context: http://camel.465427.n5.nabble.com/custom-Registry-in-CamelTestSupport-tp5772135.html Sent fro