Class JettyRoutingService

All Implemented Interfaces:
AdaptrisComponent, ComponentLifecycle, ComponentLifecycleExtension, ConfigComment, MessageEventGenerator, Service, StateManagedComponent

@ComponentProfile(summary="Specify the next branch based on the jettyURI and method", tag="service,jetty,branching", branchSelector=true) public class JettyRoutingService extends BranchingServiceImp
Use as part of a BranchingServiceCollection to branch based on the jetty URI and method.

Takes the metadata values associated with CoreConstants.HTTP_METHOD and JettyConstants.JETTY_URI and matches them against a list of configured routes. If a route matches the URI and the http method (if specified) then the next service id is set appropriately.

In the adapter configuration file this class is aliased as jetty-routing-service which is the preferred alternative to the fully qualified classname when building your configuration.