HTTP Outbound Gateway - RestTemplate that depends on Message

194 Views Asked by At

I would like to configure the RestTemplate that will be used by the HTTP Outbound Gateway based on the Message (e.g. get authentication information from the payload). Is there a way to achieve this, preferably with Java DSL?

The API seems to allow a configurable URI based on the Message, but what about the RestTemplate?

0

There are 0 best solutions below