if (exchange.getRequest().isAcknowledged() || exchange.getRequest().getType()==Type.NON) {
// Transmit errors as CON
if (!ResponseCode.isSuccess(response.getCode())) {
LOGGER.fine("Response has error code "+response.getCode()+" and must be sent as CON");
response.setType(Type.CON);
relation.cancel();
} else {
// Make sure that every now and than a CON is mixed within
if (relation.check()) {
LOGGER.fine("The observe relation requires the notification to be sent as CON");
response.setType(Type.CON);