Hi Team,

I'm  doing camel migration from version 2.15.1 to 4.2.0. In older version
there is handle tag in exception block :

<doCatch>
<exception>java.lang.Exception</exception>

<handled>
<constant>false</constant>
</handled>
<log
message="X-Correlation-Id_${header.X-Correlation-Id} |
UserId_${header.RequestorId} | Exception occured"></log>
</doCatch>

*But while upgrading it to Camel 4 getting below error :*
Caused by: org.apache.camel.xml.io.XmlPullParserLocationException:
Unexpected element '{http://camel.apache.org/schema/spring}handled'
in classpath:routes/camel-route.xml, line 885, column 26:
                <handled>

*Please help me in fixing this issue.*

-- 


*Regards,*
*Bikash Kaushik*

Reply via email to