variableContext.setExchange(exchange);
variableContext.setMessage(message);
return evaluateXPathAsBoolean(object);
}
} catch (TransformerException e) {
throw new MessagingException(e);
} catch (JaxenException e) {
throw new MessagingException(e);
} catch (ParserConfigurationException e) {
throw new MessagingException(e);
} catch (IOException e) {
throw new MessagingException(e);
} catch (SAXException e) {
throw new MessagingException(e);
}
}