Coverage Report - org.mule.module.xml.routing.FilterBasedXmlMessageSplitter
 
Classes in this File Line Coverage Branch Coverage Complexity
FilterBasedXmlMessageSplitter
0%
0/6
N/A
0
 
 1  
 /*
 2  
  * $Id: FilterBasedXmlMessageSplitter.java 19191 2010-08-25 21:05:23Z tcarlson $
 3  
  * --------------------------------------------------------------------------------------
 4  
  * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
 5  
  *
 6  
  * The software in this package is published under the terms of the CPAL v1.0
 7  
  * license, a copy of which has been included with this distribution in the
 8  
  * LICENSE.txt file.
 9  
  */
 10  
 package org.mule.module.xml.routing;
 11  
 
 12  
 import org.mule.api.lifecycle.InitialisationException;
 13  
 
 14  
 /**
 15  
  * This splitter will select the endpoint to send a message part on by filtering parts using the endpoint filters.
 16  
  */
 17  
 public class FilterBasedXmlMessageSplitter extends XmlMessageSplitter
 18  
 {
 19  
     public FilterBasedXmlMessageSplitter()
 20  0
     {
 21  
         //By disabling this, the endpoints will be invoked with the first endpoint being checked first
 22  
         //and its filter applied before it is used
 23  0
         this.setDisableRoundRobin(true);
 24  0
     }
 25  
 
 26  
     @Override
 27  
     public void initialise() throws InitialisationException
 28  
     {
 29  0
         logger.warn("Deprecation warning: The FilteringXmlMessageSplitter router has been deprecating in Mule 2.2 in favour of using the <expression-splitter> router.");
 30  0
         super.initialise();
 31  0
     }
 32  
 }