org.mule.routing
Class DynamicRouteResolverAdapter
java.lang.Object
org.mule.routing.DynamicRouteResolverAdapter
- All Implemented Interfaces:
- DynamicRouteResolver, IdentifiableDynamicRouteResolver
public class DynamicRouteResolverAdapter
- extends Object
- implements IdentifiableDynamicRouteResolver
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DynamicRouteResolverAdapter
public DynamicRouteResolverAdapter(DynamicRouteResolver dynamicRouteResolver)
DynamicRouteResolverAdapter
public DynamicRouteResolverAdapter(DynamicRouteResolver dynamicRouteResolver,
String id)
getRouteIdentifier
public String getRouteIdentifier(MuleEvent event)
throws MessagingException
- Description copied from interface:
IdentifiableDynamicRouteResolver
- Returns an identifier of the
DynamicRouteResolver
.
- Specified by:
getRouteIdentifier
in interface IdentifiableDynamicRouteResolver
- Parameters:
event
- the event holding the message to route
- Returns:
- an identifier of
DynamicRouteResolver
- Throws:
MessagingException
resolveRoutes
public List<MessageProcessor> resolveRoutes(MuleEvent event)
throws MessagingException
- Description copied from interface:
DynamicRouteResolver
- Return a list of
MessageProcessor
to route the message.
- Specified by:
resolveRoutes
in interface DynamicRouteResolver
- Parameters:
event
- the event holding the message to route
- Returns:
- a list of
MessageProcessor
to which the message will be routed to
- Throws:
MessagingException
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.