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
Post a Comment