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.module.sxc
Class SxcFilteringOutboundRouter

    java.lang.Object
      org.mule.routing.outbound.AbstractOutboundRouter
          org.mule.routing.outbound.FilteringOutboundRouter
              org.mule.module.sxc.SxcFilteringOutboundRouter

All Implemented Interfaces:
  MuleContextAware, Disposable, Initialisable, MessageProcessor, MessageRouter, Matchable, MatchableMessageProcessor, MatchableMessageRouter, OutboundRouter, RouterStatisticsRecorder, TransformingMatchable

    public class SxcFilteringOutboundRouter

extends FilteringOutboundRouter

`FilteringRouter` is a router that accepts events based on a filter set.

Field Summary

Fields inherited from class org.mule.routing.outbound.FilteringOutboundRouter
`expressionManager`

Fields inherited from class org.mule.routing.outbound.AbstractOutboundRouter
`enableCorrelation, logger, magicProperties, muleContext, replyTo, resultsHandler, routes, transactionConfig`

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

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

Constructor Summary
`SxcFilteringOutboundRouter()`

Method Summary
`protected void` | `addEventHandlers(com.envoisolutions.sxc.xpath.XPathBuilder builder, Filter filter)`
`static MuleMessage` | `getCurrentMessage()`
`Map<String,String>` | `getNamespaces()`
`protected ReversibleXMLStreamReader` | `getXMLStreamReader(MuleMessage message)` Gets an XMLStreamReader for this message.
`protected void` | `initialize()`
`boolean` | `isMatch(MuleMessage message)` Determines if the event should be processed
`void` | `setFilter(Filter filter)`
`void` | `setMuleContext(MuleContext context)`
`void` | `setNamespaces(Map<String,String> namespaces)`
`boolean` | `testMatch(MuleMessage message)`

Methods inherited from class org.mule.routing.outbound.FilteringOutboundRouter
`addRoute, getFilter, getRoute, getTransformers, initialise, isTransformBeforeMatch, isUseTemplates, route, setTransformers, setUseTemplates`

Methods inherited from class org.mule.routing.outbound.AbstractOutboundRouter
`dispose, getEnableCorrelation, getMuleContext, getReplyTo, getResultsHandler, getRoute, getRouterStatistics, getRoutes, getTransactionConfig, isDynamicRoutes, process, propagateMagicProperties, removeRoute, sendRequest, sendRequestEvent, setEnableCorrelation, setEnableCorrelationAsString, setMessageProcessors, setMessageProperties, setReplyTo, setResultsHandler, setRouterStatistics, setRoutes, setTransactionConfig`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### SxcFilteringOutboundRouter

    public SxcFilteringOutboundRouter()

Method Detail

### setMuleContext

    public void setMuleContext(MuleContext context)

  Specified by:
    `setMuleContext` in interface `MuleContextAware`
  Overrides:
    `setMuleContext` in class `AbstractOutboundRouter`

### setFilter

    public void setFilter(Filter filter)

  Overrides:
    `setFilter` in class `FilteringOutboundRouter`

### addEventHandlers

    protected void addEventHandlers(com.envoisolutions.sxc.xpath.XPathBuilder builder,
                                    Filter filter)

### initialize

    protected void initialize()
                       throws Exception

  Throws:
    `Exception`

### isMatch

    public boolean isMatch(MuleMessage message)
                    throws RoutingException

  Description copied from interface: `Matchable`
  Determines if the event should be processed

  Specified by:
    `isMatch` in interface `Matchable`
  Overrides:
    `isMatch` in class `FilteringOutboundRouter`
  Returns:
    true if the event should be processed by this router
  Throws:
    `RoutingException`

### testMatch

    public boolean testMatch(MuleMessage message)
                      throws RoutingException

  Throws:
    `RoutingException`

### getXMLStreamReader

    protected ReversibleXMLStreamReader getXMLStreamReader(MuleMessage message)
                                                    throws TransformerException

  Gets an XMLStreamReader for this message.

  Parameters:
    `message` -
  Throws:
    `TransformerException`

### getNamespaces

    public Map<String,String> getNamespaces()

### setNamespaces

    public void setNamespaces(Map<String,String> namespaces)

### getCurrentMessage

    public static MuleMessage getCurrentMessage()

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-2010 MuleSoft, Inc.. All Rights Reserved.