You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by "apache-karaf-user.pyr3x.com via user" <us...@karaf.apache.org> on 2025/04/16 22:24:46 UTC
DS support for camel4x in karaf4x
Hello,
I know the camel-scr and camel-osgi packages have been deprecated,
however, I'm looking to understand how osgi-ify camel within karaf
without using blueprint. I'm happy to use the java DSL but I'm unsure of
exactly how to do this. The examples do not seem to work for camel4 +
karaf4. Any help would be appreciated.
--
Chaz
Re: DS support for camel4x in karaf4x
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi
The camel example should still work with Camel 4.x (with light changes
on the Camel DSL).
I will update the example to Camel 4.x though.
Regards
JB
On Thu, Apr 17, 2025 at 7:37 PM apache-karaf-user.pyr3x.com via user
<us...@karaf.apache.org> wrote:
>
> Hello,
>
> I misunderstood what you were saying. Yes I was already using this
> version albiet a slightly older (4.9.0) version. It is unclear to me how
> to use this with the Java DSL? An example would be super helpful.
>
> On 4/17/25 9:19 AM, apache-karaf-user.pyr3x.com via user wrote:
> > Hello,
> >
> > Thank you. I'm unsure of exactly how to bring this in? The karaf
> > examples from the main repository still use camel 3.6.0 with the Java
> > DSL. Are there similar examples for using this? Is there a features
> > repository I can add and some examples? I'm really looking forward to
> > testing this out.
> >
Re: DS support for camel4x in karaf4x
Posted by "apache-karaf-user.pyr3x.com via user" <us...@karaf.apache.org>.
Hello,
I misunderstood what you were saying. Yes I was already using this
version albiet a slightly older (4.9.0) version. It is unclear to me how
to use this with the Java DSL? An example would be super helpful.
On 4/17/25 9:19 AM, apache-karaf-user.pyr3x.com via user wrote:
> Hello,
>
> Thank you. I'm unsure of exactly how to bring this in? The karaf
> examples from the main repository still use camel 3.6.0 with the Java
> DSL. Are there similar examples for using this? Is there a features
> repository I can add and some examples? I'm really looking forward to
> testing this out.
>
Re: DS support for camel4x in karaf4x
Posted by "apache-karaf-user.pyr3x.com via user" <us...@karaf.apache.org>.
Hello,
Thank you. I'm unsure of exactly how to bring this in? The karaf
examples from the main repository still use camel 3.6.0 with the Java
DSL. Are there similar examples for using this? Is there a features
repository I can add and some examples? I'm really looking forward to
testing this out.
--
Chaz
On Thu, Apr 17, 2025 at 06:49:10AM +0200, Francois Papon wrote:
> Hi,
>
> It should work if you are using the latest camel-karaf repo:
>
> https://github.com/apache/camel-karaf/releases/tag/camel-karaf-4.10.3
>
> You are doing well to moving from blueprint to java DSL and using SCR as
> OSGi Ioc, today this is the best way.
>
> You can also use the magical direct-vm camel component to be able to call
> routes across the bundles in the same Karaf instance.
>
> All the camel osgi stuff has been migrated to the camel-karaf repo and are
> still heavily maintained.
>
> regards,
>
> François
> fpapon@apache.org
> francois.papon@openobject.fr
>
> Le 17/04/2025 à 00:24, apache-karaf-user.pyr3x.com via user a écrit :
> > Hello,
> >
> > I know the camel-scr and camel-osgi packages have been deprecated,
> > however, I'm looking to understand how osgi-ify camel within karaf
> > without using blueprint. I'm happy to use the java DSL but I'm unsure of
> > exactly how to do this. The examples do not seem to work for camel4 +
> > karaf4. Any help would be appreciated.
> >
Re: DS support for camel4x in karaf4x
Posted by Francois Papon <fr...@openobject.fr>.
Hi,
It should work if you are using the latest camel-karaf repo:
https://github.com/apache/camel-karaf/releases/tag/camel-karaf-4.10.3
You are doing well to moving from blueprint to java DSL and using SCR as
OSGi Ioc, today this is the best way.
You can also use the magical direct-vm camel component to be able to
call routes across the bundles in the same Karaf instance.
All the camel osgi stuff has been migrated to the camel-karaf repo and
are still heavily maintained.
regards,
François
fpapon@apache.org
francois.papon@openobject.fr
Le 17/04/2025 à 00:24, apache-karaf-user.pyr3x.com via user a écrit :
> Hello,
>
> I know the camel-scr and camel-osgi packages have been deprecated,
> however, I'm looking to understand how osgi-ify camel within karaf
> without using blueprint. I'm happy to use the java DSL but I'm unsure of
> exactly how to do this. The examples do not seem to work for camel4 +
> karaf4. Any help would be appreciated.
>