This is the design of the plugins. Today I'm working on a new
JAASAuthenticationConfiguratorPlugin. To keep this sane, I have configurator
beans associated with the plugins which reflect things like the default
values (avoids having to check for nulls and then convert stuff like "true"
to Booleans.
If I'm correct this will get the behavior I'm after with any cfg file
associated with org.apache.cxf.bus-*.cfg triggering this.
This seems to work correctly but is a rather different design than what I'd
envisioned but that may only be due to older understanding of services,
managed service facto
Hi,
you have the same for SOAP already available in the example:
https://github.com/apache/karaf/tree/master/examples/karaf-soap-example/karaf-soap-example-scr
Regards
JB
On 21/11/2019 17:31, Ranx0r0x wrote:
> Thanks for all the feedback. I'm sure the JAX RS Whiteboard is much cleaner.
> I've g
Thanks for all the feedback. I'm sure the JAX RS Whiteboard is much cleaner.
I've got legacy code I'm dealing with and can only go so far. JBs code would
also be applicable to a JAXWSFactoryBean if I have to set up a related SOAP
service. I commonly annotate my interfaces with both SOAP and REST
an
FWIW,
Another approach is to use OSGi Remote Services [1]...specifically ECF's
JaxRS distribution provider impls [2]. Remote Services Admin creates a
proxy for the remote service and this proxy is/may be treated as a local
service by SCR.
The ECF impl allows pluggable distribution providers,
I understand where you’re coming from.
So Christian is basically right, the Jax-RS Whiteboard, like the whole DS
approach, feels somewhat like the future - a clean, elegant form of building
dynamic modular, standards-based services with Java. For me, the Wow! happened.
But it’s only almost, n
Christian,
That's probably not going to happen as we migrate over with all the plugins,
providers and interceptors setup in the current environment to a better more
decoupled design but still using CXF. I'm not even 100% positive I'm free of
SOAP endpoints yet.
We a number of endpoints with diffe
That's another approach depending of the "control" you want.
The examples also show jaxrs whiteboard approach.
Regards
JB
On 20/11/2019 15:35, Christian Schneider wrote:
> The elegant way is to use the Aries JAXRS Whiteboard.
>
> Christian
>
> Am Mi., 20. Nov. 2019 um 00:54 Uhr schrieb Ranx0r0
The elegant way is to use the Aries JAXRS Whiteboard.
Christian
Am Mi., 20. Nov. 2019 um 00:54 Uhr schrieb Ranx0r0x <
regis...@bradleejohnson.com>:
> I noticed that when I stopped/uninstalled the bundle the CXF endpoint was
> still up and the bundle couldn't be reinstalled. By saving the Server
Hi
Good point, I forgot to destroy the CXF RS server.
I created https://issues.apache.org/jira/browse/KARAF-6523 for the
tracking and I'm fixing that.
Thanks
Regards
JB
On 20/11/2019 00:54, Ranx0r0x wrote:
> I noticed that when I stopped/uninstalled the bundle the CXF endpoint was
> still up an
I noticed that when I stopped/uninstalled the bundle the CXF endpoint was
still up and the bundle couldn't be reinstalled. By saving the Server and
destroying it on @Deactivate it correctly went away. There may be a more
elegant or better way to do this but it may be that it should be part of the
s
https://github.com/apache/karaf/tree/master/examples/karaf-rest-example/karaf-rest-example-scr
I was just checking out this latest example and have to say I like it quite
a bit. One thing I'm trying to focus on is being able to set up more than
one Bus in a bus-centric bundle and then reuse them v
12 matches
Mail list logo