diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6c96269..0e5e758 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,6 @@
+## 2.1.11
+- Made changes to /message_protocols end-point to work for old REMRem-Semantics library.
+
## 2.1.10
- Mockito framework upgraded to 5.3.1
diff --git a/pom.xml b/pom.xml
index 9227c75..c94f2e4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -10,7 +10,7 @@
- 2.1.10
+ 2.1.11
2.2.6
eiffel-remrem-generate
diff --git a/service/src/main/java/com/ericsson/eiffel/remrem/generate/controller/RemremGenerateController.java b/service/src/main/java/com/ericsson/eiffel/remrem/generate/controller/RemremGenerateController.java
index 9d5d0ba..9ee5214 100644
--- a/service/src/main/java/com/ericsson/eiffel/remrem/generate/controller/RemremGenerateController.java
+++ b/service/src/main/java/com/ericsson/eiffel/remrem/generate/controller/RemremGenerateController.java
@@ -267,7 +267,13 @@ public JsonElement getMessageProtocols() {
for (MsgService service : msgServices) {
JsonObject protocolObject = new JsonObject();
protocolObject.addProperty("name", service.getServiceName());
- protocolObject.addProperty("edition", service.getProtocolEdition());
+ try {
+ protocolObject.addProperty("edition", service.getProtocolEdition());
+ } catch (NoSuchMethodError | AbstractMethodError e) {
+ // Ignored intentionally in order to ensure compatibility with
+ // eiffel-remrem-semantics:2.2.0 and older.
+ log.error("An old library, without implementation of MsgService.getProtocolEdition() is used. Please, upgrade to a newer library implementing eiffel-remrem-protocol-interface:2.1.2 or higher.");
+ }
array.add(protocolObject);
}
return array;