Re: question about @Reference and @Component

2023-06-07 Thread z8...@yahoo.com.ar.INVALID
ind of question (dev mailing list is more for discussions between Karaf developers). FYI,, I think I already replied to you as private message :) Regards JB On Tue, Jun 6, 2023 at 3:31 PM z8...@yahoo.com.ar.INVALID wrote: > > I'm trying to understand how those annotations work.I have the f

question about @Reference and @Component

2023-06-06 Thread z8...@yahoo.com.ar.INVALID
I'm trying to understand how those annotations work.I have the following Activator.class and MyConf.class in the same bundle.  The Activator code: @Component@Slf4jpublic class Activator implements BundleActivator, ManagedService { private static Logger logger = LoggerFactory.getLogger(Activator.c

Question about ManagedService interface

2023-05-31 Thread z8...@yahoo.com.ar.INVALID
Hello!I'm trying to understand the ManagedService interface using the  karaf-config-example-managed shipped in the 4.2.x release (karaf/Activator.java at main · apache/karaf · GitHub). How should I pass the modified properties to another class in the bundle (lets say, for example, a @Component re

Re: which is the right way to use Spring MVC and Spring Security in Karaf?

2023-04-20 Thread z8...@yahoo.com.ar.INVALID
n.org/maven2/org/ops4j/pax/web/samples/ and if you have more questions, do not hesitate to ask here. regards Grzegorz Grzybek śr., 19 kwi 2023 o 21:52 z8...@yahoo.com.ar.INVALID napisał(a): > Hi, I'm tyring to use Spring MVC to expose some business logic already > coded in bundle

which is the right way to use Spring MVC and Spring Security in Karaf?

2023-04-19 Thread z8...@yahoo.com.ar.INVALID
Hi, I'm tyring to use Spring MVC to expose some business logic already coded in bundles through @Controller endpoints and secure them using Spring Security. In 4.2.15, when installing spring-security feature, the following dependencies are added: karaf@root()> feature:install spring-securitykara

Re: problem installing camel-spring-redis in Apache Karaf 4.2.15

2022-08-31 Thread z8...@yahoo.com.ar.INVALID
xml/features karaf@root()>  feature:install camel-spring-redis (That 3.7.7 is, apparently, the last repo that has this particular feature) We couldn't install it using 2.24.2.. Cheers. El miércoles, 31 de agosto de 2022, 14:31:47 ART, z8...@yahoo.com.ar.INVALID escribió: Hi JB, Appar

Re: problem installing camel-spring-redis in Apache Karaf 4.2.15

2022-08-31 Thread z8...@yahoo.com.ar.INVALID
bundles.spring-data-redis/ I think it makes sense to create spring-data "standard" feature. In the meantime, you can install the bundles directly. Regards JB On Wed, Aug 31, 2022 at 1:09 PM z8...@yahoo.com.ar.INVALID wrote: > >  Hi JB, I can't see a spring-data feature to insta

Re: problem installing camel-spring-redis in Apache Karaf 4.2.15

2022-08-31 Thread z8...@yahoo.com.ar.INVALID
y the corresponding SMX bundle. Regards JB On Tue, Aug 30, 2022 at 6:37 PM z8...@yahoo.com.ar.INVALID wrote: > > Hi, I'm trying to install the camel-spring-redis module, but it's throwing a > dependency error: > karaf@root()> feature:install camel-spring-redis > > Error execu

problem installing camel-spring-redis in Apache Karaf 4.2.15

2022-08-30 Thread z8...@yahoo.com.ar.INVALID
Hi, I'm trying to install the camel-spring-redis module, but it's throwing a dependency error: karaf@root()> feature:install camel-spring-redis Error executing command: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=camel-spring-redis; type=karaf.feature; versio