org.kie.camel.component
Class KieEndpoint
java.lang.Object
org.apache.camel.support.ServiceSupport
org.apache.camel.impl.DefaultEndpoint
org.kie.camel.component.KieEndpoint
- 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 KieEndpoint
- extends org.apache.camel.impl.DefaultEndpoint
|
Nested Class Summary |
static class |
KieEndpoint.Action
An ENUM to define which action should be executed by the
producer into this end point |
| Fields inherited from class org.apache.camel.support.ServiceSupport |
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending |
| 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, getExchangePattern, getId, hashCode, isLenientProperties, isSynchronous, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, 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, resume, shutdown, start, stop, suspend |
| Methods inherited from interface org.apache.camel.Service |
start, stop |
p
public static final Pattern p
ksessionId
public String ksessionId
executor
public org.kie.api.runtime.CommandExecutor executor
executorsByName
public Map<String,org.kie.api.runtime.CommandExecutor> executorsByName
dataFormatName
public String dataFormatName
dataFormat
public org.apache.camel.spi.DataFormat dataFormat
action
public KieEndpoint.Action action
entryPoint
public String entryPoint
channel
public String channel
KieEndpoint
public KieEndpoint(String endpointUri,
String remaining,
KieComponent component)
throws URISyntaxException
- Throws:
URISyntaxException
createConsumer
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
- Throws:
Exception
createProducer
public org.apache.camel.Producer createProducer()
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)
getKsessionId
public static final String getKsessionId(String uri)
getDataFormat
public String getDataFormat()
setDataFormat
public void setDataFormat(String dataFormatName)
getLookup
public String getLookup(String body)
getCommandExecutor
public org.kie.api.runtime.CommandExecutor getCommandExecutor(String name)
getClassLoader
public ClassLoader getClassLoader(org.kie.api.runtime.CommandExecutor exec)
getAction
public KieEndpoint.Action getAction()
setAction
public void setAction(KieEndpoint.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)
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.