Routelet fails on bundle:stop or bundle:start or bundle:restart

Four Stars

Routelet fails on bundle:stop or bundle:start or bundle:restart

Hello All,
I'm working Talend ESB V6.1.1. Objective is to build a generic exception handler using routelet and use it across routes. When I published a route containing a routelet to Nexus Artifact repository from Studio and deployed via TAC to Karaf. It worked fine. However, When I do bundle:restart Sample or bundle:start Sample it throws exception as seen below.

t: >>> To <<< in route: Route(GenericExceptionHandlerRoutelet_cDirect_1)
================
My Route looks as below.

Would be great if anyone could help.
Regards,
Hari
Four Stars

Re: Routelet fails on bundle:stop or bundle:start or bundle:restart

Apologies for an addendum post. I had to do this as for some reason, It's not allowing me post another screen shot. Might be mistake from my end as well. 
Employee

Re: Routelet fails on bundle:stop or bundle:start or bundle:restart

would you be able to post the routes/routelets?
Thomas Steinborn
VP Product Management
Four Stars

Re: Routelet fails on bundle:stop or bundle:start or bundle:restart

Hello Team,
Thanks for your response. PFA attached file.
Regards,
Hari
Sample.zip.zip
Sample.zip_20160615-0159.zip
Employee

Re: Routelet fails on bundle:stop or bundle:start or bundle:restart

Hi,
What's the purpose you do bundle:start or bundle:restart? the route bundle is auto started after you deployed it into karaf from TAC. could you try camel:route-stop/camel:route-start commands if you want to restart the route (not restart the bundle). (also maybe checking if the same result if you use bundle:refresh Sample command)
Regards.
Four Stars

Re: Routelet fails on bundle:stop or bundle:start or bundle:restart

Pls ignore
Four Stars

Re: Routelet fails on bundle:stop or bundle:start or bundle:restart

Hi,
What's the purpose you do bundle:start or bundle:restart? the route bundle is auto started after you deployed it into karaf from TAC. could you try camel:route-stop/camel:route-start commands if you want to restart the route (not restart the bundle). (also maybe checking if the same result if you use bundle:refresh Sample command)
Regards.

Hello Team,
Thanks for your response. Indeed, the route starts and works as I have mentioned in my earlier comment. However, for different reasons, the bundle needs to be bounced or when Karaf is re-started as well, I get this issue. Would be great if you can help me with this?
Four Stars

Re: Routelet fails on bundle:stop or bundle:start or bundle:restart

Thanks, this helped me with another issue: The exception handler / error handler must be outside the routelet, otherwise it won't handle the exception / error

Calling Talend Open Studio Users

The first 100 community members completing the Open Studio survey win a $10 gift voucher.

Start the survey

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

An API-First Approach to Modernizing Applications

Learn how to use an API-First Approach to Modernize your Applications

Watch Now

Talend API Designer – Technical Overview

Take a look at this technical overview video of Talend API Designer

Watch Now

Getting Started with APIs

Find out how to get started with APIs

Read