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

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -