FunctionalTestCase in Mule - How do I load one flow before another?
I have a Mule application, and I'm creating some unit tests including some
Mock Web Services to test certain functionality. The Mock Web Services I'm
creating using a test mule flow, so I'm registering an HTTP inbound
endpoint.
When I run my test, I get a failure because one of my Spring objects fails
to load due to the fact that it cannot reach my mock web service(The web
service is loaded dynamically, so when doing the test, it resolves to
localhost). I've made sure that when I do my getConfigResources() I load
my mock web service flow file before I load my spring context beans,
however I still get the error.
Is there a way to make Mule/Spring load my flow file and start up my
http:inbound-endpoint before my Spring beans?
No comments:
Post a Comment