Ahtesham
Ahtesham

Reputation: 11

Does <http:outbound-gateway> support http PATCH method?

does http:outbound-gateway support http PATCH method? I am using 3.0.2 version of Spring integration.

Upvotes: 1

Views: 168

Answers (1)

Artem Bilan
Artem Bilan

Reputation: 121550

Spring Integration HTTP module is fully based on Spring MVC. Hance, if the last one from your CLASSPATH supports PATCH method, the <int-http:outbound-gateway> does it, too.

Under the nutshell of <int-http:outbound-gateway> there is HttpRequestExecutingMessageHandler, who delegates the hard work to the RestTemplate, which, in turn, constructs an HttpRequest using ClientHttpRequestFactory. And the real implementation for concrete HTTP Method is really depends of that factory.

The more later version of Spring and its dependencies you use, the more chances that will work what you want.

Upvotes: 1

Related Questions