private RefreshResult internalRefresh(WSRPConsumer consumer)
{
try
{
RefreshResult result = consumer.refresh(true);
String statusMessage = getLocalizationKeyFrom(result);
if (result.hasIssues())
{
// create the expected registration info and make it available
RegistrationInfo expected = new RegistrationInfo(consumer.getProducerInfo().getRegistrationInfo());
expected.refresh(result.getServiceDescription(), consumer.getProducerId(), true, true, true);
setExpectedRegistrationInfo(expected);
beanContext.createErrorMessage(statusMessage);
// refresh had issues, we should deactivate this consumer