Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mule.api.routing
Interface OutboundRouterCollection

All Superinterfaces:
  Disposable, Initialisable, RouterCollection

All Known Implementing Classes:
  DefaultOutboundRouterCollection

    public interface OutboundRouterCollection

extends RouterCollection

`OutboundRouterCollection` is responsible for holding all outbound routers for a service service.

Field Summary

Fields inherited from interface org.mule.api.lifecycle.Initialisable
`PHASE_NAME`

Fields inherited from interface org.mule.api.lifecycle.Disposable
`PHASE_NAME`

Method Summary
`boolean` | `hasEndpoints()` Determines if any endpoints have been set on this router.
`MuleMessage` | `route(MuleMessage message, MuleSession session)` Prepares one or more events to be dispached by a Message Dispatcher.

Methods inherited from interface org.mule.api.routing.RouterCollection
`addRouter, getCatchAllStrategy, getRouters, getStatistics, isMatchAll, removeRouter, setCatchAllStrategy, setMatchAll, setRouters, setStatistics`

Methods inherited from interface org.mule.api.lifecycle.Initialisable
`initialise`

Methods inherited from interface org.mule.api.lifecycle.Disposable
`dispose`

Method Detail

### route

    MuleMessage route(MuleMessage message,
                      MuleSession session)
                      throws MessagingException

  Prepares one or more events to be dispached by a Message Dispatcher.

  Parameters:
    `message` - The source Message
    `session` - The current session
  Returns:
    a list containing 0 or events to be dispatched
  Throws:
    `RoutingException` - If any of the events cannot be created.
    `MessagingException`

### hasEndpoints

    boolean hasEndpoints()

  Determines if any endpoints have been set on this router.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.