CAMEL-7932 Added setter, getter and test for initial properties in PropertiesComponent

Removed unnecessary null check