Skip to content

Instantly share code, notes, and snippets.

@yamanyar
Created April 2, 2012 07:52
Show Gist options
  • Save yamanyar/2281485 to your computer and use it in GitHub Desktop.
Save yamanyar/2281485 to your computer and use it in GitHub Desktop.
Transformer Eklenmiş Hali
<int:channel id="clientService">
<int:interceptors>
<int:wire-tap channel="xmlLoggingChannel"/>
</int:interceptors>
</int:channel>
<int:channel id="xmlLoggingChannel"/>
<int:transformer input-channel="xmlLoggingChannel" output-channel="loggingChannel">
<beans:bean class="com.yamanyar.si.transformers.DomSourceToStringNoErrorTransformer"/>
</int:transformer>
<int:logging-channel-adapter id="loggingChannel" level="INFO"
expression="'Message received : '.concat(payload.toString())"/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment