How to declare two outbound-channel-adapter for publishing different message

Viewed 534

I have declared int:chain with single input and output channel,

<int:chain input-channel="InputChannel" output-channel="Channel">

      <int:transformer method = "transform" >
        <bean class="com.sampleconverter" />
      </int:transformer>
        <int:service-activator method="transform">
             <bean class="com.Transformer" />
        </int:service-activator>
     <int:object-to-string-transformer />
   </int:chain>

How to declare multiple output-channel each having different transform methods (different messages)

Thanks in advance

1 Answers
Related