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:default-properties>
   <cm:property name="port" value="12345" />
   <cm:property name="remoteHost" value="127.0.0.1" />
   <cm:property name="remotePort" value="8080" />
  </cm:default-properties>
</cm:property-placeholder>

<camelContext id="my-context" xmlns="
http://camel.apache.org/schema/blueprint";>
   <package>com.a.b.c.d</package>
</camelContext>
</blueprint>

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?

Reply via email to