Thanks a lot. Yes it is the granularity. I also saw the below in the logs which I guess decreases the performance.
What I am doing is 1. reading a file 2. Spliting them using token "\n" 3. Unmarshaling each line using the "|" delimiter (.unmarshal(csv).convertBodyTo(List.class).aggregate(constant(true), new MyListAggregation()).completionSize(2000) 4. Processing the list of tokens 6. writing them to a file. I see that the below lines in my logs sugessting that the same thing (loading type converters) is being repeated. 2011-11-09 14:58:34,116 INFO [pool-1-thread-1] impl.DefaultCamelContext - JMX enabled. Using ManagedManagementStrategy. 2011-11-09 14:58:34,117 INFO [pool-1-thread-1] converter.AnnotationTypeConverterLoader - Found 3 packages with 15 @Converter classes to load 2011-11-09 14:58:34,125 INFO [pool-1-thread-1] converter.DefaultTypeConverter - Loaded 154 core type converters (total 154 type converters) 2011-11-09 14:58:34,126 INFO [pool-1-thread-1] converter.AnnotationTypeConverterLoader - Loaded 2 @Converter classes 2011-11-09 14:58:34,126 INFO [pool-1-thread-1] converter.DefaultTypeConverter - Loaded additional 5 type converters (total 159 type converters) in 0.001 seconds 2011-11-09 14:58:35,472 INFO [pool-1-thread-1] impl.DefaultCamelContext - JMX enabled. Using ManagedManagementStrategy. 2011-11-09 14:58:35,472 INFO [pool-1-thread-1] converter.AnnotationTypeConverterLoader - Found 3 packages with 15 @Converter classes to load 2011-11-09 14:58:35,480 INFO [pool-1-thread-1] converter.DefaultTypeConverter - Loaded 154 core type converters (total 154 type converters) 2011-11-09 14:58:35,481 INFO [pool-1-thread-1] converter.AnnotationTypeConverterLoader - Loaded 2 @Converter classes 2011-11-09 14:58:35,482 INFO [pool-1-thread-1] converter.DefaultTypeConverter - Loaded additional 5 type converters (total 159 type converters) in 0.001 Why is this and is there a way to load them only once. Thanks & regards, Ebe -- View this message in context: http://camel.465427.n5.nabble.com/Performance-issue-tp4964485p4978941.html Sent from the Camel - Users mailing list archive at Nabble.com.
