org.mule.routing.outbound
Class StaticRecipientListRouterTestCase.MockingStaticRecipientList

java.lang.Object
  extended by org.mule.processor.AbstractMuleObjectOwner<MessageProcessor>
      extended by org.mule.processor.AbstractMessageProcessorOwner
          extended by org.mule.routing.outbound.AbstractOutboundRouter
              extended by org.mule.routing.outbound.FilteringOutboundRouter
                  extended by org.mule.routing.outbound.AbstractRecipientList
                      extended by org.mule.routing.outbound.StaticRecipientList
                          extended by org.mule.routing.outbound.StaticRecipientListRouterTestCase.MockingStaticRecipientList
All Implemented Interfaces:
AnnotatedObject, FlowConstructAware, MuleContextAware, Disposable, Initialisable, Lifecycle, Startable, Stoppable, MessageProcessor, MessageRouter, Matchable, MatchableMessageProcessor, MatchableMessageRouter, OutboundRouter, RouterStatisticsRecorder, TransformingMatchable
Enclosing class:
StaticRecipientListRouterTestCase

public static class StaticRecipientListRouterTestCase.MockingStaticRecipientList
extends StaticRecipientList

subclass the router, so that we can mock the targets it creates dynamically.


Field Summary
 
Fields inherited from class org.mule.routing.outbound.StaticRecipientList
RECIPIENT_DELIMITER, RECIPIENTS_PROPERTY
 
Fields inherited from class org.mule.routing.outbound.FilteringOutboundRouter
expressionManager
 
Fields inherited from class org.mule.routing.outbound.AbstractOutboundRouter
enableCorrelation, initialised, logger, magicProperties, replyTo, resultsHandler, routes, started, transactionConfig
 
Fields inherited from class org.mule.processor.AbstractMuleObjectOwner
flowConstruct, muleContext
 
Fields inherited from interface org.mule.api.lifecycle.Initialisable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Startable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Stoppable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Disposable
PHASE_NAME
 
Fields inherited from interface org.mule.api.AnnotatedObject
PROPERTY_NAME
 
Constructor Summary
StaticRecipientListRouterTestCase.MockingStaticRecipientList()
           
 
Method Summary
protected  OutboundEndpoint getRecipientEndpointFromString(MuleMessage message, String recipient)
           
 void setMockEndpointListener(org.mule.routing.outbound.StaticRecipientListRouterTestCase.MockEndpointListener listener)
           
 
Methods inherited from class org.mule.routing.outbound.StaticRecipientList
getListDelimiter, getRecipients, getRecipients, setRecipients
 
Methods inherited from class org.mule.routing.outbound.AbstractRecipientList
buildOutboundEndpoint, getRecipientEndpoint, getRecipientEndpointFromUri, getSynchronous, isDynamicRoutes, route, setSynchronous
 
Methods inherited from class org.mule.routing.outbound.FilteringOutboundRouter
addRoute, getFilter, getRoute, getTransformers, initialise, isMatch, isTransformBeforeMatch, isUseTemplates, setFilter, setTransformers, setUseTemplates
 
Methods inherited from class org.mule.routing.outbound.AbstractOutboundRouter
cloneMessage, createEventToRoute, dispose, getEnableCorrelation, getMuleContext, getOwnedMessageProcessors, getReplyTo, getResultsHandler, getRoute, getRouterStatistics, getRoutes, getTransactionConfig, process, propagateMagicProperties, removeRoute, sendRequest, sendRequestEvent, setEnableCorrelation, setEnableCorrelationAsString, setMessageProcessors, setMessageProperties, setReplyTo, setResultsHandler, setRouterStatistics, setRoutes, setTransactionConfig, start, stop
 
Methods inherited from class org.mule.processor.AbstractMessageProcessorOwner
getAnnotation, getAnnotations, getOwnedObjects, setAnnotations
 
Methods inherited from class org.mule.processor.AbstractMuleObjectOwner
getFlowConstruct, setFlowConstruct, setMuleContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.mule.api.context.MuleContextAware
setMuleContext
 
Methods inherited from interface org.mule.api.construct.FlowConstructAware
setFlowConstruct
 

Constructor Detail

StaticRecipientListRouterTestCase.MockingStaticRecipientList

public StaticRecipientListRouterTestCase.MockingStaticRecipientList()
Method Detail

setMockEndpointListener

public void setMockEndpointListener(org.mule.routing.outbound.StaticRecipientListRouterTestCase.MockEndpointListener listener)

getRecipientEndpointFromString

protected OutboundEndpoint getRecipientEndpointFromString(MuleMessage message,
                                                          String recipient)
                                                   throws MuleException
Overrides:
getRecipientEndpointFromString in class AbstractRecipientList
Throws:
MuleException


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.