How can I access Spring properties defined in app.properties from Mule FuncionalTestCase? -


how can access spring properties defined in app.properties mule funcionaltestcase?

for example, in production config have ${sessionexpiresinsecondsvalue} passed in bean property. want value , use functionaltestcomponent wait same amount of time value , don't want harcode test go out of sync value.

the easiest bean receives ${sessionexpiresinsecondsvalue} registry, via mulecontext, , call getsessionexpiresinsecondsvalue() on it.


Comments

Popular posts from this blog

php - Dynamic url re-writing using htaccess -

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -