Hi, Could you be please more precise about the problem you're facing? Is the line:
exchange.getOut().setBody(); part of your *own* implemented Producer logic? If not which Camel component do you make use of? And along the 2 lines: List<ResourceProperties> response = new ArrayList<ResourceProperties>(); response = (List<ResourceProperties>) exchange.getOut().getBody(); Why do you assign the response reference to an ArrayList object if you assign it right afterwards on the second line to be the Body content of the Out Message? Babak -- View this message in context: http://camel.465427.n5.nabble.com/Sending-a-ArrayList-Object-takes-so-long-tp5157568p5157593.html Sent from the Camel - Users mailing list archive at Nabble.com.
