Hi, It’s Karaf/OSGi specific. In OSGi, a bundle is a jar with additional headers describing the packages that another bundle can use (because we have a graph of class loaders in OSGi instead of a flat one).
So, when we have a Camel component, we have two options: 1. The camel component feature needs a bundle providing the packages and OSGi headers for the dependencies used by the component. Here we have three options: the dependency is already a bundle (no work to do), we need to create a bundle at Apache ServiceMix, we can use the wrap protocol to create the bundle of the fly 2. The camel component bundle embed the dependency as a private package (it’s a proposal I did some months ago) as a kind of uber bundle I’ve started an extend of wrap protocol (from pax url) to create "improved" online bundle with just a provided descriptor. Regards JB > Le 17 août 2021 à 01:05, Ivan Tam <ivan....@bd.com> a écrit : > > Hi JB, > > Sorry I am new to Karaf and Camel. > > Could you explain about private package/bundle creation, and the usage of it > to make it work in Karaf? > > Is it an update on both atlasmap and camel-atlasmap projects? > > > I saw you also commented in the Jira link below > https://issues.apache.org/jira/browse/CAMEL-15700 > > > Many thanks, > Ivan > > > -----Original Message----- > From: Jean-Baptiste Onofré <j...@nanthrax.net> > Sent: Monday, August 16, 2021 5:08 AM > To: users@camel.apache.org > Subject: Re: Feature camel-atlasmap not found > > EXTERNAL EMAIL - Use caution opening attachments and links. > > Hi, > > IMHO, we should create a Jira to add Karaf support for non existing features. > > I can work on it (using component private package or creating required > bundle). > > @Gerald, can you please create a Jira about atlasmap ? > > Thanks, > Regards > JB > > On 13/08/2021 22:24, Gerald Kallas wrote: >> Ah ok. Tx. >> >> Is it supported in Camel-K? And if yes, how to hand over the map file to the >> integration? >> >> Best >> Gerald >> >>> Andrea Cosentino <anco...@gmail.com> hat am 13.08.2021 22:12 geschrieben: >>> >>> >>> Hello, >>> >>> It's not supported in OSGi >>> >>> Il ven 13 ago 2021, 22:06 Gerald Kallas >>> <catsh...@mailbox.org.invalid> ha >>> scritto: >>> >>>> Dear all. >>>> >>>> I did install a vanilla karaf 4.2.9 w/ Camel 3.11.1. >>>> >>>> The command >>>> >>>> feature:install camel-atlasmap >>>> >>>> responds with >>>> >>>> Error executing command: No matching features for camel-atlasmap/0 >>>> >>>> Same with Camel 3.7.5. Did I miss something? The documentation says >>>> camel-atlasmap is available from Camel 3.7. >>>> >>>> Best >>>> Gerald > ******************************************************************* > IMPORTANT MESSAGE FOR RECIPIENTS IN THE U.S.A.: > This message may constitute an advertisement of a BD group's products or > services or a solicitation of interest in them. If this is such a message and > you would like to opt out of receiving future advertisements or solicitations > from this BD group, please forward this e-mail to optoutbygr...@bd.com. > [BD.v1.0] > ******************************************************************* > This message (which includes any attachments) is intended only for the > designated recipient(s). It may contain confidential or proprietary > information and may be subject to the attorney-client privilege or other > confidentiality protections. If you are not a designated recipient, you may > not review, use, copy or distribute this message. If you received this in > error, please notify the sender by reply e-mail and delete this message. > Thank you. > ******************************************************************* > Corporate Headquarters Mailing Address: BD (Becton, Dickinson and Company) 1 > Becton Drive Franklin Lakes, NJ 07417 U.S.A.