Re: How to inject constant values to my properties via blueprint?

2016-05-31 Thread ellirael
Any ideas? It is common task to init something with constant values. Another example: I need to use constant value instead String one. Like this: -- View this message in context:

How to share HTTPContext between two bundles?

2016-05-31 Thread ellirael
I register Servlet in one bundle via blueprint. And I register Filter in a nother bndle using blueprint also, whiteboard pattern. To make things work I need my bundles share the same HTTPContext. I looked through https://ops4j1.jira.com/projects/PAXWEB/issues/PAXWEB-344? but couldnt firure out

Camel-Redis without spring

2016-05-31 Thread Pratt, Jason
Hello - I am looking at using Camel to connect to our Redis backend, but I see that the feature has spring listed in the name "camel-spring-redis". How well will this play with Blueprint in the Karaf sandbox? I thought I had read somewhere that Spring had stopped supporting OSGi. Kind regards,

RE: Karaf cache directory

2016-05-31 Thread Leschke, Scott
OK, thanks so much for the help. -Original Message- From: Jean-Baptiste Onofré [mailto:j...@nanthrax.net] Sent: Tuesday, May 31, 2016 10:44 AM To: user@karaf.apache.org Subject: Re: Karaf cache directory Hi Scott, About KARAF_ETC, you have to copy the files in the target folder.

Re: Karaf cache directory

2016-05-31 Thread Jean-Baptiste Onofré
Hi Scott, About KARAF_ETC, you have to copy the files in the target folder. Regards JB On 05/31/2016 05:39 PM, Leschke, Scott wrote: /Thanks JB. Just so that I’m totally clear then, if there is only 1 instance of Karaf running, there would be no reason to set KARAF_BASE./ // /I do have 1

Re: Finding DS Component Factories

2016-05-31 Thread Alex Soto
Yes, I had the annotation, but I had the maven-bundle-plugin _dsannotations instruction: <_dsannotations>com.mycompany.mypackage with the package name where my class was, and it was not seeing the component. Anyhow, I changed it to:

Re: Blueprint and Custom Namespace

2016-05-31 Thread Guillaume Nodet
If you have a custom spring namespace, you can use it from blueprint by importing your whole spring xml as part of the blueprint application, or just a few elements. Look at the following example:

Re: Blueprint and Custom Namespace

2016-05-31 Thread Jean-Baptiste Onofré
Yes, Guillaume added it recently: the purpose is to "wrap" most of Spring namespace as Blueprint namespace. Regards JB On 05/31/2016 02:35 PM, Setya wrote: Hi, Thank you for your clarification. I've found bundle org.apache.aries.blueprint.spring, is this bundle supposed to enable Blueprint

Re: Blueprint and Custom Namespace

2016-05-31 Thread Setya
Hi, Thank you for your clarification. I've found bundle org.apache.aries.blueprint.spring, is this bundle supposed to enable Blueprint to recognize Spring's custom namespace ? Thanks & Regards, Setya -- View this message in context:

Re: Blueprint and Custom Namespace

2016-05-31 Thread Jean-Baptiste Onofré
Hi Setya, unfortunately it won't work as it's different namespace handler. To work with blueprint, a framework providing a namespace should provide a blueprint namespace handler. Regards JB On 05/31/2016 12:47 PM, Setya wrote: Hi all, In my Spring based application, I use custom

Blueprint and Custom Namespace

2016-05-31 Thread Setya
Hi all, In my Spring based application, I use custom namespaces from certain framework, for example: http://www.springframework.org/schema/beans; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; xmlns:axon="http://www.axonframework.org/schema/core;