Created
July 27, 2015 12:10
-
-
Save ricston-git/510795c20858d522ffda 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
<inbound-endpoint address="http://localhost:8080/rest" exchange-pattern="request-response" /> | |
<jersey:resources> | |
<component> | |
<spring-object bean="restResource" /> | |
</component> | |
</jersey:resources> | |
<object-to-string-transformer /> | |
<choice> | |
<when evaluator="groovy" expression="payload.contains('<people>')"> | |
<outbound-endpoint ref="splitter" | |
exchange-pattern="request-response" /> | |
</when> | |
<otherwise> | |
<log-component /> | |
</otherwise> | |
</choice> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment