servicemix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Deployed bundle without Service Unit/Assembly and classpath
Date Fri, 01 Oct 2010 11:20:27 GMT
On Fri, Oct 1, 2010 at 11:31 AM, Kévin Sailly <kevin.sailly@gmail.com> wrote:
>
> Hi,
>
> Thanks a lot!
>
> I finally get reference of my property file this way as you explain:
> <osgix:cm-properties id="routesproperties"
> persistent-id="com.xxx.mychannel"/>
>
> But taking reference of it as a camel property placeholder:
> <propertyPlaceholder id="properties" location="ref:routesprops"/>
>
> This way I can confugure my camel routes using a config properties file
> setting the protocol for example:
> <route>
>      <from uri="{{protocol}}://0.0.0.0:9999/myservice"/>
>

Nice.

But talk about 2-3 levels of indirection to have that {{protocol}} in
the route :)


>
> Regards,
> Kévin Sailly
> --
> View this message in context: http://servicemix.396122.n5.nabble.com/Deployed-bundle-without-Service-Unit-Assembly-and-classpath-tp3047197p3072283.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Mime
View raw message