renamed 'handler' attribute of 'endpoint' element; now 'handler-ref'
This commit is contained in:
@@ -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";
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user