[
https://jira.jboss.org/jira/browse/JBESB-2185?page=com.atlassian.jira.plu...
]
Kevin Conner commented on JBESB-2185:
-------------------------------------
It is invalid because the patch, as it stands, blindly removes the EPR without thought of
who had registered it. It is possible to have multiple services register the same EPR.
Patch for [jUDDI retains invalid EPRs]
--------------------------------------
Key: JBESB-2185
URL:
https://jira.jboss.org/jira/browse/JBESB-2185
Project: JBoss ESB
Issue Type: Sub-task
Security Level: Public(Everyone can see)
Components: Registry and Repository
Affects Versions: 4.4
Reporter: Joakim Sandström
Assignee: Kevin Conner
Fix For: 4.6
Attachments: JAXRRegistryImpl.java.patch, RegistryUtil.java.patch
Patch for 'jUDDI retains invalid EPRs' issue (JBESB-866).
Patch:
The RegistryUtil.register method unregisters matching EPR's using
unregister(category, name, epr) before (re)registering the same EPR.
Not included in the patch:
Registry.unRegisterEPR(serviceCategoryName, serviceName, epr) could return a boolean
true/false and not raise a ServiceNotFoundException if the service isn't found - to
avoid unneccesary stack traces in the log.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira