Re: Not able to use aggregate with Splitter in Camel Version 3.20.0

2023-05-24 Thread Sahil Upneja
Hi Team , Could you please update on this. The problem I'm facing is My Splitter is working with Aggregate in Java DSL but ot in XML Dsl. The following Java DSL code is working fine as expected @Component public class DataRoute extends RouteBuilder { @Override public void configure()

Re: Not able to use aggregate with Splitter in Camel Version 3.20.0

2023-05-21 Thread Sahil Upneja
Hi Claus , Yes Jsonpath is correct The following java DSL code is working fine as expected @Component public class DataRoute extends RouteBuilder { @Override public void configure() throws Exception { from("file:C:\\Users\\sahil\\Desktop\\Source")

Re: Not able to use aggregate with Splitter in Camel Version 3.20.0

2023-05-20 Thread Claus Ibsen
Hi Are you sure jsonpath $ will return a list or something that can be iterated for the splitter to turn into 10 elements. As you have timeout 1s then it may be that this is what causes the output of the trigger. Make sure you jsonpath is correct, there are online jsonpath validators you can try

Not able to use aggregate with Splitter in Camel Version 3.20.0

2023-05-19 Thread Sahil Upneja
Hi Team, I am not able to use aggregate with Splitter in Camel Version 3.20.0. *completionSize* is not getting considered when I am using Aggregate inside the Splitter Splitter is splitting in batches of 1 only, but I want to split Json array of large size say 100 into batches of 10. Below is