Re: String processing with Apache Camel with Spring DSL

2011-04-04 Thread Richard Kettelerij
Looking at the example string, I think you need a component that is capable of parsing fixed-width records. This can be accomplished using either of the following Camel components: - camel-bindy (POJO based), http://camel.apache.org/bindy.html - camel-flatpack (XML based), http://camel.apache.org/

Re: String processing with Apache Camel with Spring DSL

2011-04-04 Thread Muhammad Rayhan
Thanks John for the reply I tend to agree with you on POJO doing the parsing dirty work. Creating new POJO is actually the thing we want to avoid. Our team prefer configuring Spring DSL rather than using POJO. On this case where the parsing will be too complex, however, POJO maybe the cleanest sol

Re: String processing with Apache Camel with Spring DSL

2011-04-04 Thread John McDonald
If you are using Spring then I would be looking at a POJO to do this parsing work - routing to it using the beanRef - this would encapsulate your string manipulation and leave camel to perform delivery and routing. There are predicates and conditionals you could use in your dsl - but for my t

String processing with Apache Camel with Spring DSL

2011-04-04 Thread Muhammad Rayhan
Hi, this is my first email to this mailing-list. Although already knowing for some time, I only recently got the opportunity to deploy integration solution using Apache Camel. And Camel did wonder! I and my fellow friends were amazed by the concept and simplicity of Apache Camel Now, I have anothe