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:
> 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()>
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
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.
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
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:
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
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:
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