Hello Tom,

I think you can try flatpack with one of the idempotent consumer
(http://camel.apache.org/idempotent-consumer.html) to eliminate duplicated
messages. For example, maybe something like this:

  from("file:inbox")
    .to("flatpack:fixed:yourdata.pzmap.xml")
    .filter(header("action_id"))
    .idempotentConsumer(header("organisation_id"),
MemoryIdempotentRepository.memoryIdempotentRepository(200))

Also alternative to flatpack, you may also checkout Camel bindy:
http://camel.apache.org/bindy.html to parse fixed length records.

Have fun,
Zemian



--
View this message in context: 
http://camel.465427.n5.nabble.com/Flatpack-and-aggregation-tp5736837p5736874.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to