Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * $Id: BpmNamespaceHandler.java 11967 2008-06-05 20:32:19Z dfeist $
  * --------------------------------------------------------------------------------------
  * Copyright (c) MuleSource, Inc.  All rights reserved.  http://www.mulesource.com
  *
  * The software in this package is published under the terms of the CPAL v1.0
  * license, a copy of which has been included with this distribution in the
  * LICENSE.txt file.
  */
package org.mule.transport.bpm.config;
Registers a Bean Definition Parsers for the "bpm" namespace.
    public static final String PROCESS = "process";
    public void init()
    {
        registerBeanDefinitionParser("outbound-router"new BpmOutboundRouterDefinitionParser());
        // TODO MULE-3205
        //registerBeanDefinitionParser("component", new ComponentDefinitionParser(ProcessComponent.class));
    }

    
This is merely a shortcut for: <endpoint-selector-router evaluator="header" expression="MULE_BPM_ENDPOINT">
    {
        public BpmOutboundRouterDefinitionParser()
        {
            super(EndpointSelector.class);
        }
        protected void parseChild(Element elementParserContext parserContextBeanDefinitionBuilder builder)
        {
            builder.addPropertyValue("evaluator""header");
            builder.addPropertyValue("expression".);
            super.parseChild(elementparserContextbuilder);
        }
        
    }
New to GrepCode? Check out our FAQ X