]
ehsavoie Hugonnet commented on WFLY-10897:
------------------------------------------
This work has been integrated into WFLY-10518_artemis-2.x branch so it should we closed
with the RFE integration
Inefficient read of the entire resource tree in messaging subsystem
socket binding analysis
-------------------------------------------------------------------------------------------
Key: WFLY-10897
URL:
https://issues.jboss.org/browse/WFLY-10897
Project: WildFly
Issue Type: Bug
Components: JMS
Reporter: Brian Stansberry
Assignee: ehsavoie Hugonnet
The isOutBoundSocketBinding utility method is performing a read of the entire model.
Worse, it gets called inside a loop.
Just non-recursively read the s-b-g names, and then non-recursively read each s-b-g (in
reality there will only be one) to find the children.
For bonus points, pass in the entire list of a names and return a
LinkedHashMap<String, Boolean> and process everything with one pair of reads instead
of repeating for each name.