You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Mikael Andersson Wigander <mi...@pm.me.INVALID> on 2020/12/01 18:34:25 UTC
Camel Quarkus and Picocli
Anyone managed to create an application in Quarkus with Camel and Picocli?
The different types of command modes makes everything confusing.
Thx
/M
Re: Camel Quarkus and Picocli
Posted by Omar Al-Safi <om...@oalsafi.com>.
Hi Mikael,
I did something before in Picocli, So basically, in the call method that
implements Callable,
<https://github.com/omarsmak/kafka-consumer-lag-monitoring/blob/master/monitoring-component-console/src/main/kotlin/com/omarsmak/kafka/consumer/lag/monitoring/component/console/Main.kt#L31>
I guess here you will need start your Camel Quarkus context. I hope it
helps.
Regards,
Omar
On Tue, Dec 1, 2020 at 8:35 PM Mikael Andersson Wigander
<mi...@pm.me.invalid> wrote:
> Fooled myself. Thought it worked but it doesn't.
> Back to the original question: how get a Picocli work with a Camel in
> Quarkus
>
> /M
>
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
>
> On Tuesday, December 1st, 2020 at 19:49, Mikael Andersson Wigander <
> mikael.andersson.wigander@pm.me> wrote:
>
> > Nevermind, I just removed the class with QuarkusMain and adding Picocli
> to the Camel component instead
> >
> > /M
> >
> > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> >
> > On Tuesday, December 1st, 2020 at 19:34, Mikael Andersson Wigander
> mikael.andersson.wigander@pm.me.INVALID wrote:
> >
> > > Anyone managed to create an application in Quarkus with Camel and
> Picocli?
> > >
> > > The different types of command modes makes everything confusing.
> > >
> > > Thx
> > >
> > > /M
>
Re: Camel Quarkus and Picocli
Posted by Mikael Andersson Wigander <mi...@pm.me.INVALID>.
Fooled myself. Thought it worked but it doesn't.
Back to the original question: how get a Picocli work with a Camel in Quarkus
/M
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Tuesday, December 1st, 2020 at 19:49, Mikael Andersson Wigander <mi...@pm.me> wrote:
> Nevermind, I just removed the class with QuarkusMain and adding Picocli to the Camel component instead
>
> /M
>
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
>
> On Tuesday, December 1st, 2020 at 19:34, Mikael Andersson Wigander mikael.andersson.wigander@pm.me.INVALID wrote:
>
> > Anyone managed to create an application in Quarkus with Camel and Picocli?
> >
> > The different types of command modes makes everything confusing.
> >
> > Thx
> >
> > /M
Re: Camel Quarkus and Picocli
Posted by Mikael Andersson Wigander <mi...@pm.me.INVALID>.
Nevermind, I just removed the class with QuarkusMain and adding Picocli to the Camel component instead
/M
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Tuesday, December 1st, 2020 at 19:34, Mikael Andersson Wigander <mi...@pm.me.INVALID> wrote:
> Anyone managed to create an application in Quarkus with Camel and Picocli?
>
> The different types of command modes makes everything confusing.
>
> Thx
>
> /M