Package org.kie.camel.embedded.component
Class KieEmbeddedEndpoint
- java.lang.Object
-
- org.apache.camel.support.ServiceSupport
-
- org.apache.camel.impl.DefaultEndpoint
-
- org.kie.camel.embedded.component.KieEmbeddedEndpoint
-
- All Implemented Interfaces:
org.apache.camel.CamelContextAware,org.apache.camel.Endpoint,org.apache.camel.IsSingleton,org.apache.camel.Service,org.apache.camel.ShutdownableService,org.apache.camel.spi.HasId,org.apache.camel.StatefulService,org.apache.camel.SuspendableService
public class KieEmbeddedEndpoint extends org.apache.camel.impl.DefaultEndpoint
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classKieEmbeddedEndpoint.ActionAn ENUM to define which action should be executed by the producer into this end point
-
Constructor Summary
Constructors Constructor Description KieEmbeddedEndpoint(String endpointUri, String remaining, KieComponent component)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidconfigure(KieComponent component, String uri)org.apache.camel.ConsumercreateConsumer(org.apache.camel.Processor processor)org.apache.camel.ExchangecreateExchange(Object pojo)org.apache.camel.ProducercreateProducer()KieEmbeddedEndpoint.ActiongetAction()StringgetChannel()ClassLoadergetClassLoader(org.kie.api.runtime.CommandExecutor exec)org.kie.api.runtime.CommandExecutorgetCommandExecutor(String name)StringgetDataFormat()StringgetEntryPoint()org.kie.api.runtime.CommandExecutorgetExecutor()StringgetKsessionId()static StringgetKsessionId(String uri)StringgetLookup(String body)booleanisSingleton()voidsetAction(String action)voidsetAction(KieEmbeddedEndpoint.Action action)voidsetChannel(String channel)voidsetDataFormat(String dataFormatName)voidsetEntryPoint(String entryPoint)voidsetKsessionId(String ksession)-
Methods inherited from class org.apache.camel.impl.DefaultEndpoint
configureConsumer, configurePollingConsumer, configureProperties, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBridgeErrorHandler, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setBridgeErrorHandler, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toString
-
Methods inherited from class org.apache.camel.support.ServiceSupport
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
-
-
-
-
Field Detail
-
P
public static final Pattern P
-
-
Constructor Detail
-
KieEmbeddedEndpoint
public KieEmbeddedEndpoint(String endpointUri, String remaining, KieComponent component) throws URISyntaxException
- Throws:
URISyntaxException
-
-
Method Detail
-
createConsumer
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor) throws Exception- Throws:
Exception
-
isSingleton
public boolean isSingleton()
-
getKsessionId
public String getKsessionId()
-
setKsessionId
public void setKsessionId(String ksession)
-
getExecutor
public org.kie.api.runtime.CommandExecutor getExecutor()
-
configure
protected void configure(KieComponent component, String uri)
-
getDataFormat
public String getDataFormat()
-
setDataFormat
public void setDataFormat(String dataFormatName)
-
getCommandExecutor
public org.kie.api.runtime.CommandExecutor getCommandExecutor(String name)
-
getClassLoader
public ClassLoader getClassLoader(org.kie.api.runtime.CommandExecutor exec)
-
getAction
public KieEmbeddedEndpoint.Action getAction()
-
setAction
public void setAction(KieEmbeddedEndpoint.Action action)
-
setAction
public void setAction(String action)
-
getEntryPoint
public String getEntryPoint()
-
setEntryPoint
public void setEntryPoint(String entryPoint)
-
getChannel
public String getChannel()
-
setChannel
public void setChannel(String channel)
-
createExchange
public org.apache.camel.Exchange createExchange(Object pojo)
-
-