validateConnectionHealthOnErrorMapping.setGetMethodName("isConnectionHealthValidatedOnError");
validateConnectionHealthOnErrorMapping.setSetMethodName("setConnectionHealthValidatedOnError");
validateConnectionHealthOnErrorMapping.setXPath("connection-health-validated-on-error/text()");
validateConnectionHealthOnErrorMapping.setNullPolicy(new NullPolicy(null, false, false, false));
validateConnectionHealthOnErrorMapping.setNullValue(true);
descriptor.addMapping(validateConnectionHealthOnErrorMapping);
XMLDirectMapping delayBetweenReconnectAttempts = new XMLDirectMapping();
delayBetweenReconnectAttempts.setAttributeName("delayBetweenConnectionAttempts");
delayBetweenReconnectAttempts.setGetMethodName("getDelayBetweenConnectionAttempts");
delayBetweenReconnectAttempts.setSetMethodName("setDelayBetweenConnectionAttempts");