Skip to content

Instantly share code, notes, and snippets.

@dandiep
Created December 14, 2011 00:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dandiep/1474551 to your computer and use it in GitHub Desktop.
Save dandiep/1474551 to your computer and use it in GitHub Desktop.
SQS to Mongo
<flow name="consumer">
<sqs:receive-messages />
<mongo:insert-object-from-map collection="some_collection">
<mongo:element-attributes>
<mongo:element-attribute key="text">#[payload]</mongo:element-attribute>
</mongo:element-attributes>
</mongo:insert-object-from-map>
</flow>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment