The http-invoker adapters are now deprecated. We now recommend using the REST-based HTTP adapters instead (in the 'org.springframework.integrtion.http' module).
This commit is contained in:
@@ -57,7 +57,10 @@ import org.springframework.web.HttpRequestHandler;
|
||||
* </p>
|
||||
*
|
||||
* @author Mark Fisher
|
||||
*
|
||||
* @deprecated as of 2.0.x. We recommend using the REST-based HTTP adapters instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public class HttpInvokerInboundGateway extends RemotingInboundGatewaySupport implements HttpRequestHandler {
|
||||
|
||||
private volatile HttpInvokerServiceExporter exporter;
|
||||
|
||||
@@ -24,7 +24,10 @@ import org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean;
|
||||
* A MessageHandler adapter for HttpInvoker-based remoting.
|
||||
*
|
||||
* @author Mark Fisher
|
||||
*
|
||||
* @deprecated as of 2.0.x. We recommend using the REST-based HTTP adapters instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public class HttpInvokerOutboundGateway extends AbstractRemotingOutboundGateway {
|
||||
|
||||
public HttpInvokerOutboundGateway(String url) {
|
||||
|
||||
@@ -24,7 +24,10 @@ import org.springframework.integration.adapter.config.AbstractRemotingGatewayPar
|
||||
* Parser for the <httpinvoker-gateway/> element.
|
||||
*
|
||||
* @author Mark Fisher
|
||||
*
|
||||
* @deprecated as of 2.0.x. We recommend using the REST-based HTTP adapters instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public class HttpInvokerInboundGatewayParser extends AbstractRemotingGatewayParser {
|
||||
|
||||
@Override
|
||||
|
||||
@@ -22,7 +22,10 @@ import org.springframework.integration.config.xml.AbstractIntegrationNamespaceHa
|
||||
* Namespace handler for Spring Integration's <em>httpinvoker</em> namespace.
|
||||
*
|
||||
* @author Mark Fisher
|
||||
*
|
||||
* @deprecated as of 2.0.x. We recommend using the REST-based HTTP adapters instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public class HttpInvokerNamespaceHandler extends AbstractIntegrationNamespaceHandler {
|
||||
|
||||
public void init() {
|
||||
|
||||
@@ -24,7 +24,10 @@ import org.springframework.integration.adapter.config.AbstractRemotingOutboundGa
|
||||
* Parser for the <outbound-gateway/> element of the 'httpinvoker' namespace.
|
||||
*
|
||||
* @author Mark Fisher
|
||||
*
|
||||
* @deprecated as of 2.0.x. We recommend using the REST-based HTTP adapters instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public class HttpInvokerOutboundGatewayParser extends AbstractRemotingOutboundGatewayParser {
|
||||
|
||||
@Override
|
||||
|
||||
@@ -16,6 +16,8 @@
|
||||
<xsd:annotation>
|
||||
<xsd:documentation><![CDATA[
|
||||
Defines the configuration elements for Spring Integration's HttpInvoker adapters.
|
||||
NOTE: The http-invoker support is deprecated as of 2.0.x
|
||||
We recommend using the REST-based HTTP adapters instead.
|
||||
]]></xsd:documentation>
|
||||
</xsd:annotation>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user