Class MethodFlowableWorkerEndpoint
java.lang.Object
org.flowable.external.worker.config.AbstractFlowableWorkerEndpoint
org.flowable.external.worker.config.MethodFlowableWorkerEndpoint
- All Implemented Interfaces:
FlowableWorkerEndpoint
A
FlowableWorkerEndpoint providing the method to invoke to process an incoming message for this endpoint.- Author:
- Filip Hrisafov
-
Field Summary
Fields inherited from class org.flowable.external.worker.config.AbstractFlowableWorkerEndpoint
concurrency, id, lockDuration, numberOfRetries, numberOfTasks, pollingInterval, topic -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected FlowableWorkerJobListenercreateWorkerJobListener(FlowableWorkerContainer container) Create aFlowableWorkerJobListenerthat is able to serve this endpoint for the specified container.getBean()protected StringBuilderReturn a description for this endpoint.voidSet the actual bean instance to invoke this endpoint method on.voidsetMessageHandlerMethodFactory(org.springframework.messaging.handler.annotation.support.MessageHandlerMethodFactory messageHandlerMethodFactory) Set theMessageHandlerMethodFactoryto use to build theInvocableHandlerMethodresponsible to manage the invocation of this endpoint.voidSet the method to invoke for processing a job managed by this endpoint.Methods inherited from class org.flowable.external.worker.config.AbstractFlowableWorkerEndpoint
getConcurrency, getId, getLockDuration, getNumberOfRetries, getNumberOfTasks, getPollingInterval, getTopic, setConcurrency, setId, setLockDuration, setNumberOfRetries, setNumberOfTasks, setPollingInterval, setTopic, setupFlowableWorkerContainer, setupWorkerContainer, setupWorkerJobListener, toString
-
Constructor Details
-
MethodFlowableWorkerEndpoint
public MethodFlowableWorkerEndpoint()
-
-
Method Details
-
setBean
Set the actual bean instance to invoke this endpoint method on. -
getBean
-
setMethod
Set the method to invoke for processing a job managed by this endpoint. -
getMethod
-
setMessageHandlerMethodFactory
public void setMessageHandlerMethodFactory(org.springframework.messaging.handler.annotation.support.MessageHandlerMethodFactory messageHandlerMethodFactory) Set theMessageHandlerMethodFactoryto use to build theInvocableHandlerMethodresponsible to manage the invocation of this endpoint. -
createWorkerJobListener
Description copied from class:AbstractFlowableWorkerEndpointCreate aFlowableWorkerJobListenerthat is able to serve this endpoint for the specified container.- Specified by:
createWorkerJobListenerin classAbstractFlowableWorkerEndpoint
-
getEndpointDescription
Description copied from class:AbstractFlowableWorkerEndpointReturn a description for this endpoint.Available to subclasses, for inclusion in their
toString()result.- Overrides:
getEndpointDescriptionin classAbstractFlowableWorkerEndpoint
-