-
Notifications
You must be signed in to change notification settings - Fork 101
Closed
Labels
type: enhancementNew feature or requestNew feature or request
Milestone
Description
What needs to be done
Transactional syntax in mule is as follows:
Mule template
<flow name="exampleFlow">
<transactional action="..." >
Mule Flow Statement 1
Mule Flow Statement 2
.....
Mule Flow Statement n
</transactional>
</flow>
Flow Mule Flow Statement 1.. n are in a transactional block, this transactions component needs to be converted into DSL template as below:
DSL translation template
@Bean
IntegrationFlow exampleFlow(IntegrationFlow exampleFlowTransaction_1) {
return IntegrationFlows.from(....)
.gateway(exampleFlowTransaction_1, e -> e.transactional(true))
....
.get();
}
@Bean
IntegrationFlow exampleFlowTransaction_1() {
return f -> { f
./* Java DSL translation of Mule Flow Statement 1 */
./* Java DSL translation of Mule Flow Statement 2 */
//......
./* Java DSL translation of Mule Flow Statement n */
};
}
Metadata
Metadata
Assignees
Labels
type: enhancementNew feature or requestNew feature or request