camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark <>
Subject PropertyPlaceholder with Java DSL in OSGi Blueprint
Date Wed, 24 Aug 2016 02:17:59 GMT
I have a PropertyPlaceholder defined in my Blueprint file and in my
blueprint file I define the package that contains my Java DSL routes.  It
looks something like this:

<blueprint .....>
<cm:property-placeholder persistent-id="my-config" update-strategy="reload">
   <cm:property name="port" value="12345" />
   <cm:property name="remoteHost" value="" />
   <cm:property name="remotePort" value="8080" />

<camelContext id="my-context" xmlns="">

My routes connects to an external system, so I'd like to change the IP/port
when I deploy my system.  The problem is that when I update the
configuration in ServiceMix, it never gets picked up in the Java DSL.  Is
there something that I need to do that I'm not doing?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message