Enrich with attachement in 4.10.0

2025-02-14 Thread ski n
I have the following route: direct:enrich This route works as follows: 1. Enrich: Adds the body from the enrich endpoint as attachment: 2. Marshal: The exchange with attachment is marshalled to a MimeMessage using MimeMultipartDataFormat This worked until 4.9.0, but f

Re: Synchronizing after multicasting and then aggregating

2025-02-14 Thread Claus Ibsen
Hi Multicast has aggregation strategy where you can combine the 2 responses together as you desire, and then the output of that is what is continued routed after the multicast block On Fri, Feb 14, 2025 at 4:42 AM Andrew Parmet wrote: > I'm in a scenario where I have one input subscription to

Re: Handling exception in DIRECT sub-route and continue on the parent route

2025-02-14 Thread Claus Ibsen
Hi What Camel does is correct there was an exception and it was handled, and you could build a custom response in the onException block as you did. And then the routing stops and returns to the caller. The first route does not see the exception, so either you turn off error handling in the second

Re: Enrich with attachement in 4.10.0

2025-02-14 Thread ski n
Note that when I set the body exchange in MimeMultipartDataFormat.java directly it works: ByteArrayOutputStream byteStream = new ByteArrayOutputSt