Hi Dennis,

2011/8/17 Dennis Sosnoski <d...@sosnoski.com>:
> 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.

Okay. it makes sense. But could this multi-version support at the
sequence level so that you still have one RMEndpoint per Endpoint? One
RMEndpoint can respond to the create sequence message from various
clients using different versions and create each sequence bound to be
used for a specific version. So this will also work, no?

The reason why I am asking this question is that I am exposing some
operations on several RM-artifact objects over RMEndpoint (using its
managed version as the entry point). So I would prefer to have one
such object per Endpoint.

>> 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.

I must admit that I will need try out with several versions to see how
they are used.

thanks.
regards, aki
>
>  - Dennis
>
>

Reply via email to