ChannelStaticData staticData = getStaticData();
String componentFunctionalName = (String) staticData
.get("componentFunctionalName");
Version componentVersion = versionsManager
.getVersion(componentFunctionalName);
String version = "unknown";
if (componentVersion != null) {
int majorVersion = componentVersion.getMajor();
int minorVersion = componentVersion.getMinor();
int microVersion = componentVersion.getMicro();
StringBuffer versionStringBuffer = new StringBuffer();
versionStringBuffer.append(majorVersion);
versionStringBuffer.append(".");
versionStringBuffer.append(minorVersion);