Coverage Report - org.mule.routing.SimpleCollectionAggregator
 
Classes in this File Line Coverage Branch Coverage Complexity
SimpleCollectionAggregator
0%
0/2
N/A
0
 
 1  
 /*
 2  
  * $Id: SimpleCollectionAggregator.java 20321 2010-11-24 15:21:24Z dfeist $
 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.routing;
 11  
 
 12  
 import org.mule.api.MuleContext;
 13  
 import org.mule.routing.correlation.CollectionCorrelatorCallback;
 14  
 import org.mule.routing.correlation.EventCorrelatorCallback;
 15  
 
 16  
 /**
 17  
  * This router will return all aggregated events as a {@link org.mule.api.MuleMessageCollection}.
 18  
  * This allows the service itself to act upon the events rather that the user having to write a custom
 19  
  * aggregator.  This may feel more natural for some users.
 20  
  *
 21  
  * <b>EIP Reference:</b> <a href="http://www.eaipatterns.com/Aggregator.html">http://www.eaipatterns.com/Aggregator.html</a>
 22  
  */
 23  0
 public class SimpleCollectionAggregator extends AbstractAggregator
 24  
 {
 25  
     @Override
 26  
     protected EventCorrelatorCallback getCorrelatorCallback(MuleContext muleContext)
 27  
     {
 28  0
         return new CollectionCorrelatorCallback(muleContext);
 29  
     }
 30  
 }