[
https://issues.apache.org/jira/browse/CXF-4270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aki Yoshida resolved CXF-4270.
------------------------------
Resolution: Fixed
Fix Version/s: 2.5.4
> Store bus-id with the endpoint name in WS-RM's RMTxStore to correctly recover
> two endpoints with the same endpoint name
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: CXF-4270
> URL: https://issues.apache.org/jira/browse/CXF-4270
> Project: CXF
> Issue Type: Improvement
> Components: WS-* Components
> Reporter: Aki Yoshida
> Assignee: Aki Yoshida
> Priority: Minor
> Fix For: 2.6.1, 2.5.4
>
>
> In WS-RM's RMTxStore, currently no bus information is stored along the
> endpoint name (i.e., endpoint's port name + its service name). And this
> causes a problem when, for example, two endpoints, each configured at its own
> bus, have the same endpoint name, as the stored RM sequences cannot be
> uniquely associated with the original endpoints at the system recovery.
> Storing the bus-id as a separate column requires a change in the RMStore's
> API, either in its existing sequences retrieval method (the sequence storing
> method needs no change as the bus ID can be obtained from its sequence
> argument) or adding a new setBus(Bus) method to associate a store instance to
> a specific bus. These are significant disadvantages.
> Therefore, in this improved implementation, the bus-id will be stored with
> the current endpoint name in that same column.
> Note that the default buses (those with auto-generated "cxfxxxxx" bus Ids)
> will use simply the bus identifier "cxf" so that they can find their
> sequences, including possibly of others, but this behavior is identical to
> the current limitation.
> In other words, the new RMStore will distinguish two endpoints having the
> same endpoint name that are assigned to two buses that have explicitly
> configured unique busId values.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira