public interface HasNestedRoutesDeclaration<T extends BaseElementDeclarer>
RouteElementDeclaration through a fluent API| Modifier and Type | Method and Description |
|---|---|
T |
withRoute(RouteElementDeclaration declaration)
Adds a
component to the declaration being built |
T |
withRoute(String name,
Consumer<RouteElementDeclarer> declarationEnricher)
Adds a
component to the declaration being built |
T withRoute(RouteElementDeclaration declaration)
component to the declaration being builtdeclaration - the component to addthis declarerT withRoute(String name, Consumer<RouteElementDeclarer> declarationEnricher)
component to the declaration being builtname - the name of the new RouteElementDeclarationdeclarationEnricher - an enricher that should populate the given
RouteElementDeclarer with the route configurationthis declarerCopyright © 2017 MuleSoft, Inc.. All rights reserved.