Hallo,

we use the new camel version 2.0-M1 on our project. With this version we
have a problem with java heap sapce. After looking about the problem i found
out that by using <convertBodyTo> the heap will grow with every xml file we
read. 

I have tested this with a short example:

<endpoint id="camel.Input"
uri="file://${camel.Input}?sortBy=ignoreCase:file:name&amp;preMove=${camel.Archiv}&amp;initialDealy=1000&amp;delay=500"
/>

<route>
 <from ref="camel.Input">
 <convertBodyTo type="java.lang.String">
 <to uri="bean:orderProcessorDummy?method=processOrder"/>
</route>

<bean id="orderProcessorDummy" class="OrderProcessorDummy"></bean>

The class orderProcessorDummy makes nothing and looks like this:

public class OrderProcessorDummy{

 public void processOrder(XMLFILE xml){

  }
}

I hope you can help us to find the bug and fix him ;).

Thanks for help

Tobias



-- 
View this message in context: 
http://www.nabble.com/convertBodyTo-heap-problem-tp23743181p23743181.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to