camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Thomas <>
Subject Trigger a event to a queue when File component starts processing files
Date Tue, 08 Sep 2015 15:44:35 GMT

      I am try to send a message to a queue when the file componenet starts
processing any file. But I since I am using XML DSL not sure how to
configure it.
      I am setting the Body with a different value just for the message.
This is causing the processing to not go forward. Since I am using
pararllelprocessing I can't write the logic inside the split since I am not
sure if the First message will always the one I have sent First.

      I also thought of pollenrich but still I feel it will  boil back to
same issue.  My route currently.  Any ideas ?

         <route customId="false" id="routeCSV" xmlns="">
                         <process ref="CustomHeaderProcessor" />
                         <setHeader headerName="DATASOURCEID">
                          <simple resultType="java.lang.Integer">8</simple>
                         <setHeader headerName="MESSAGE_TYPE">
                         <setBody >
        <split id="splitCSV" streaming="true"  parallelProcessing="true">
             <tokenize token="\n"/>
               <simple>${property.CamelSplitIndex} > 0</simple>
                   <csv useMaps="true">

Felix T

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message