Tag Archives: integration

Unit-testing Mule transformers which access session and/or invocation scopes

By | July 4, 2013

Problem When attempting to unit-test a Mule transformer that need access to session- or invocation-scoped message properties, I found the result to be an IllegalStateException that told me: Detected an attempt to set an invocation or session property, but a MuleEvent hasn’t been created using this message yet. I managed to trace the problem to… Read More »