Description
When I register second Memcached (called "memcached2") endpoint via CLI, the resulting JMX name is
jboss.datagrid-infinispan2:type=Server,name=Memcached,component=Transport
This is wrong because when the endpoint is configured in domain.xml, the resulting address is different:
jboss.datagrid-infinispan:type=Server,name=Memcached-memcached2,component=Transport
I suppose the latter name is correct because all the other Infinispan MBeans can be found under that domain (jboss.datagrid-infinispan). OTOH, when CLI is used and the second endpoint added, the new doman jboss.datagrid-infinispan2 has only a single MBean under itself, and that is the new endpoint.