Package org.activiti.spring.integration
Class ActivitiInboundGateway
- java.lang.Object
-
- org.springframework.integration.context.IntegrationObjectSupport
-
- org.springframework.integration.endpoint.AbstractEndpoint
-
- org.springframework.integration.gateway.MessagingGatewaySupport
-
- org.activiti.spring.integration.ActivitiInboundGateway
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanFactoryAware,org.springframework.beans.factory.BeanNameAware,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware,org.springframework.context.Lifecycle,org.springframework.context.Phased,org.springframework.context.SmartLifecycle,org.springframework.integration.context.ExpressionCapable,org.springframework.integration.support.context.NamedComponent,org.springframework.integration.support.management.IntegrationManagement,org.springframework.integration.support.management.MessageSourceMetrics,org.springframework.integration.support.management.TrackableComponent
public class ActivitiInboundGateway extends org.springframework.integration.gateway.MessagingGatewaySupportAs a process enters a wait-state, this forwards the flow into Spring Integration. Spring Integration flows may ultimately return a reply message and that will signal the execution.
-
-
Field Summary
-
Fields inherited from class org.springframework.integration.gateway.MessagingGatewaySupport
messagingTemplate
-
Fields inherited from class org.springframework.integration.endpoint.AbstractEndpoint
lifecycleCondition, lifecycleLock
-
Fields inherited from class org.springframework.integration.context.IntegrationObjectSupport
EXPRESSION_PARSER, logger
-
-
Constructor Summary
Constructors Constructor Description ActivitiInboundGateway(org.activiti.engine.ProcessEngine processEngine, java.lang.String... pvsOrHeadersToPreserve)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(IntegrationActivityBehavior receiveTaskActivityBehavior, org.activiti.engine.delegate.DelegateExecution execution)protected voidinitializeDefaultPreservedHeaders()voidsignal(IntegrationActivityBehavior receiveTaskActivityBehavior, org.activiti.engine.delegate.DelegateExecution execution, java.lang.String signalName, java.lang.Object data)-
Methods inherited from class org.springframework.integration.gateway.MessagingGatewaySupport
buildErrorMessage, doStart, doStop, getComponentType, getErrorChannel, getErrorMessageAttributes, getManagedName, getManagedType, getMessageCount, getMessageCountLong, getOverrides, getReplyChannel, getRequestChannel, isCountsEnabled, isLoggingEnabled, onInit, receive, receive, receiveMessage, receiveMessage, registerReplyMessageCorrelatorIfNecessary, reset, send, sendAndReceive, sendAndReceiveMessage, sendAndReceiveMessageReactive, setCountsEnabled, setErrorChannel, setErrorChannelName, setErrorMessageStrategy, setLoggingEnabled, setManagedName, setManagedType, setReplyChannel, setReplyChannelName, setReplyMapper, setReplyTimeout, setRequestChannel, setRequestChannelName, setRequestMapper, setRequestTimeout, setShouldTrack
-
Methods inherited from class org.springframework.integration.endpoint.AbstractEndpoint
destroy, doStop, getPhase, getRole, isAutoStartup, isRunning, setAutoStartup, setPhase, setRole, start, stop, stop
-
Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport
afterPropertiesSet, extractTypeIfPossible, generateId, getApplicationContext, getApplicationContextId, getBeanFactory, getBeanName, getChannelResolver, getComponentName, getConversionService, getExpression, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, isInitialized, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, setPrimaryExpression, setTaskScheduler, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
initializeDefaultPreservedHeaders
protected void initializeDefaultPreservedHeaders()
-
execute
public void execute(IntegrationActivityBehavior receiveTaskActivityBehavior, org.activiti.engine.delegate.DelegateExecution execution)
-
signal
public void signal(IntegrationActivityBehavior receiveTaskActivityBehavior, org.activiti.engine.delegate.DelegateExecution execution, java.lang.String signalName, java.lang.Object data)
-
-