Thnx Clause. 

So 3.7.0 gives an error and 3.8.0+ will "fix" this silently. Does this mean it 
automatically creates a sub route for it or just move it to the top of the 
route, because <transacted><split> is different from <split><transacted>. 
Personally I think the error message in 3.7.0 is more clear about this and 
makes clear that you need to create a separate route in the split and mark that 
as transacted if you want a transaction within each split iteration.

Met vriendelijke groet / Kind regards,

Jacob Hoeflaken
Technology Leader

Tel: +31 88 988 90 00 - Mobiel: +31 6 11956482 - jacob.hoefla...@axians.com

 
 
-----Original Message-----
From: Claus Ibsen <claus.ib...@gmail.com> 
Sent: Friday, April 9, 2021 10:10
To: users@camel.apache.org
Subject: Re: Has transacted changed in 3.8.0+?

Hi

Yes <transacted> should be in the top of your route.
Camel will "fix" this internally, if you specify transacted in other parts.


On Fri, Apr 9, 2021 at 10:04 AM HOEFLAKEN Jacob 
<jacob.hoefla...@axians.com.invalid> wrote:
>
> He,
>
> I have noticed some changes regarding the transacted element in 3.8.0/3.9.0 
> in the XML DSL.
>
> In 3.8.0+ I can specify the following:
>
> <route id="main">
>         <from uri="netty-http:http://0.0.0.0:8080"/>
>         <split>
>                 <simple>${body}</simple>
>         <transacted>
>                 <to uri="direct:one"/>
>                         <to uri="direct:two"/>
>         </transacted>
>         </split>
>
> I don't know of it works, but it is accepted as valid input.
>
> While in 3.7.0 you cannot do this because a transacted can only be defined as 
> first element after a from. Has something changed regarding transacted?
>
> Met vriendelijke groet / Kind regards,
>
> Jacob Hoeflaken
> Technology Leader
>
> Tel: +31 88 988 90 00 - Mobiel: +31 6 11956482 - 
> jacob.hoefla...@axians.com
>
> AXIANS
>
> Hogeweg 41 - 5301 LJ Zaltbommel - NL
> Tel: + 31 88 988 90 00 - info...@axians.com - 
> https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.a
> xians.nl%2F&amp;data=04%7C01%7Cjacob.hoeflaken%40axians.com%7Cd3ccff7f
> 87b24977fa2e08d8fb2ee097%7Ccae7d06108f340dd80c33c0b8889224a%7C0%7C0%7C
> 637535527170398910%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjo
> iV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=PYLXJYr%2BdAe
> yNECJHnHtQlROMgnkHelilyjdFkVryYs%3D&amp;reserved=0 - KvK 24288803
>
> VINCI ENERGIES
>
> DENK AAN HET MILIEU VOORDAT U DIT BERICHT PRINT!Dit e-mailbericht is 
> uitsluitend bestemd voor de geadresseerde. Indien u dit bericht ten onrechte 
> ontvangt, wordt u verzocht de inhoud niet te gebruiken, maar de afzender 
> direct te informeren door het bericht te retourneren en het daarna te 
> verwijderen. Axians staat niet in voor de juiste overbrenging van een 
> verzonden e-mail, noch voor de tijdige ontvangst daarvan.



--
Claus Ibsen
-----------------
https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdavsclaus.com%2F&amp;data=04%7C01%7Cjacob.hoeflaken%40axians.com%7Cd3ccff7f87b24977fa2e08d8fb2ee097%7Ccae7d06108f340dd80c33c0b8889224a%7C0%7C0%7C637535527170398910%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=nB4d1%2BRl6mVkhz9WnsBCMIkXQ9qq5NvJlh4k4N5h%2FkM%3D&amp;reserved=0
 @davsclaus Camel in Action 2: 
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.manning.com%2Fibsen2&amp;data=04%7C01%7Cjacob.hoeflaken%40axians.com%7Cd3ccff7f87b24977fa2e08d8fb2ee097%7Ccae7d06108f340dd80c33c0b8889224a%7C0%7C0%7C637535527170398910%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=x2lReYLBJTf2AlLc1OnvBLKnvnpvHqU9aPXKRhw4%2FFE%3D&amp;reserved=0

Reply via email to