Skip to content

Instantly share code, notes, and snippets.

@johndemic
Created August 24, 2011 17:35
Show Gist options
  • Save johndemic/1168629 to your computer and use it in GitHub Desktop.
Save johndemic/1168629 to your computer and use it in GitHub Desktop.
<flow name="Query Test With Keys">
<vm:inbound-endpoint path="query.keys.in"/>
<mongodb:outbound-endpoint collection="query" query='{ "name": "John" }'
exchange-pattern="request-response" keys="{'name': 1}"/>
<vm:outbound-endpoint path="query.keys.out"/>
</flow>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment