Reputation: 1891
when I choose Transaction Type change from No Transaction to XA Transaction this error appear
how I can fix it?
this is my config below
<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>
Thank for advance.
Upvotes: 0
Views: 651
Reputation: 3264
This is a known issue of the studio validation affecting version 1.3.x (details here )
This has been fixed on Studio 3.4 and you can find informations about the beta in this blog post
Upvotes: 1