Skip to content

Instantly share code, notes, and snippets.

@ddossot
Created June 23, 2010 23:01
Show Gist options
  • Save ddossot/450685 to your computer and use it in GitHub Desktop.
Save ddossot/450685 to your computer and use it in GitHub Desktop.
<service name="simple-jms-queue-requester">
<inbound>
<inbound-endpoint ref="request-jms-queue" responseTimeout="3000" />
</inbound>
<script:component>
<script:script engine="groovy">
<script:text>
eventContext.requestEvent("jms://${payload}", eventContext.timeout)
</script:text>
</script:script>
</script:component>
</service>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment