title: Spring integration application and cache
body: <p>Have spring integration application with inbound http gateway and outbound  http gateway, between those i want to have cache, to avoid unnessesary requests. The only solution i have is to add interceptor with cache and router after it that routes cahced results back to reply channel, and non cached to outbound, but this solution seems tricky and ugly to me. 
  Interceptor with cache also works good when inbound gateway has same channel for request and reply, (when returns new message with same headers but different payload, its considered as reply) but its not the case I can use. </p>
  
  <p>Any better ideas for this? </p>