camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dermoritz <>
Subject Re: How to relay different parts of message to different endpoints
Date Wed, 06 Aug 2014 13:08:12 GMT
>From unmarshal().gzip() comes a byte[] (with mixed number of fields in each

My processor scans the byte[] line by line some lines have 35 ',' some have
65 ',' and i want to scan each byte[] only once.
So i create 2 byte arrays one with 35er lines and one with 65er lines. My
question is what to do with this 2 byte array. I think a have to create 2
exchanges within processor and set the header. 

Sorry i don't see how this works with one byte[] and setting 2 different
headers. Could you probably show a route processor that could do this
(pseudo code would be sufficient)

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message