Hello,
I have a problem (used camel version: 2.8.4) between 2 routes :
I used a process java bean in a splitter : I have one big file on entry
(around 2GB), make some processes on file and create 2 files with the
splitter on exit.
At the end of the splitter I have to push the files on file endpoint.
But, between my splitter and the file endpoint my files disappeared and
there is no errors on logs...
Any idea ?
To solve the problem, I've added a choice process to push the new files
(with the new name) but it's not a right way for me...
My code then :
<camel:route id="ROUTE_OUT_DATALAB_ACTE_SPLIT">
<camel:from ref="EP_OUT_DATALAB_ACTE_SPLIT" />
<camel:threads>
<camel:choice>
<camel:when>
<camel:simple>${file:onlyname} regex
'^REFCLIENT_ACTE_EXTRACT_ACTE_.*$'</camel:simple>
<camel:process ref="EP_OUT_DATALAB_ACTE_TRAITEMENT_PROCESSOR" />
<camel:split>
<camel:method bean="EP_OUT_DATALAB_ACTE_SPLITTER_PROCESSOR"/>
<camel:to ref="EP_OUT_DATALAB_ACTE_TRANSFERT" />
</camel:split>
</camel:when>
<camel:when>
<camel:simple>${file:onlyname} regex
'^Extract_COL_.*$'</camel:simple>
<camel:to ref="EP_OUT_DATALAB_ACTE_TRANSFERT" />
</camel:when>
<camel:otherwise>
<camel:rollback message = "Traitement DATALAB_ACTE : pas de regle
trouvee pour le fichier"/>
</camel:otherwise>
</camel:choice>
</camel:threads>
</camel:route>
and :
<camel:endpoint id="EP_OUT_DATALAB_ACTE_TRANSFERT"
uri="file:///${DATA_PATH}/MDF/OUT/DATALAB/ACTE/TRANSFERT?filter=#EP_OUT_DATALAB_ACTE_TRANSFERT_FILTRE"
/>
Thank you!
--
View this message in context:
http://camel.465427.n5.nabble.com/files-disappeared-between-2-routes-tp5732950.html
Sent from the Camel - Users mailing list archive at Nabble.com.