• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

Can I access properties inside drools file

 
Ranch Hand
Posts: 276
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
I am using bpm drools for the first time. In my .drl file, I have syntax like this :




My question is, can a drools file access properties so that I could make the values shown above "Kimberly" and "someValue" be grabbed from the configurable properties file?
The app is Java with Spring using Mule ESB.

I could see it being something like this :



where my config file had properties



I can't see any example of drools files getting data from a properties file, so maybe this is not a good practice ?
 
reply
    Bookmark Topic Watch Topic
  • New Topic