Skip to content

Instantly share code, notes, and snippets.

@pax95
Last active December 31, 2015 04:29
Show Gist options
  • Save pax95/7934138 to your computer and use it in GitHub Desktop.
Save pax95/7934138 to your computer and use it in GitHub Desktop.
<route id="audit-trail-route">
<from uri="hubQueue:queue:AUDIT_HUB?concurrentConsumers=5" />
<transacted />
<!-- convert jms payload to a jpa entity bean -->
<bean ref="auditService" method="convertBody" />
<to uri="jpa:org.test.AuditTrail" />
<!-- send a copy to seda queue -->
<to uri="seda:splunk"/>
</route>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment