Created
July 27, 2015 12:16
-
-
Save ricston-git/599a15370b36ca251edb 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
<security-manager> | |
<password-encryption-strategy name="peoticPasswordEncryption" password="poetic" /> | |
</security-manager> | |
<custom-transformer name="nodeEncryptTransformer" class="com.ricston.transformers.NodeEncryptTransformer" > | |
<spring:property name="encryptionStrategy" ref="poeticPasswordEncryption" /> | |
</custom-transformer> | |
<flow name="Processor"> | |
<inbound-endpoint ref="processor" exchange-pattern="one-way" /> | |
<choice> | |
<when evaluator="xpath" expression="/person/name='Barack'"> | |
<transformer ref="nodeEncryptTransformer"/> | |
</when> | |
<otherwise> | |
<log-component /> | |
</otherwise> | |
</choice> | |
<transformer ref="domToXmlTransformer"/> | |
<outbound-endpoint ref="aggregator" exchange-pattern="one-way" /> | |
</flow> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment