Hi Josh,
Made a bit of progress to get this going and the code is complaint to 5.1. Started testing but not much luck for sometime now. Though , outbound adaptor seems to be working ok.
If we look at the config below and code, the test fails as serviceTask needs to have a class attribute, which shoould refer to fully clasified name( link-- http://www.activiti.org/userguide/in...avaServiceTask ).
I tried option like expression/delegateExpression but taht did not make sense. So, I am kind of stuck that how gateway is going to get invoked.
Any idea, will be of great help.
Error message:
HTML Code:
EVERE: Error while closing command context
org.activiti.engine.ActivitiException: One of the attributes 'class', 'delegateExpression', 'type', 'operation', or 'expression' is mandatory on serviceTask. | processes/si_gateway_example.bpmn20.xml | line 16 | column 10
HTML Code:
<!-- <!-- Activiti sends a message 'to' (inbound) Spring Integration 'from' Activiti -->
<activiti:inbound-gateway
process-engine="processEngine"
request-channel="request"
async="true"
reply-channel="response"
forward-process-variables-as-message-headers="true"
update-process-variables-from-reply-message-headers="true"
id="gateway"
/> />
And BPM config below:
HTML Code:
<process id="sigatewayProcess">
<startEvent id="theStart"/>
<sequenceFlow id="flow1" sourceRef="theStart" targetRef="sigw"/>
<serviceTask id="sigw" name="Spring Integration Gateway" activiti:class="${gateway}" />