You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by "raulvk.soa" <ra...@gmail.com> on 2008/11/21 21:13:48 UTC
Using a Registry for storing endpoint URIs
Hi everyone,
We are using Camel intensively inside ServiceMix as a mediation/routing
engine between JBI endpoints and I was just wondering whether its possible
to load endpoint references/URIs from a Registry/Directory, perhaps via
JNDI?
Currently we have all endpoint URIs hardcoded inside the routes (defined in
Java DSL), but I would like to have them specified externally so that when
some endpoint needs to be changed in the future, we don't need to modify,
recompile and redeploy the route itself.
Or perhaps loading from an external property file if having a Registry is
not supported?
If a Registry is supported, would it be a Registry exclusive to Camel or is
it possible to use ServiceMix's registry
(http://servicemix.apache.org/jndi-configuration.html)?
Many thanks!!
--
View this message in context: http://www.nabble.com/Using-a-Registry-for-storing-endpoint-URIs-tp20628754s22882p20628754.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Using a Registry for storing endpoint URIs
Posted by James Strachan <ja...@gmail.com>.
2008/11/24 Claus Ibsen <cl...@gmail.com>:
> Hi
>
> Could you check the reply by James on this other related topic:
> http://www.nabble.com/Registry-Repository-support-in-CAMEL-tt20541572s22882.html
Yeah - its maybe not immediately obvious but ServiceMix and JBI
actually is a registry of endpoints; it lets you use logical URIs in
your routes and then bind them to any physical endpoints you wish.
See here...
http://activemq.apache.org/camel/jbi.html
so you'd use the JBI logical names for things (like WSDL QNames for
interface / endpoint names which are protocol agnostic) in your
routes. Then you deploy whatever physical components/endpoints you
wish into the JBI bus and the JBI NMR maps the logical names to the
physical names.
--
James
-------
http://macstrac.blogspot.com/
Open Source Integration
http://fusesource.com/
Re: Using a Registry for storing endpoint URIs
Posted by Claus Ibsen <cl...@gmail.com>.
Hi
Could you check the reply by James on this other related topic:
http://www.nabble.com/Registry-Repository-support-in-CAMEL-tt20541572s22882.html
/Claus Ibsen
Apache Camel Committer
Blog: http://davsclaus.blogspot.com/
On Fri, Nov 21, 2008 at 9:13 PM, raulvk.soa <ra...@gmail.com> wrote:
>
> Hi everyone,
>
> We are using Camel intensively inside ServiceMix as a mediation/routing
> engine between JBI endpoints and I was just wondering whether its possible
> to load endpoint references/URIs from a Registry/Directory, perhaps via
> JNDI?
>
> Currently we have all endpoint URIs hardcoded inside the routes (defined in
> Java DSL), but I would like to have them specified externally so that when
> some endpoint needs to be changed in the future, we don't need to modify,
> recompile and redeploy the route itself.
>
> Or perhaps loading from an external property file if having a Registry is
> not supported?
>
> If a Registry is supported, would it be a Registry exclusive to Camel or is
> it possible to use ServiceMix's registry
> (http://servicemix.apache.org/jndi-configuration.html)?
>
> Many thanks!!
> --
> View this message in context: http://www.nabble.com/Using-a-Registry-for-storing-endpoint-URIs-tp20628754s22882p20628754.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>