Source:
public void handleGetDataResponse(final GetDataResponseDto dataResponseDto, final String deviceIdentification, final String organisationIdentification, final String correlationUid, final String messageType, final ResponseMessageResultType responseMessageResultType, final OsgpException osgpException) { LOGGER.info("handleResponse for MessageType: {}", messageType); ResponseMessageResultType result = ResponseMessageResultType.OK; GetDataResponse dataResponse = null; OsgpException exception = null; try { if (responseMessageResultType == ResponseMessageResultType.NOT_OK || osgpException != null) { LOGGER.error("Device Response not ok.", osgpException); throw osgpException; } this.handleResponseMessageReceived(deviceIdentification); dataResponse = this.mapper.map(dataResponseDto, GetDataResponse.class); } catch (final Exception e) { LOGGER.error("Unexpected Exception", e); result = ResponseMessageResultType.NOT_OK; exception = this.ensureOsgpException(e, "Exception occurred while getting data"); } String actualCorrelationUid = correlationUid; if ("no-correlationUid".equals(actualCorrelationUid)) { actualCorrelationUid = this.correlationIdProviderUUIDService.getCorrelationId("DeviceGenerated", deviceIdentification); } this.webServiceResponseMessageSender.send(ResponseMessage.newResponseMessageBuilder() .withCorrelationUid(correlationUid).withOrganisationIdentification(organisationIdentification) .withDeviceIdentification(deviceIdentification).withResult(result).withOsgpException(osgpException) .withDataObject(dataResponse).build(), messageType); }

Target:
public void handleGetDataResponse(final GetDataResponseDto dataResponseDto, final String deviceIdentification, final String organisationIdentification, final String correlationUid, final String messageType, final ResponseMessageResultType responseMessageResultType, final OsgpException osgpException) { LOGGER.info("handleResponse for MessageType: {}", messageType); ResponseMessageResultType result = ResponseMessageResultType.OK; GetDataResponse dataResponse = null; OsgpException exception = null; try { if (responseMessageResultType == ResponseMessageResultType.NOT_OK || osgpException != null) { LOGGER.error("Device Response not ok.", osgpException); throw osgpException; } this.handleResponseMessageReceived(deviceIdentification); dataResponse = this.mapper.map(dataResponseDto, GetDataResponse.class); } catch (final Exception e) { LOGGER.error("Unexpected Exception", e); result = ResponseMessageResultType.NOT_OK; exception = this.ensureOsgpException(e, "Exception occurred while getting data"); } String actualCorrelationUid = correlationUid; if ("no-correlationUid".equals(actualCorrelationUid)) { actualCorrelationUid = this.correlationIdProviderUUIDService.getCorrelationId("DeviceGenerated", deviceIdentification); } ResponseMessage resopnseMessage = ResponseMessage.newResponseMessageBuilder() .withCorrelationUid(correlationUid).withOrganisationIdentification(organisationIdentification) .withDeviceIdentification(deviceIdentification).withResult(result).withOsgpException(osgpException) .withDataObject(dataResponse).build(); this.webServiceResponseMessageSender.send(resopnseMessage, messageType); }