@Override
    protected List<String> parseRolesAttribute(XMLExtendedStreamReader reader, int index) throws XMLStreamException {
    """
	[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}.
    """
        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 .