}
@Override
public boolean isMatch(MuleMessage message) throws MuleException
{
ReversibleXMLStreamReader reader = null;
try
{
initialize();
messages.set(message);
reader = getXMLStreamReader(message);
reader.setTracking(true);
evaluator.evaluate(reader);
}
catch (StopProcessingException e)
{
// stop processing
}
catch (Exception e)
{
throw new DefaultMuleException(e);
}
finally
{
messages.set(null);
if (reader != null)
{
reader.setTracking(false);
reader.reset();
}
}
try
{