Factory of {@link ElementMatcher}
215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
{ return muleMessage.getOutboundAttachment(param) != null; } })); context.declareFunction("messageInboundProperty", new MessageMatchingAssertionMelFunction(new ElementMatcherFactory() { @Override public ElementMatcher build(String elementName, MuleMessage muleMessage) { return new ElementMatcher(muleMessage.getInboundProperty(elementName)); } })); context.declareFunction("messageOutboundProperty", new MessageMatchingAssertionMelFunction(new ElementMatcherFactory() { @Override public ElementMatcher build(String elementName, MuleMessage muleMessage) { return new ElementMatcher(muleMessage.getOutboundProperty(elementName)); } })); context.declareFunction("messageInvocationProperty", new MessageMatchingAssertionMelFunction(new ElementMatcherFactory() { @Override public ElementMatcher build(String elementName, MuleMessage muleMessage) { return new ElementMatcher(muleMessage.getInvocationProperty(elementName)); } })); context.declareFunction("messageInboundAttachment", new MessageMatchingAssertionMelFunction(new ElementMatcherFactory() { @Override public ElementMatcher build(String elementName, MuleMessage muleMessage) { return new ElementMatcher(muleMessage.getInboundAttachment(elementName)); } })); context.declareFunction("messageOutboundAttachment", new MessageMatchingAssertionMelFunction(new ElementMatcherFactory() { @Override public ElementMatcher build(String elementName, MuleMessage muleMessage) { return new ElementMatcher(muleMessage.getOutboundAttachment(elementName));