Kie :: Camel 6.1.0.Beta4

org.kie.camel.component
Class KieEndpoint

java.lang.Object
  extended by org.apache.camel.support.ServiceSupport
      extended by org.apache.camel.impl.DefaultEndpoint
          extended by 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
 
Field Summary
 KieEndpoint.Action action
           
 String channel
           
 org.apache.camel.spi.DataFormat dataFormat
           
 String dataFormatName
           
 String entryPoint
           
 org.kie.api.runtime.CommandExecutor executor
           
 Map<String,org.kie.api.runtime.CommandExecutor> executorsByName
           
 String ksessionId
           
static Pattern p
           
 
Fields inherited from class org.apache.camel.support.ServiceSupport
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending
 
Constructor Summary
KieEndpoint(String endpointUri, String remaining, KieComponent component)
           
 
Method Summary
protected  void configure(KieComponent component, String uri)
           
 org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
           
 org.apache.camel.Exchange createExchange(Object pojo)
           
 org.apache.camel.Producer createProducer()
           
 KieEndpoint.Action getAction()
           
 String getChannel()
           
 ClassLoader getClassLoader(org.kie.api.runtime.CommandExecutor exec)
           
 org.kie.api.runtime.CommandExecutor getCommandExecutor(String name)
           
 String getDataFormat()
           
 String getEntryPoint()
           
 org.kie.api.runtime.CommandExecutor getExecutor()
           
 String getKsessionId()
           
static String getKsessionId(String uri)
           
 String getLookup(String body)
           
 boolean isSingleton()
           
 void setAction(KieEndpoint.Action action)
           
 void setAction(String action)
           
 void setChannel(String channel)
           
 void setDataFormat(String dataFormatName)
           
 void setEntryPoint(String entryPoint)
           
 void setKsessionId(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, 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 class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.camel.Service
start, stop
 

Field Detail

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
Constructor Detail

KieEndpoint

public KieEndpoint(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

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)

Kie :: Camel 6.1.0.Beta4

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.