public class Router extends org.mule.runtime.api.component.AbstractComponent implements org.mule.runtime.core.api.processor.Processor, org.mule.runtime.api.lifecycle.Initialisable, AbstractRouter
| Constructor and Description |
|---|
Router(ApikitRegistry registry,
org.mule.runtime.api.component.location.ConfigurationComponentLocator locator) |
| Modifier and Type | Method and Description |
|---|---|
org.reactivestreams.Publisher<org.mule.runtime.core.api.event.CoreEvent> |
apply(org.reactivestreams.Publisher<org.mule.runtime.core.api.event.CoreEvent> publisher) |
Configuration |
getConfiguration() |
String |
getName() |
org.mule.apikit.model.ApiSpecification |
getRaml() |
void |
initialise() |
org.mule.runtime.core.api.event.CoreEvent |
process(org.mule.runtime.core.api.event.CoreEvent event) |
org.reactivestreams.Publisher<org.mule.runtime.core.api.event.CoreEvent> |
processEvent(org.mule.runtime.core.api.event.CoreEvent event) |
void |
setConfiguration(Configuration config) |
void |
setName(String name) |
getAnnotation, getAnnotations, getLocation, getRootContainerLocation, setAnnotationsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait@Inject public Router(ApikitRegistry registry, org.mule.runtime.api.component.location.ConfigurationComponentLocator locator)
public void initialise()
initialise in interface org.mule.runtime.api.lifecycle.Initialisablepublic org.mule.runtime.core.api.event.CoreEvent process(org.mule.runtime.core.api.event.CoreEvent event)
throws org.mule.runtime.api.exception.MuleException
process in interface org.mule.runtime.core.api.processor.Processororg.mule.runtime.api.exception.MuleExceptionpublic org.reactivestreams.Publisher<org.mule.runtime.core.api.event.CoreEvent> apply(org.reactivestreams.Publisher<org.mule.runtime.core.api.event.CoreEvent> publisher)
public org.mule.apikit.model.ApiSpecification getRaml()
getRaml in interface AbstractRouterpublic org.reactivestreams.Publisher<org.mule.runtime.core.api.event.CoreEvent> processEvent(org.mule.runtime.core.api.event.CoreEvent event)
throws MuleRestException
processEvent in interface AbstractRouterMuleRestExceptionpublic Configuration getConfiguration()
public void setConfiguration(Configuration config)
public String getName()
public void setName(String name)
Copyright © 2025. All rights reserved.