legacy/messaging/src/main/java/org/jboss/as/messaging/Messaging13SubsystemParser.java
@Override
    protected List<String> parseRolesAttribute(XMLExtendedStreamReader reader, int index) throws XMLStreamException {
        String roles = reader.getAttributeValue(index);
        return asList(roles.split("[,\\s]+"));
    }
@Override
    protected List<String> parseRolesAttribute(XMLExtendedStreamReader reader, int index) throws XMLStreamException {
        String roles = reader.getAttributeValue(index);
        return asList(roles.split("[,\\s]+"));
    }
@ Override protected List < String > parseRolesAttribute ( XMLExtendedStreamReader reader , int index ) throws XMLStreamException { String roles = reader . getAttributeValue ( index ) ; return asList ( roles . split ( "[,\\s]+" ) ) ; }
[AS7-5808] Support space-separated roles names for backwards compatibility and comma-separated ones for compatibility with
HornetQ configuration.

Roles are persisted using space character delimiter in {@link MessagingXMLWriter}.
[ AS7 - 5808 ] Support space - separated roles names for backwards compatibility and comma - separated ones for compatibility with HornetQ configuration .