Last active
December 30, 2015 20:19
-
-
Save pax95/7879742 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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:bam"/> | |
</route> | |
<route id="splunk-route"> | |
<from uri="seda:bam?concurrentConsumers=5"/> | |
<!-- use a converter to convert to a SplunkEvent type --> | |
<convertBodyTo type="org.apache.camel.component.splunk.event.SplunkEvent"/> | |
<to uri="splunk://submit?host=splunkhost&username=foo&password=bar&index=audit-trail&sourceType=audit"/> | |
</route> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment