org.drools.camel.component
Class DroolsEndpoint
java.lang.Object
org.apache.camel.impl.DefaultEndpoint
org.drools.camel.component.DroolsEndpoint
- All Implemented Interfaces:
- org.apache.camel.CamelContextAware, org.apache.camel.Endpoint, org.apache.camel.IsSingleton
public class DroolsEndpoint
- extends org.apache.camel.impl.DefaultEndpoint
Nested Class Summary |
static class |
DroolsEndpoint.Action
An ENUM to define which action should be executed by the
producer into this end point |
Methods inherited from class org.apache.camel.impl.DefaultEndpoint |
configureProperties, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExchangePattern, getExchangeType, hashCode, isLenientProperties, setCamelContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, toString |
p
public static final Pattern p
ksessionId
public String ksessionId
executor
public org.drools.runtime.CommandExecutor executor
node
public GridNode node
dataFormatName
public String dataFormatName
dataFormat
public org.apache.camel.spi.DataFormat dataFormat
action
public DroolsEndpoint.Action action
entryPoint
public String entryPoint
channel
public String channel
DroolsEndpoint
public DroolsEndpoint(String endpointUri,
String remaining,
DroolsComponent 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.drools.runtime.CommandExecutor getExecutor()
getGridNode
public GridNode getGridNode()
configure
protected void configure(DroolsComponent component,
String uri)
getExecuteNodeId
public static final String getExecuteNodeId(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.drools.runtime.CommandExecutor getCommandExecutor(String name)
getClassLoader
public ClassLoader getClassLoader(org.drools.runtime.CommandExecutor exec)
getAction
public DroolsEndpoint.Action getAction()
setAction
public void setAction(DroolsEndpoint.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-2012 JBoss by Red Hat. All Rights Reserved.