Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

SFTP: disconnect on route-suspend

$
0
0
Hello,

I have some routes with SFTP endpoints on consumer and producer side. I
trigger these routes via quartz and suspend them after work is done. The
endpoints keep the SFTP connections open in this case.

I want the SFTP connections to be shut down (close the network connections)
when I suspend the routes. JSCH shall re-login when I restart the routes, I
don't want to keep connections open.

How can I achieve this?

Thanks, mdo.

Viewing all articles
Browse latest Browse all 5648

Trending Articles