Hi

Hmm how are you configuring that quartz endpoint exactly. As it seems you
go some custom way with URISupport and encoding and whatnot.
You can configure Camel endpoints as basic strings, or use the Endpoint DSL
etc.

We are not so keen on changing code in endpoint / URI without a
compelling reason, especially in patch releases.

So what we need is if you can put a sample project code somewhere that
demonstrates this, and we can take a look at that first.

On Tue, Jan 10, 2023 at 12:22 PM Lindgren Peter
<peter.lindg...@volvofinans.se.invalid> wrote:

> Hello! My first posting on this list, please be gentle 😊
> We’ve been using Apache Camel for a short while, and now we have started
> to use Quartz as the scheduler for SFTP transfers. We have two nodes, and
> we've decided on the use of Quartz for clustering.
>
> To simplify for our developers and integrators to set up new SFTP
> transfers (and migrate from other platform), we have an SFTP routebuilder
> that sets the common URL parameters that fits our environment and usage, to
> keep the noise/clutter down as much as possible in the properties files.
>
> All parameters are added using the Camel's URISupport library, which
> URL-encodes the parameters. Thus, it also encodes the quartz-related
> parameters -- the cron string and time zone ID, which the
> QuartzScheduledPollConsumerScheduler can't decode (it merely replaces '+'
> with space in the cron string). It seems to be the same in all 3.x
> versions, and in master.
>
> I did some experiments locally with 3.14.8 and came up with a few simple
> changes in QuartzScheduledPollConsumerScheduler which solves my problem,
> and I think it is a general solution.
> How would you suggest I continue? Should I make a jira ticket before I
> push my changes in my fork? I guess I can't just create my own branch in
> the main repo.
>
> Peter
>


-- 
Claus Ibsen
-----------------
@davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to