Splitter in Mule 3.2



I'm using a splitter in a Mule flow, as described on the answer to this question:


Mule splitter using regex returned no results


However, when I try to do something similar on Mule 3.2, I get the following error:


Line 27 in XML document from URL [file:/...] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'expression-language'. One of '{"http://ift.tt/1atROtw":annotations, "http://ift.tt/1atROtw":default-threading-profile, "http://ift.tt/1atROtw":default-dispatcher-threading-profile, "http://ift.tt/1atROtw":default-receiver-threading-profile, "http://ift.tt/1atROtw":default-service-threading-profile, "http://ift.tt/1atROtw":abstract-reconnection-strategy}' is expected. (org.mule.api.lifecycle.InitialisationException)


So, my questions are: Can the following element be used in Mule 3.2? And if not, which is the correct way to do it in that version?



<configuration>
<expression-language autoResolveVariables="false">
<import class="org.mule.util.StringUtils" />
</expression-language>
</configuration>

No comments:

Post a Comment