diff --git a/basyx.submodelrepository/basyx.submodelrepository-feature-mqtt/src/main/java/org/eclipse/digitaltwin/basyx/submodelrepository/feature/mqtt/MqttSubmodelRepository.java b/basyx.submodelrepository/basyx.submodelrepository-feature-mqtt/src/main/java/org/eclipse/digitaltwin/basyx/submodelrepository/feature/mqtt/MqttSubmodelRepository.java index aee137d32..eb6090bbe 100644 --- a/basyx.submodelrepository/basyx.submodelrepository-feature-mqtt/src/main/java/org/eclipse/digitaltwin/basyx/submodelrepository/feature/mqtt/MqttSubmodelRepository.java +++ b/basyx.submodelrepository/basyx.submodelrepository-feature-mqtt/src/main/java/org/eclipse/digitaltwin/basyx/submodelrepository/feature/mqtt/MqttSubmodelRepository.java @@ -108,8 +108,10 @@ public void createSubmodelElement(String submodelId, String idShortPath, Submode } @Override - public void updateSubmodelElement(String submodelIdentifier, String idShortPath, SubmodelElement submodelElement) throws ElementDoesNotExistException { - decorated.updateSubmodelElement(submodelIdentifier, idShortPath, submodelElement); + public void updateSubmodelElement(String submodelIdentifier, String idShortPath, SubmodelElement smElement) throws ElementDoesNotExistException { + decorated.updateSubmodelElement(submodelIdentifier, idShortPath, smElement); + SubmodelElement submodelElement = decorated.getSubmodelElement(submodelIdentifier, idShortPath); + submodelElementUpdated(submodelElement, getName(), submodelIdentifier, idShortPath); } @Override