Details
-
Bug
-
Resolution: Done
-
Major
-
1.1
-
None
Description
I was building a route like, see screenshot.
I right clicked on the process EIP and chose the rollback EIP.
The source generated is shown below.
The <process> tag cannot have child. So the <rollback> should be added below it instead.
<camelContext xmlns="http://camel.apache.org/schema/spring"> <route> <from uri="timer:foo?period=5000"/> <transform> <language language="simple">Hey ${body}</language> </transform> <process ref="myProcessor"> <rollback markRollbackOnly="true"/> </process> </route> </camelContext>