renamed 'handler' attribute of 'endpoint' element; now 'handler-ref'

This commit is contained in:
Mark Fisher
2007-12-15 15:56:31 +00:00
parent 627534bf27
commit e4780e57ca
4 changed files with 4 additions and 4 deletions

View File

@@ -48,7 +48,7 @@ public class EndpointParser implements BeanDefinitionParser {
private static final String DEFAULT_OUTPUT_CHANNEL_PROPERTY = "defaultOutputChannelName";
private static final String HANDLER_REF_ATTRIBUTE = "handler";
private static final String HANDLER_REF_ATTRIBUTE = "handler-ref";
private static final String HANDLER_METHOD_ATTRIBUTE = "handler-method";

View File

@@ -100,7 +100,7 @@
</xsd:sequence>
<xsd:attribute name="input-channel" type="xsd:string"/>
<xsd:attribute name="default-output-channel" type="xsd:string"/>
<xsd:attribute name="handler" type="xsd:string"/>
<xsd:attribute name="handler-ref" type="xsd:string"/>
<xsd:attribute name="handler-method" type="xsd:string"/>
</xsd:extension>
</xsd:complexContent>

View File

@@ -11,7 +11,7 @@
<channel id="testChannel" capacity="50"/>
<endpoint input-channel="testChannel" handler="testHandler">
<endpoint input-channel="testChannel" handler-ref="testHandler">
<consumer period="100"/>
</endpoint>

View File

@@ -11,7 +11,7 @@
<channel id="testChannel" capacity="50"/>
<endpoint input-channel="testChannel" handler="testBean" handler-method="store">
<endpoint input-channel="testChannel" handler-ref="testBean" handler-method="store">
<consumer period="100"/>
</endpoint>