Re: camel run * --camel-version=3.20.2

2023-03-20 Thread Chirag
I am going to try building it (I tried over the weekend, but my dev
server ran out of disk space).


ચિરાગ/चिराग/Chirag
--
Sent from My Gmail Account

On Thu, Mar 16, 2023 at 5:11 AM Federico Mariani
 wrote:
>
> The fix in https://issues.apache.org/jira/browse/CAMEL-19103 will be
> present in the next release 3.20.3, if you want to try it, you can checkout
> camel-3.x, build it and use jbang.camel.version=3.20.3-SNAPSHOT
>
> Il giorno gio 16 mar 2023 alle ore 04:36 Chirag 
> ha scritto:
>
> > Here is my output.
> > https://gist.github.com/chiragsanghavi/5926f71c7296bb2bf33434d5e33c95fb
> >
> > i also do not have success with --background
> >
> > ચિરાગ/चिराग/Chirag
> > --
> > Sent from My Gmail Account
> >
> > On Wed, Mar 15, 2023 at 4:22 AM Federico Mariani
> >  wrote:
> > >
> > > Hello,
> > >
> > > Probably this https://issues.apache.org/jira/browse/CAMEL-19103 will
> > solve
> > > your issue, the fix is already merged on 3.20.x, 3.x and main branch.
> > >
> > > Greetings,
> > > Federico
> > >
> > > Il giorno mar 14 mar 2023 alle ore 18:29 Chirag <
> > chirag.sangh...@gmail.com>
> > > ha scritto:
> > >
> > > > This is for linux:
> > > >
> > > > $ jbang --version
> > > > 0.104.0
> > > > $ camel -V
> > > > 3.20.2
> > > > $ ls
> > > > first.yaml
> > > > $ camel run *
> > > > 2023-03-14 13:24:53.909  INFO 1766376 --- [   main]
> > > > org.apache.camel.main.MainSupport   : Apache Camel (JBang) 3.20.2 is
> > > > starting
> > > > 2023-03-14 13:24:54.173  INFO 1766376 --- [   main]
> > > > org.apache.camel.main.MainSupport   : Using Java 11.0.8 with PID
> > > > 1766376. Started by mifadmin in /home/mifadmin
> > > > 2023-03-14 13:24:54.194  INFO 1766376 --- [   main]
> > > > mel.cli.connector.LocalCliConnector : Camel CLI enabled (local)
> > > > 2023-03-14 13:24:55.399  INFO 1766376 --- [   main]
> > > > el.impl.engine.AbstractCamelContext : Apache Camel 3.20.2 (first) is
> > > > starting
> > > > 2023-03-14 13:24:55.599  INFO 1766376 --- [   main]
> > > > el.impl.engine.AbstractCamelContext : Routes startup (started:1)
> > > > 2023-03-14 13:24:55.599  INFO 1766376 --- [   main]
> > > > el.impl.engine.AbstractCamelContext : Started route1
> > > > (timer://yaml)
> > > > 2023-03-14 13:24:55.599  INFO 1766376 --- [   main]
> > > > el.impl.engine.AbstractCamelContext : Apache Camel 3.20.2 (first)
> > > > started in 636ms (build:245ms init:192ms start:199ms JVM-uptime:2s)
> > > > 2023-03-14 13:24:56.579  INFO 1766376 --- [ - timer://yaml]
> > > > first.yaml:11   : Hello Camel from yaml
> > > > 2023-03-14 13:24:57.567  INFO 1766376 --- [ - timer://yaml]
> > > > first.yaml:11   : Hello Camel from yaml
> > > > 2023-03-14 13:24:58.567  INFO 1766376 --- [ - timer://yaml]
> > > > first.yaml:11   : Hello Camel from yaml
> > > > 2023-03-14 13:24:59.568  INFO 1766376 --- [ - timer://yaml]
> > > > first.yaml:11   : Hello Camel from yaml
> > > > ^C2023-03-14 13:24:59.661  INFO 1766376 --- [   main]
> > > > el.impl.engine.AbstractCamelContext : Apache Camel 3.20.2 (first) is
> > > > shutting down (timeout:10s)
> > > > 2023-03-14 13:24:59.669  INFO 1766376 --- [   main]
> > > > el.impl.engine.AbstractCamelContext : Routes stopped (stopped:1)
> > > > 2023-03-14 13:24:59.669  INFO 1766376 --- [   main]
> > > > el.impl.engine.AbstractCamelContext : Stopped route1
> > > > (timer://yaml)
> > > > 2023-03-14 13:24:59.673  INFO 1766376 --- [   main]
> > > > el.impl.engine.AbstractCamelContext : Apache Camel 3.20.2 (first)
> > > > shutdown in 12ms (uptime:4s JVM-uptime:7s)
> > > > 2023-03-14 13:24:59.673  INFO 1766376 --- [   main]
> > > > org.apache.camel.main.MainSupport   : Apache Camel (JBang) 3.20.2
> > > > shutdown
> > > >
> > > > $ camel run *  --camel-version=3.20.1
> > > > No Camel integration files to run
> > > >
> > > >
> > > > Should this be a JIRA? attached is highlighted documentation page.
> > > >
> > > >
> > > >
> > > > ચિરાગ/चिराग/Chirag
> > > > --
> > > > Sent from My Gmail Account
> > > >
> >


Re: camel run * --camel-version=3.20.2

2023-03-16 Thread Federico Mariani
The fix in https://issues.apache.org/jira/browse/CAMEL-19103 will be
present in the next release 3.20.3, if you want to try it, you can checkout
camel-3.x, build it and use jbang.camel.version=3.20.3-SNAPSHOT

Il giorno gio 16 mar 2023 alle ore 04:36 Chirag 
ha scritto:

> Here is my output.
> https://gist.github.com/chiragsanghavi/5926f71c7296bb2bf33434d5e33c95fb
>
> i also do not have success with --background
>
> ચિરાગ/चिराग/Chirag
> --
> Sent from My Gmail Account
>
> On Wed, Mar 15, 2023 at 4:22 AM Federico Mariani
>  wrote:
> >
> > Hello,
> >
> > Probably this https://issues.apache.org/jira/browse/CAMEL-19103 will
> solve
> > your issue, the fix is already merged on 3.20.x, 3.x and main branch.
> >
> > Greetings,
> > Federico
> >
> > Il giorno mar 14 mar 2023 alle ore 18:29 Chirag <
> chirag.sangh...@gmail.com>
> > ha scritto:
> >
> > > This is for linux:
> > >
> > > $ jbang --version
> > > 0.104.0
> > > $ camel -V
> > > 3.20.2
> > > $ ls
> > > first.yaml
> > > $ camel run *
> > > 2023-03-14 13:24:53.909  INFO 1766376 --- [   main]
> > > org.apache.camel.main.MainSupport   : Apache Camel (JBang) 3.20.2 is
> > > starting
> > > 2023-03-14 13:24:54.173  INFO 1766376 --- [   main]
> > > org.apache.camel.main.MainSupport   : Using Java 11.0.8 with PID
> > > 1766376. Started by mifadmin in /home/mifadmin
> > > 2023-03-14 13:24:54.194  INFO 1766376 --- [   main]
> > > mel.cli.connector.LocalCliConnector : Camel CLI enabled (local)
> > > 2023-03-14 13:24:55.399  INFO 1766376 --- [   main]
> > > el.impl.engine.AbstractCamelContext : Apache Camel 3.20.2 (first) is
> > > starting
> > > 2023-03-14 13:24:55.599  INFO 1766376 --- [   main]
> > > el.impl.engine.AbstractCamelContext : Routes startup (started:1)
> > > 2023-03-14 13:24:55.599  INFO 1766376 --- [   main]
> > > el.impl.engine.AbstractCamelContext : Started route1
> > > (timer://yaml)
> > > 2023-03-14 13:24:55.599  INFO 1766376 --- [   main]
> > > el.impl.engine.AbstractCamelContext : Apache Camel 3.20.2 (first)
> > > started in 636ms (build:245ms init:192ms start:199ms JVM-uptime:2s)
> > > 2023-03-14 13:24:56.579  INFO 1766376 --- [ - timer://yaml]
> > > first.yaml:11   : Hello Camel from yaml
> > > 2023-03-14 13:24:57.567  INFO 1766376 --- [ - timer://yaml]
> > > first.yaml:11   : Hello Camel from yaml
> > > 2023-03-14 13:24:58.567  INFO 1766376 --- [ - timer://yaml]
> > > first.yaml:11   : Hello Camel from yaml
> > > 2023-03-14 13:24:59.568  INFO 1766376 --- [ - timer://yaml]
> > > first.yaml:11   : Hello Camel from yaml
> > > ^C2023-03-14 13:24:59.661  INFO 1766376 --- [   main]
> > > el.impl.engine.AbstractCamelContext : Apache Camel 3.20.2 (first) is
> > > shutting down (timeout:10s)
> > > 2023-03-14 13:24:59.669  INFO 1766376 --- [   main]
> > > el.impl.engine.AbstractCamelContext : Routes stopped (stopped:1)
> > > 2023-03-14 13:24:59.669  INFO 1766376 --- [   main]
> > > el.impl.engine.AbstractCamelContext : Stopped route1
> > > (timer://yaml)
> > > 2023-03-14 13:24:59.673  INFO 1766376 --- [   main]
> > > el.impl.engine.AbstractCamelContext : Apache Camel 3.20.2 (first)
> > > shutdown in 12ms (uptime:4s JVM-uptime:7s)
> > > 2023-03-14 13:24:59.673  INFO 1766376 --- [   main]
> > > org.apache.camel.main.MainSupport   : Apache Camel (JBang) 3.20.2
> > > shutdown
> > >
> > > $ camel run *  --camel-version=3.20.1
> > > No Camel integration files to run
> > >
> > >
> > > Should this be a JIRA? attached is highlighted documentation page.
> > >
> > >
> > >
> > > ચિરાગ/चिराग/Chirag
> > > --
> > > Sent from My Gmail Account
> > >
>


Re: camel run * --camel-version=3.20.2

2023-03-15 Thread Chirag
Here is my output.
https://gist.github.com/chiragsanghavi/5926f71c7296bb2bf33434d5e33c95fb

i also do not have success with --background

ચિરાગ/चिराग/Chirag
--
Sent from My Gmail Account

On Wed, Mar 15, 2023 at 4:22 AM Federico Mariani
 wrote:
>
> Hello,
>
> Probably this https://issues.apache.org/jira/browse/CAMEL-19103 will solve
> your issue, the fix is already merged on 3.20.x, 3.x and main branch.
>
> Greetings,
> Federico
>
> Il giorno mar 14 mar 2023 alle ore 18:29 Chirag 
> ha scritto:
>
> > This is for linux:
> >
> > $ jbang --version
> > 0.104.0
> > $ camel -V
> > 3.20.2
> > $ ls
> > first.yaml
> > $ camel run *
> > 2023-03-14 13:24:53.909  INFO 1766376 --- [   main]
> > org.apache.camel.main.MainSupport   : Apache Camel (JBang) 3.20.2 is
> > starting
> > 2023-03-14 13:24:54.173  INFO 1766376 --- [   main]
> > org.apache.camel.main.MainSupport   : Using Java 11.0.8 with PID
> > 1766376. Started by mifadmin in /home/mifadmin
> > 2023-03-14 13:24:54.194  INFO 1766376 --- [   main]
> > mel.cli.connector.LocalCliConnector : Camel CLI enabled (local)
> > 2023-03-14 13:24:55.399  INFO 1766376 --- [   main]
> > el.impl.engine.AbstractCamelContext : Apache Camel 3.20.2 (first) is
> > starting
> > 2023-03-14 13:24:55.599  INFO 1766376 --- [   main]
> > el.impl.engine.AbstractCamelContext : Routes startup (started:1)
> > 2023-03-14 13:24:55.599  INFO 1766376 --- [   main]
> > el.impl.engine.AbstractCamelContext : Started route1
> > (timer://yaml)
> > 2023-03-14 13:24:55.599  INFO 1766376 --- [   main]
> > el.impl.engine.AbstractCamelContext : Apache Camel 3.20.2 (first)
> > started in 636ms (build:245ms init:192ms start:199ms JVM-uptime:2s)
> > 2023-03-14 13:24:56.579  INFO 1766376 --- [ - timer://yaml]
> > first.yaml:11   : Hello Camel from yaml
> > 2023-03-14 13:24:57.567  INFO 1766376 --- [ - timer://yaml]
> > first.yaml:11   : Hello Camel from yaml
> > 2023-03-14 13:24:58.567  INFO 1766376 --- [ - timer://yaml]
> > first.yaml:11   : Hello Camel from yaml
> > 2023-03-14 13:24:59.568  INFO 1766376 --- [ - timer://yaml]
> > first.yaml:11   : Hello Camel from yaml
> > ^C2023-03-14 13:24:59.661  INFO 1766376 --- [   main]
> > el.impl.engine.AbstractCamelContext : Apache Camel 3.20.2 (first) is
> > shutting down (timeout:10s)
> > 2023-03-14 13:24:59.669  INFO 1766376 --- [   main]
> > el.impl.engine.AbstractCamelContext : Routes stopped (stopped:1)
> > 2023-03-14 13:24:59.669  INFO 1766376 --- [   main]
> > el.impl.engine.AbstractCamelContext : Stopped route1
> > (timer://yaml)
> > 2023-03-14 13:24:59.673  INFO 1766376 --- [   main]
> > el.impl.engine.AbstractCamelContext : Apache Camel 3.20.2 (first)
> > shutdown in 12ms (uptime:4s JVM-uptime:7s)
> > 2023-03-14 13:24:59.673  INFO 1766376 --- [   main]
> > org.apache.camel.main.MainSupport   : Apache Camel (JBang) 3.20.2
> > shutdown
> >
> > $ camel run *  --camel-version=3.20.1
> > No Camel integration files to run
> >
> >
> > Should this be a JIRA? attached is highlighted documentation page.
> >
> >
> >
> > ચિરાગ/चिराग/Chirag
> > --
> > Sent from My Gmail Account
> >


Re: camel run * --camel-version=3.20.2

2023-03-15 Thread Federico Mariani
Hello,

Probably this https://issues.apache.org/jira/browse/CAMEL-19103 will solve
your issue, the fix is already merged on 3.20.x, 3.x and main branch.

Greetings,
Federico

Il giorno mar 14 mar 2023 alle ore 18:29 Chirag 
ha scritto:

> This is for linux:
>
> $ jbang --version
> 0.104.0
> $ camel -V
> 3.20.2
> $ ls
> first.yaml
> $ camel run *
> 2023-03-14 13:24:53.909  INFO 1766376 --- [   main]
> org.apache.camel.main.MainSupport   : Apache Camel (JBang) 3.20.2 is
> starting
> 2023-03-14 13:24:54.173  INFO 1766376 --- [   main]
> org.apache.camel.main.MainSupport   : Using Java 11.0.8 with PID
> 1766376. Started by mifadmin in /home/mifadmin
> 2023-03-14 13:24:54.194  INFO 1766376 --- [   main]
> mel.cli.connector.LocalCliConnector : Camel CLI enabled (local)
> 2023-03-14 13:24:55.399  INFO 1766376 --- [   main]
> el.impl.engine.AbstractCamelContext : Apache Camel 3.20.2 (first) is
> starting
> 2023-03-14 13:24:55.599  INFO 1766376 --- [   main]
> el.impl.engine.AbstractCamelContext : Routes startup (started:1)
> 2023-03-14 13:24:55.599  INFO 1766376 --- [   main]
> el.impl.engine.AbstractCamelContext : Started route1
> (timer://yaml)
> 2023-03-14 13:24:55.599  INFO 1766376 --- [   main]
> el.impl.engine.AbstractCamelContext : Apache Camel 3.20.2 (first)
> started in 636ms (build:245ms init:192ms start:199ms JVM-uptime:2s)
> 2023-03-14 13:24:56.579  INFO 1766376 --- [ - timer://yaml]
> first.yaml:11   : Hello Camel from yaml
> 2023-03-14 13:24:57.567  INFO 1766376 --- [ - timer://yaml]
> first.yaml:11   : Hello Camel from yaml
> 2023-03-14 13:24:58.567  INFO 1766376 --- [ - timer://yaml]
> first.yaml:11   : Hello Camel from yaml
> 2023-03-14 13:24:59.568  INFO 1766376 --- [ - timer://yaml]
> first.yaml:11   : Hello Camel from yaml
> ^C2023-03-14 13:24:59.661  INFO 1766376 --- [   main]
> el.impl.engine.AbstractCamelContext : Apache Camel 3.20.2 (first) is
> shutting down (timeout:10s)
> 2023-03-14 13:24:59.669  INFO 1766376 --- [   main]
> el.impl.engine.AbstractCamelContext : Routes stopped (stopped:1)
> 2023-03-14 13:24:59.669  INFO 1766376 --- [   main]
> el.impl.engine.AbstractCamelContext : Stopped route1
> (timer://yaml)
> 2023-03-14 13:24:59.673  INFO 1766376 --- [   main]
> el.impl.engine.AbstractCamelContext : Apache Camel 3.20.2 (first)
> shutdown in 12ms (uptime:4s JVM-uptime:7s)
> 2023-03-14 13:24:59.673  INFO 1766376 --- [   main]
> org.apache.camel.main.MainSupport   : Apache Camel (JBang) 3.20.2
> shutdown
>
> $ camel run *  --camel-version=3.20.1
> No Camel integration files to run
>
>
> Should this be a JIRA? attached is highlighted documentation page.
>
>
>
> ચિરાગ/चिराग/Chirag
> --
> Sent from My Gmail Account
>


Re: camel run * --camel-version=3.20.2

2023-03-14 Thread Claus Ibsen
Hi

I cannot reproduce this
https://gist.github.com/davsclaus/83b5cfe60a4c1bf4f91f2eeba245167d

You can also try with run --fresh when you switch version

On Tue, Mar 14, 2023 at 6:29 PM Chirag  wrote:

> This is for linux:
>
> $ jbang --version
> 0.104.0
> $ camel -V
> 3.20.2
> $ ls
> first.yaml
> $ camel run *
> 2023-03-14 13:24:53.909  INFO 1766376 --- [   main]
> org.apache.camel.main.MainSupport   : Apache Camel (JBang) 3.20.2 is
> starting
> 2023-03-14 13:24:54.173  INFO 1766376 --- [   main]
> org.apache.camel.main.MainSupport   : Using Java 11.0.8 with PID
> 1766376. Started by mifadmin in /home/mifadmin
> 2023-03-14 13:24:54.194  INFO 1766376 --- [   main]
> mel.cli.connector.LocalCliConnector : Camel CLI enabled (local)
> 2023-03-14 13:24:55.399  INFO 1766376 --- [   main]
> el.impl.engine.AbstractCamelContext : Apache Camel 3.20.2 (first) is
> starting
> 2023-03-14 13:24:55.599  INFO 1766376 --- [   main]
> el.impl.engine.AbstractCamelContext : Routes startup (started:1)
> 2023-03-14 13:24:55.599  INFO 1766376 --- [   main]
> el.impl.engine.AbstractCamelContext : Started route1
> (timer://yaml)
> 2023-03-14 13:24:55.599  INFO 1766376 --- [   main]
> el.impl.engine.AbstractCamelContext : Apache Camel 3.20.2 (first)
> started in 636ms (build:245ms init:192ms start:199ms JVM-uptime:2s)
> 2023-03-14 13:24:56.579  INFO 1766376 --- [ - timer://yaml]
> first.yaml:11   : Hello Camel from yaml
> 2023-03-14 13:24:57.567  INFO 1766376 --- [ - timer://yaml]
> first.yaml:11   : Hello Camel from yaml
> 2023-03-14 13:24:58.567  INFO 1766376 --- [ - timer://yaml]
> first.yaml:11   : Hello Camel from yaml
> 2023-03-14 13:24:59.568  INFO 1766376 --- [ - timer://yaml]
> first.yaml:11   : Hello Camel from yaml
> ^C2023-03-14 13:24:59.661  INFO 1766376 --- [   main]
> el.impl.engine.AbstractCamelContext : Apache Camel 3.20.2 (first) is
> shutting down (timeout:10s)
> 2023-03-14 13:24:59.669  INFO 1766376 --- [   main]
> el.impl.engine.AbstractCamelContext : Routes stopped (stopped:1)
> 2023-03-14 13:24:59.669  INFO 1766376 --- [   main]
> el.impl.engine.AbstractCamelContext : Stopped route1
> (timer://yaml)
> 2023-03-14 13:24:59.673  INFO 1766376 --- [   main]
> el.impl.engine.AbstractCamelContext : Apache Camel 3.20.2 (first)
> shutdown in 12ms (uptime:4s JVM-uptime:7s)
> 2023-03-14 13:24:59.673  INFO 1766376 --- [   main]
> org.apache.camel.main.MainSupport   : Apache Camel (JBang) 3.20.2
> shutdown
>
> $ camel run *  --camel-version=3.20.1
> No Camel integration files to run
>
>
> Should this be a JIRA? attached is highlighted documentation page.
>
>
>
> ચિરાગ/चिराग/Chirag
> --
> Sent from My Gmail Account
>


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