Allow configuration of domainName and key for endpoint JMX export