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

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -