Skip to content

Instantly share code, notes, and snippets.

@nialdarbey
Created April 30, 2012 00:08
Show Gist options
  • Save nialdarbey/2554279 to your computer and use it in GitHub Desktop.
Save nialdarbey/2554279 to your computer and use it in GitHub Desktop.
when
$elementDocument : DefaultDocument ( $element : rootElement, $element.qName.name == "element" )
not ( Attribute ( qName.name == "type" ) from $element.attributes )
then
ElementSummary elementSummary = new ElementSummary($elementDocument, null);
Map map = new HashMap();
map.put("schemaName", $elementDocument.getName());
mule.generateMessage("vm://queue.elements", elementSummary, map, MessageExchangePattern.ONE_WAY);
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment