public class ActivitiEndpoint
extends org.apache.camel.impl.DefaultEndpoint
Modifier and Type | Field and Description |
---|---|
protected ActivitiConsumer |
activitiConsumer |
protected boolean |
copyCamelBodyToBody |
protected boolean |
copyCamelBodyToBodyAsString |
protected String |
copyVariablesFromHeader |
protected String |
copyVariablesFromProperties |
protected boolean |
copyVariablesToBodyAsMap |
protected boolean |
copyVariablesToProperties |
protected org.activiti.engine.IdentityService |
identityService |
protected String |
processInitiatorHeaderName |
protected Map<String,Object> |
returnVarMap |
protected org.activiti.engine.RuntimeService |
runtimeService |
protected long |
timeout |
protected int |
timeResolution |
Constructor and Description |
---|
ActivitiEndpoint(String uri,
org.apache.camel.CamelContext camelContext) |
Modifier and Type | Method and Description |
---|---|
protected void |
addConsumer(ActivitiConsumer consumer) |
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
String |
getCopyVariablesFromHeader() |
String |
getCopyVariablesFromProperties() |
String |
getProcessInitiatorHeaderName() |
Map<String,Object> |
getReturnVarMap() |
long |
getTimeout() |
int |
getTimeResolution() |
boolean |
isCopyCamelBodyToBody() |
boolean |
isCopyCamelBodyToBodyAsString() |
boolean |
isCopyVariablesToBodyAsMap() |
boolean |
isCopyVariablesToProperties() |
boolean |
isLenientProperties() |
boolean |
isSetProcessInitiator() |
boolean |
isSingleton() |
void |
process(org.apache.camel.Exchange ex) |
protected void |
removeConsumer() |
void |
setCopyCamelBodyToBody(boolean copyCamelBodyToBody) |
void |
setCopyCamelBodyToBodyAsString(boolean copyCamelBodyToBodyAsString) |
void |
setCopyVariablesFromHeader(String copyVariablesFromHeader) |
void |
setCopyVariablesFromProperties(String copyVariablesFromProperties) |
void |
setCopyVariablesToBodyAsMap(boolean copyVariablesToBodyAsMap) |
void |
setCopyVariablesToProperties(boolean copyVariablesToProperties) |
void |
setIdentityService(org.activiti.engine.IdentityService identityService) |
void |
setProcessInitiatorHeaderName(String processInitiatorHeaderName) |
void |
setReturnVarMap(Map<String,Object> returnVarMap) |
void |
setRuntimeService(org.activiti.engine.RuntimeService runtimeService) |
configureConsumer, configureProperties, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExchangePattern, getId, hashCode, isSynchronous, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setSynchronous, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspend
protected org.activiti.engine.IdentityService identityService
protected org.activiti.engine.RuntimeService runtimeService
protected ActivitiConsumer activitiConsumer
protected boolean copyVariablesToProperties
protected boolean copyVariablesToBodyAsMap
protected boolean copyCamelBodyToBody
protected String copyVariablesFromProperties
protected String copyVariablesFromHeader
protected boolean copyCamelBodyToBodyAsString
protected String processInitiatorHeaderName
protected long timeout
protected int timeResolution
public ActivitiEndpoint(String uri, org.apache.camel.CamelContext camelContext)
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor) throws Exception
Exception
protected void addConsumer(ActivitiConsumer consumer)
protected void removeConsumer()
public boolean isSingleton()
public void setIdentityService(org.activiti.engine.IdentityService identityService)
public void setRuntimeService(org.activiti.engine.RuntimeService runtimeService)
public boolean isCopyVariablesToProperties()
public void setCopyVariablesToProperties(boolean copyVariablesToProperties)
public boolean isCopyCamelBodyToBody()
public void setCopyCamelBodyToBody(boolean copyCamelBodyToBody)
public boolean isCopyVariablesToBodyAsMap()
public void setCopyVariablesToBodyAsMap(boolean copyVariablesToBodyAsMap)
public String getCopyVariablesFromProperties()
public void setCopyVariablesFromProperties(String copyVariablesFromProperties)
public String getCopyVariablesFromHeader()
public void setCopyVariablesFromHeader(String copyVariablesFromHeader)
public boolean isCopyCamelBodyToBodyAsString()
public void setCopyCamelBodyToBodyAsString(boolean copyCamelBodyToBodyAsString)
public boolean isSetProcessInitiator()
public String getProcessInitiatorHeaderName()
public void setProcessInitiatorHeaderName(String processInitiatorHeaderName)
public boolean isLenientProperties()
isLenientProperties
in interface org.apache.camel.Endpoint
isLenientProperties
in class org.apache.camel.impl.DefaultEndpoint
public long getTimeout()
public int getTimeResolution()
Copyright © 2016 Alfresco. All rights reserved.