osgi deployment requires that getters and setters use the same types

when deploying the camel component in an OSGi container (e.g. karaf), startup fails because the getters/setters are of different types for certain endpoint attributes. This fixes the error.