1

Can I check if Camel FTP route is valid or authentication successful before starting the route?

If the password is incorrect the endpoint will not connect and will not consume, but it only get to know after starting of route.

Is there any way to hit the endpoint to check authentication before start of the route?

Tomasz Bawor
  • 1,447
  • 15
  • 40
MKRISH
  • 21
  • 5

1 Answers1

1

No there is no such check.

However there is ComponentVerifierExtension which allows to build a verifier that can check login credentials. We have done this for a number of Camel components such as aws, salesforce, http, etc.

But there is no implementation for camel-ftp for this.

Claus Ibsen
  • 56,060
  • 7
  • 50
  • 65