Call external webservice

2012-03-02 Thread pvunckx
Hi, I'm stuck with some basic functionality... I'm trying to call an external webservice This is what I'm doing: CamelContext context = new DefaultCamelContext(); try { RouteBuilder builder = new RouteBuilder(){ @Override public void configure() throws Exception {

Re: How to implements ProcessStrategy?

2012-05-16 Thread pvunckx
Thanks! I've used the processStrategy to achieve my goal. The aggregator wasn't the way to go (I think) because I receive 5 csv files who are'n linked to each other but do need to be processed in a certain sequence (sorter-method). -- View this message in context: http://camel.465427.n5.nabble.c

Content enrich via WS

2012-05-16 Thread pvunckx
Case: I receive an XML message who contains a lot of data, one of the fields is an ID of a person. Via this ID (and only this ID) I need to construct a SOAP message to make a WS-call who will return extra information that I need to merge with the initial (!!) message. I support I have to use the

csv bindy with multiline values

2012-06-15 Thread pvunckx
Hello, I'm using the bindy component to convert csv -> java objects. Everything is working super fine. But now I'm running my camel route agains a new csv file with the following line: 23;09/901/13855;"M JANSSENS JAN M JANSSENS J JANSSENS";BO;185.100.096;185.100.096;streetname;45;4396;city;

Re: Forward mail via camel

2012-07-16 Thread pvunckx
Hi Charles, Hi Willem, It's a HTML mail with or without attachments. This is the stacktrace: 2012-07-16 16:46:44,972 [/imap.gmail.com] DEBUG DefaultComponent --- Creating endpoint uri=[smtp://195.238.5.128?to=abc%40xyz.be], path=[195.238.5.128], parameters=[{

process files in order

2012-07-19 Thread pvunckx
Hi, What is the best practice for processing 4 files one after another? The second may only start when the first is completely processed. Ordering the files is not an issue, this is working. For the moment I have 5 routes: - One for the file poller (with sorter) - 4 separate routes (direct) for e

Re: process files in order

2012-07-19 Thread pvunckx
Hi Claus, Thx for your tip ! Indeed, I'm calling webservices in my subroutes > by adding the parameter synchronous=true they run in sequence I'll retry with a large amount of data now and post the result !! Thx Pieter -- View this message in context: http://camel.465427.n5.nabble.com/pro