Looks like this limitation is coming from the commit:
"AS7-5135 make sure that the node identifier is validated to make sure nodeName.getBytes().length is <24"
Exact line is as following:
public static final SimpleAttributeDefinition NODE_IDENTIFIER = new SimpleAttributeDefinitionBuilder(CommonAttributes.NODE_IDENTIFIER, ModelType.STRING, true) .setDefaultValue(new ModelNode().set("1")) .setFlags(AttributeAccess.Flag.RESTART_ALL_SERVICES) - .setAllowExpression(true).build(); + .setAllowExpression(true) + .setValidator(new StringBytesLengthValidator(0,23,true,true)) + .build();
This is limit that is enforced by JTS system.
that id is included in Xid that is defined by XA spec: http://pubs.opengroup.org/onlinepubs/009680699/toc.pdf
and as Xid has fixed lenght, we cannot have bigger ids embedded in it.