Re: A command like config:edit that will let you replace only some properties?

2019-11-12 Thread Jean-Baptiste Onofré
The factory is org.ops4j.datasource, the pid is "foo". Regards JB On 12/11/2019 19:41, Steinar Bang wrote: >> Jean-Baptiste Onofré : > >> Hi, >> That's because it's a factory, not a config. > >> You have to use config:edit --factory. > > Hm... this was kind of strange...? > > I did this:

Re: A command like config:edit that will let you replace only some properties?

2019-11-12 Thread Steinar Bang
> Jean-Baptiste Onofré : > The factory is org.ops4j.datasource, the pid is "foo". Hm... I've read the docs but I don't understand how this is supposed to work...? Perhaps like this...? karaf@root()> config:edit --factory --alias authservice-production org.ops4j.datasource karaf@root()>

RE: Problem with client.bat

2019-11-12 Thread Jackson, Douglas
Hi! Just for others information, I tried without the '=' and it fails in the same way. It appears the '=' works on windows, but not on linux. client -h localhost -u user -p pwdworks on linux, windows client -h=localhost -u=user -p=pwd works only on

Duh? Reference method invocation?

2019-11-12 Thread Ranx0r0x
I just realized that invariably when I use a to a service I'm turning around and injecting into local bean and using it via the interface. I can bind a listener to an interface but don't really do that much either. Essentially I want to do something akin to this but can't recall the syntax.

Re: BusConfiguratorFeature

2019-11-12 Thread Ranx0r0x
I have the DS component straightened out now. I listen for CXF Bus registrations and have a separate interface that can be used to add BusConfiguration instances to the registry. Commonly I'm using the same configuration object across multiple busses so it doesn't degrade into high complexity

Re: question on cxf bus creation in Karaf

2019-11-12 Thread Ranx0r0x
Scott, That's why I was a bit hesitant to answer the question about how to create a Bus. While blueprint is a common way to do it, it isn't universal and its implementation is actually a BlueprintBus which implements the Bus interface. -- Sent from:

Re: question on cxf bus creation in Karaf

2019-11-12 Thread Jean-Baptiste Onofré
Hi, in Karaf Cave, I created the bus programmatically and injected in the CXF servlet. It works fine. You can use the default "global" bus, or create one bus per servlet, up to you. Regards JB On 12/11/2019 15:56, Ranx0r0x wrote: > Scott, > > That's why I was a bit hesitant to answer the

Re: Duh? Reference method invocation?

2019-11-12 Thread Ranx0r0x
This is how I'm used to using services (either this way or using Camel's @BeanInject) so really haven't tried grabbing a reference in blueprint and then invoking one of its methods in blueprint itself. Is it even possible? -- Sent from:

Re: question on cxf bus creation in Karaf

2019-11-12 Thread Scott Lewis
On 11/12/2019 7:05 AM, Jean-Baptiste Onofré wrote: Hi, in Karaf Cave, I created the bus programmatically and injected in the CXF servlet. Where in the Cave source code is this done?  I'm doing a similar thing with the CXFNonSpringJaxrsServlet, but the strange thing is that it's not