cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Sosnoski <...@sosnoski.com>
Subject Re: a quesiton on CXF 2.5 WS-RM's protocol variation handling
Date Wed, 17 Aug 2011 21:51:30 GMT
Hi Aki,

On 08/18/2011 09:25 AM, Aki Yoshida wrote:
> ...
>
> RMManager now manages endpoints under each supported protocol
> variation using Map<ProtocolVariation, Map<Endpoint, RMEndpoint>>.
> Does this mean that an Endpoint can be used in several protocol variations?

Yes. I decided to take this approach because I wanted the WS-RM
serverside code to automatically adjust to whichever variation a client
uses in the request, while allowing other clients to use other variations.

> The background to my question is that I want to get the list of
> endpoint identifier strings from RMManager. In 2.4, I used
> manager.getReliableEndpointsMap().keySet() and extracted the
> identifier strings. In 2.5, I am wondering whether I have to provide
> this identifier list per protocol version or could return one list.

I suppose that depends on what you want to do with the identifiers. If
you want to see all the clients using an endpoint, for instance, you'd
need to look at all the protocol variations. If you just want to know
what endpoints are active you can just pick one protocol.

  - Dennis


Mime
View raw message