I need to implement https for <int-http:outbound-gateway>
.
my code is the following is it sufficient?
What should i add to my code?
<int-http:outbound-gateway id="oeactivatedGateway"
url="${trigger.url}" http-method="DELETE" charset="UTF-8"
reply-timeout="${ws.reply.timeout}" mapped-request-headers="Authorization,Content-Type,Accept"
request-channel="channel.authorized.request" reply-channel="channel.reply"
request-factory="requestFactory">
<bean id="requestFactory"
class="org.springframework.http.client.SimpleClientHttpRequestFactory">
<property name="proxy">
<bean id="proxy" class="java.net.Proxy">
<constructor-arg>
<util:constant static-field="java.net.Proxy.Type.HTTP" />
</constructor-arg>
<constructor-arg>
<bean class="java.net.InetSocketAddress">
<constructor-arg value="${http.proxy.address}" />
<constructor-arg value="${http.proxy.port}" />
</bean>
</constructor-arg>
</bean>
</property>
</bean>