Announcement Announcement Module
Collapse
No announcement yet.
PropertyPlaceholder - Import via Property Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • PropertyPlaceholder - Import via Property

    Can I use a property loaded from property-placeholder to make a context import dynamic?

    <contextroperty-placeholder location="classpath*:/enterprise.properties"/>
    <import resource="classpath*:/Fsb${jdbc.ctxType?:Jdbc}-context.xml"/>

    jdbc.ctxType=JTA

    So this way I could change the type of context file that is loaded based on a property.

    Thanks...jay
Working...
X