implementationis defined in the process definition file. The sections below explain how runtime bundle and Cloud Connectors interact.
implementationof the related Service Task. For instance, in the following example a message will be sent to the destination
<serviceTask id="serviceTaskSendReward" name="Tweet Winners" implementation="SendRewardToWinners" />
activiti-cloud-starter-runtime-bundle) will bring the following configuration for the
@Inputannotation, to receive the Integration Requests coming from the Runtime Bundle. E.g:
IntegrationResultSender(autowired) are provided by
IntegrationResultSenderwill use dynamically bound destination again to make sure that the integration result message will be sent to the right destination:
TARGET_APPLICATION_NAMEis the name of the runtime bundle which has sent the initial Integration Request.
implementationof the related service task. In our example,
7.1.0-M7, cloud connectors are able to notify the Runtime Bundle that something went wrong during their execution. This can be done in two ways:
IntegrationErrorSender. This will not trigger the Message Broker retry mechanism: the error notification will be sent straight away to the Runtime bundle:
INTEGRATION_ERROR_RECEIVEDevent to query and audit. Audit will store this event in its event logs and query will update the status of the related
service taskto the error status.
CloudBpmnError. This BPMN Error can be caught by any BPMN Catch Error Event in the process that is in the scope of the service task calling the connector.
CloudBpmnErrorshould match with the one used by the BPMN Catch Error Event.