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:
Mark Fisher
2010-04-12 14:25:14 +00:00
parent 5f77a0d01d
commit 66e66fd408
6 changed files with 17 additions and 0 deletions

View File

@@ -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;

View File

@@ -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) {

View File

@@ -24,7 +24,10 @@ import org.springframework.integration.adapter.config.AbstractRemotingGatewayPar
* Parser for the &lt;httpinvoker-gateway/&gt; 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

View File

@@ -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() {

View File

@@ -24,7 +24,10 @@ import org.springframework.integration.adapter.config.AbstractRemotingOutboundGa
* Parser for the &lt;outbound-gateway/&gt; 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

View File

@@ -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>