Re: Conditional processing in Spring DSL

2010-12-09 Thread Andy Bourke
Thanks Claus, this works: ${body.size} > 0

Conditional processing in Spring DSL

2010-12-07 Thread Andy Bourke
Hi, I have been trying to influence whether or not the next endpoint gets processed based on some aspect of the mesage body using spring DSL and am having no luck with it. I have tried various incarnations of the following configuration (including tags in place of )

Re: marshal to CSV with pipe delimiter

2010-06-15 Thread Andy Bourke
Hi Claus, The following example of commons-csv demonstrates taking input delimited by comma and writing output delimited by pipe. import java.io.Reader; import java.io.StringReader; import org.apache.commons.csv.CSVParser; import org.apache.commons.csv.CSVPrinter; import org.apache.commons.csv.

marshal to CSV with pipe delimiter

2010-06-10 Thread Andy Bourke
I have successfully configured my spring XML to unmarshal a file delimited by pipe symbols using the following: with the readPipeCsv bean configured as: However, the same technique does not work when trying to marshal the CSV data, i.e. the output has comma delimited

Re: Renamer failing to rename 'From' File when using multiple endpoints via Multicast

2010-01-22 Thread Andy Bourke
> Which OS are you running? Could you write that down in the JIRA as well. I'm running Windows Vista Business Service Pack 2, 32 bit. I have put this in the Jira (#CAMEL-2394) https://issues.apache.org/activemq/browse/CAMEL-2394 -- View this message in context: http://old.nabble.com/Renamer-f

Re: Renamer failing to rename 'From' File when using multiple endpoints via Multicast

2010-01-22 Thread Andy Bourke
get right on it. > > > Claus Ibsen-2 wrote: >> >> On Fri, Jan 22, 2010 at 2:47 PM, Claus Ibsen >> wrote: >>> On Fri, Jan 22, 2010 at 2:41 PM, Andy Bourke >>> wrote: >>>> >>>> If I understand it right, the multicast allows the

Re: Renamer failing to rename 'From' File when using multiple endpoints via Multicast

2010-01-22 Thread Andy Bourke
elProcessing="true" and the problem remains. How do I create a ticket in Jira? I have never used it. Claus Ibsen-2 wrote: > > On Fri, Jan 22, 2010 at 2:47 PM, Claus Ibsen > wrote: >> On Fri, Jan 22, 2010 at 2:41 PM, Andy Bourke >> wrote: >>> >>>

Re: Renamer failing to rename 'From' File when using multiple endpoints via Multicast

2010-01-22 Thread Andy Bourke
, 2010 at 1:20 PM, Andy Bourke > wrote: >> >> Hi all, >> >> I am new to camel and have hit a problem that I hope someone can help me >> with. >> >> I have a route that looks for a file in a directory => unmarshals the >> file >> using =>

Renamer failing to rename 'From' File when using multiple endpoints via Multicast

2010-01-22 Thread Andy Bourke
Hi all, I am new to camel and have hit a problem that I hope someone can help me with. I have a route that looks for a file in a directory => unmarshals the file using => transforms the output from the unmarshal (which is List>) to a List of data objetcs => passes the List of data objects to a