当我选择从无交易到XA交易的交易类型更改时,会出现此错误
我该如何解决?
这是我在下面的配置
<flow name="insert_flow" doc:name="insert_flow">
<jdbc-ee:outbound-endpoint exchange-pattern="one-way" queryKey="INSERT_TOKEN" queryTimeout="-1" connector-ref="Database" doc:name="Insert to mysql">
<jdbc-ee:query key="INSERT_TOKEN" value="insert into users(FirstName) values(#[FirstName]);"/>
<xa-transaction action="ALWAYS_BEGIN" interactWithExternal="true"/>
</jdbc-ee:outbound-endpoint>
<scripting:component doc:name="pyhon return success result">
<scripting:script engine="jython">
<scripting:text><![CDATA[result = str('{\"status\":\"true\"}')]]></scripting:text>
</scripting:script>
</scripting:component>
<rollback-exception-strategy doc:name="Rollback Exception Strategy"/>
</flow>
感谢提前。