Minimizing class loading in parsers and using the parser context error handling capabilities rather than throwing Exceptions or using assertions. This facilitates proper tooling support (INT-114).
This commit is contained in:
@@ -19,7 +19,6 @@ package org.springframework.integration.httpinvoker.config;
|
||||
import org.w3c.dom.Element;
|
||||
|
||||
import org.springframework.integration.adapter.config.AbstractRemotingOutboundGatewayParser;
|
||||
import org.springframework.integration.httpinvoker.HttpInvokerOutboundGateway;
|
||||
|
||||
/**
|
||||
* Parser for the <outbound-gateway/> element of the 'httpinvoker' namespace.
|
||||
@@ -29,8 +28,8 @@ import org.springframework.integration.httpinvoker.HttpInvokerOutboundGateway;
|
||||
public class HttpInvokerOutboundGatewayParser extends AbstractRemotingOutboundGatewayParser {
|
||||
|
||||
@Override
|
||||
protected Class<?> getGatewayClass(Element element) {
|
||||
return HttpInvokerOutboundGateway.class;
|
||||
protected String getGatewayClassName(Element element) {
|
||||
return "org.springframework.integration.httpinvoker.HttpInvokerOutboundGateway";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user