3 Replies Latest reply on Mar 10, 2008 9:23 AM by Kevin Conner

    Dynamic configuration of fs-message-filter

    Luc DEW Newbie

      Hi,

      I would like to avoid using hard-coded values in the jboss-esb.xml
      Especially for the fs-message-filter i don't want to hardcode the input directories and want the values to be resolved at runtime.

      For my personal actions i did the following, every property value is resolved at initialization time:

      <property name="test" value="${config.key}"/>
      


      and when the value is placed between ${ } i load it in an external repository (DB, FS or whatever).

      Would there be a way to hook up the jboss-esb.xml loading to replace values or extend the fs-message-filter with my own version to load values ?
      Example:
      <fs-message-filter
       directory="${input.dir}"
      ...
      


      Thanks in advance,
      Luc