{
requiresRegistration = Boolean.TRUE;
log.debug("Producer '" + producerId + "' requires registration");
// check if the configured registration properties match the producer expectations
ModelDescription regPropDescs = serviceDescription.getRegistrationPropertyDescription();
if (regPropDescs != null)
{
result.setStatus(RefreshResult.Status.SUCCESS);
List<PropertyDescription> propertyDescriptions = regPropDescs.getPropertyDescriptions();
if (propertyDescriptions != null && !propertyDescriptions.isEmpty())
{
Map<String, RegistrationProperty> descriptionsMap = getRegistrationPropertyDescriptionsFromWSRP(propertyDescriptions);
// check that we don't have unexpected registration properties and if so, mark them as invalid or remove them