1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
package org.mule.config.spring.parsers.specific; |
12 | |
|
13 | |
import org.mule.config.spring.factories.MessageProcessorChainFactoryBean; |
14 | |
import org.mule.config.spring.parsers.delegate.ParentContextDefinitionParser; |
15 | |
import org.mule.config.spring.parsers.generic.ChildDefinitionParser; |
16 | |
import org.mule.config.spring.parsers.generic.MuleOrphanDefinitionParser; |
17 | |
|
18 | |
|
19 | |
|
20 | |
|
21 | |
|
22 | |
public class MessageProcessorChainDefinitionParser extends ParentContextDefinitionParser |
23 | |
{ |
24 | |
public MessageProcessorChainDefinitionParser() |
25 | |
{ |
26 | 0 | super(MuleOrphanDefinitionParser.ROOT_ELEMENT, new MuleOrphanDefinitionParser( |
27 | |
MessageProcessorChainFactoryBean.class, false)); |
28 | 0 | otherwise(new ChildDefinitionParser("messageProcessor", MessageProcessorChainFactoryBean.class)); |
29 | 0 | } |
30 | |
|
31 | |
} |