'Is there any way I can create a Scheduled Job with custom Job Name and Job Group for SFTP Endpoint

From URI of the Route looks like below

sftp://{{host}}/{{remoteFolderLocation}}?username={{username}}&password={{password}}&recursive=true&useUserKnownHostsFile=false &move=.consumed&maximumReconnectAttempts=3&readLock=changed&readLockMinAge=10s&fastExistsCheck=true &scheduler=quartz2&scheduler.cron=0+0/10++1/1++?+*

I want to consume files from SFTP Server remote folder location and also have control on the Job Name and Job Group created by Camel Quartz2 Component

Can someone let me know how to achieve the above requirement??



Solution 1:[1]

I believe you want to use the schedulerProperties option in the endpoint uri. I don't how the syntax for it works, but to me it seems like that is the only way for naming the scheduler.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 jwwallin