Hi, the API seems to have changed from the 3.20.4 that I'm using.
Can I just replace the File Filter that the default Route Reloader is
using? I've noticed it uses the Ant Matcher but deliberately ignores the
whole path:
https://github.com/apache/camel/blob/af9e3b4b9559ef18abf7eaba382a2991998
Hi
You can implement a custom org.apache.camel.spi.ResourceReload where you in
the onReload can program what to do.
The current defauly just do
if (name.endsWith(".properties")) {
onPropertiesReload(resource, true);
} else {
Hi,
Thank you! I'm new to the Camel 3 API, can you please point me how can I
load a route programmatically if I have a yaml or xml String (or
Stream/Reader)?
Regarding the ticket, loading the new files after the startup, renaming
the route files and deleting them would also be a useful devel
On Wed, May 17, 2023 at 10:59 PM Fyodor Kravchenko
wrote:
> Hi,
>
> I'm integrating Camel into my application, or better say, application
> platform, that may run different arbitrary Camel routes for integration,
> and I'd like to provide an ability for a developer who makes
> applications for th
in a camel app, I have used property files to provide some of these
params in place of passing them thru the code. You may want to explore
that.
ચિરાગ/चिराग/Chirag
--
Sent from My Gmail Account
On Wed, May 17, 2023 at 4:59 PM Fyodor Kravchenko wrote:
>
>
Hi,
I'm integrating Camel into my application, or better say, application
platform, that may run different arbitrary Camel routes for integration,
and I'd like to provide an ability for a developer who makes
applications for this platform to edit the routes during the
development. I'm already
Hi
What is your goal with this?
The reload stuff is for development and not a production app server to
"redeploy apps" or any sort of that.
The intention is that you work on a single application.
The reload is using Java APIs for "change file events" and this does not
support an ANT style way an
I'm sorry please disregard my previous ramblings, moving the "deploy"
directory to the working directory of the java app did the "include"
trick. It worked without the "file:" prefix because it was looking into
the "target" directry which was the classpath.. My fault.
However, the additional q
Hi, thanks but this
main.configure().withRoutesIncludePattern("file:deploy/customer/PRIVATE/EXCHANGE/*.yaml");
doesn't work saying "java.nio.file.NoSuchFileException:
deploy/customer/PRIVATE/EXCHANGE"
Like I've said previously, without the double asterisks, it does work
_without_ the "file:"
Hi
Okay for file system, you should favour prefixing with file:
main.configure().withRoutesIncludePattern("file:deploy/customer/PRIVATE/EXCHANGE/*.yaml");
On Wed, May 17, 2023 at 3:53 PM Fyodor Kravchenko
wrote:
> Hi,
>
> I'm trying to load the routes from the file system directly, it's Camel
Hi,
I'm trying to load the routes from the file system directly, it's Camel
3.20.4, and it's java 19 from the GraalVM distribution running on Ubuntu
22.04. The fact it sees the file when no wildcard is present tells me
that I'm missing something in the wildcards and the docs.
Thank you!
--f
Hi
Are you loading these files from classpath or file system directly.
And what Camel version do you use
On Sun, May 14, 2023 at 5:39 PM Fyodor Kravchenko
wrote:
> Hello,
>
> in my little test I'm trying the following,
>
>
> public class CamelMainTry {
> public static void main(String[]
Hello,
in my little test I'm trying the following,
public class CamelMainTry {
public static void main(String[] args) throws Exception {
Main main = new Main();
// this works but I need to catch more
//
main.configure().withRoutesIncludePattern("deploy/customer/PRIVATE/EXCHA
13 matches
Mail list logo