Skip to content

Instantly share code, notes, and snippets.

@johndemic
Created November 28, 2011 20:57
Show Gist options
  • Save johndemic/1402014 to your computer and use it in GitHub Desktop.
Save johndemic/1402014 to your computer and use it in GitHub Desktop.
A Mule configuration using the custom validator
<flow name="Product Submission">
<http:inbound-endpoint address="http://localhost:8080/products"/>
<byte-array-to-string-transformer/>
<json:json-to-object-transformer returnClass="java.util.ArrayList"/>
<validator:product/>
<vm:outbound-endpoint path="products.out"/>
</flow>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment