Package org.flowable.spring.integration
Class FlowableInboundGateway
- java.lang.Object
-
- org.springframework.integration.context.IntegrationObjectSupport
-
- org.springframework.integration.endpoint.AbstractEndpoint
-
- org.springframework.integration.gateway.MessagingGatewaySupport
-
- org.flowable.spring.integration.FlowableInboundGateway
-
- 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.IntegrationPattern,org.springframework.integration.support.context.NamedComponent,org.springframework.integration.support.management.IntegrationInboundManagement,org.springframework.integration.support.management.IntegrationManagement,org.springframework.integration.support.management.ManageableLifecycle,org.springframework.integration.support.management.ManageableSmartLifecycle,org.springframework.integration.support.management.TrackableComponent
public class FlowableInboundGateway 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.- Author:
- Josh Long
-
-
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 FlowableInboundGateway(ProcessEngine processEngine, String... pvsOrHeadersToPreserve)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(IntegrationActivityBehavior receiveTaskActivityBehavior, DelegateExecution execution)protected voidinitializeDefaultPreservedHeaders()voidsignal(IntegrationActivityBehavior receiveTaskActivityBehavior, DelegateExecution execution, String signalName, Object data)-
Methods inherited from class org.springframework.integration.gateway.MessagingGatewaySupport
buildErrorMessage, buildSendTimer, destroy, doStart, doStop, getComponentType, getErrorChannel, getErrorMessageAttributes, getIntegrationPatternType, getManagedName, getManagedType, getOverrides, getReplyChannel, getRequestChannel, isLoggingEnabled, onInit, receive, receive, receiveMessage, receiveMessage, registerMetricsCaptor, registerReplyMessageCorrelatorIfNecessary, send, sendAndReceive, sendAndReceiveMessage, sendAndReceiveMessageReactive, sendTimer, setErrorChannel, setErrorChannelName, setErrorMessageStrategy, setErrorOnTimeout, setLoggingEnabled, setManagedName, setManagedType, setReplyChannel, setReplyChannelName, setReplyMapper, setReplyTimeout, setRequestChannel, setRequestChannelName, setRequestMapper, setRequestTimeout, setShouldTrack
-
Methods inherited from class org.springframework.integration.endpoint.AbstractEndpoint
doStop, getPhase, getRole, isActive, isAutoStartup, isRunning, setAutoStartup, setPhase, setRole, start, stop, stop
-
Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport
afterPropertiesSet, extractTypeIfPossible, generateId, getApplicationContext, getApplicationContextId, getBeanDescription, 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
-
-
-
-
Constructor Detail
-
FlowableInboundGateway
public FlowableInboundGateway(ProcessEngine processEngine, String... pvsOrHeadersToPreserve)
-
-
Method Detail
-
initializeDefaultPreservedHeaders
protected void initializeDefaultPreservedHeaders()
-
execute
public void execute(IntegrationActivityBehavior receiveTaskActivityBehavior, DelegateExecution execution)
-
signal
public void signal(IntegrationActivityBehavior receiveTaskActivityBehavior, DelegateExecution execution, String signalName, Object data)
-
-