RE: Camel JAXB - ArrayList of Objects to XML

2014-04-17 Thread contactreji
Hi Ravi Thanks .. That was helpful :-) -- View this message in context: http://camel.465427.n5.nabble.com/Camel-JAXB-ArrayList-of-Objects-to-XML-tp5750356p5750359.html Sent from the Camel - Users mailing list archive at Nabble.com.

RE: Camel JAXB - ArrayList of Objects to XML

2014-04-17 Thread Ravindra.Godbole
You can definitely do it. Create route like this : protected RouteBuilder createRouteBuilder() throws Exception { return new RouteBuilder() { JAXBContext context = JAXBContext.newInstance(new Class[]{Orders.class}); Unmar

Re: Does Camel MongoDB use cursors on findAll ?

2014-04-17 Thread Ephemeris Lappis
Hello. I have tried different options; like batch size; to evaluate some scenario to optimize some cases. But for cases with a really big volume of data, retrieving them all in memory always leads to an error. Our current case should be something as simple as : A first route : - receive a soap

Camel JAXB - ArrayList of Objects to XML

2014-04-17 Thread contactreji
Hi Is there a way to convert incoming ArrayList of Java Objects into XML? I have used camel JAXB component for converting a simple object into XML. But according to my requirement, I need to create an XML file containing multiple Order details into a XML containing a root tag as Orders and sub t

Re: Does Camel MongoDB use cursors on findAll ?

2014-04-17 Thread Raul Kripalani
Hi, We use Mongo cursors to read from the DB. But a DBCursor is not something we can return to the route because not all technologies support Streams, Cursors, Chunking, etc. For example, how would you go about returning a DBCursor to a JMS endpoint? That's why we offer the skipping and limiting

Re: Camel Bindy - Issues with returntype

2014-04-17 Thread Claus Ibsen
Hi Bindy does not support mapping to java.util.Map. The idea is that you may from flatfile/csv to POJOs, where you annotate the POJOs with how to map. Maybe take a look at some of the other csv components/data formats, such as beanio, csv, flatpack You can see the list here http://camel.apache.o

Re: Java heap space with FILE producer and larges files

2014-04-17 Thread bbk
I have created the JIRA for this issue. https://issues.apache.org/jira/browse/CAMEL-7376 -- View this message in context: http://camel.465427.n5.nabble.com/Java-heap-space-with-FILE-producer-and-larges-files-tp5749845p5750353.html Sent from the Camel - Users mailing list archive at Nabble.com

Does Camel MongoDB use cursors on findAll ?

2014-04-17 Thread Ephemeris Lappis
Hello. After some tests, it seems that the Camel MongoDB "findAll" operation tries to load all the matching queried data into memory before process them. With collections whose content is about tens millions of documents, this naturally leads to OutOfMemoryErrors... Does this component may use

Re: Camel RabbitMQ acknowledge messages

2014-04-17 Thread Willem Jiang
Hi, If you set the option of autoAck is false, Camel will send the acknowledgement to RabbitMQ when the exchange is processed.  If you want to do it in the batch mode, you may need to change the  RabbitMQConsumer, but I’m not sure how can get the channel if you want to send the acknowledgement

Camel RabbitMQ acknowledge messages

2014-04-17 Thread Reichert, Andre
Hi, We are using RabbitMQ for messaging huge amount of data. For good performance multi acknowledgment of messages is used. Further we send messages from RabbitMQ via EventManager for processing. After a batch we store results in data base and acknowledge processed messages. We would like to

Not able to retrieve the SoapHeader while invoking spring-ws producer

2014-04-17 Thread ranetruptiv
Hello, I am using camel version 2.12.2. I have visited link https://issues.apache.org/jira/browse/CAMEL-4515 with Description as "Currently the Camel-Spring-WS component does not support the setting of SOAP Headers and has issues getting them. The current issue getting the SOAP Headers when recei

Re: camel cxrrs no service found

2014-04-17 Thread Sergey Beryozkin
It appears to be a CXF users level query, please re-post there and also provide more details if possible Cheers, Sergey On 16/04/14 17:54, pointerness wrote: I am using the below servlet configuration CXFServlet org.apache.cxf.transport.servlet.CXFServlet 1 CXFServlet