当我选择事务类型从无事务更改为 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>
感谢提前。