Current version of this component has an annoying implicit dependency to "com.google.http-client:google-http-client:1.22.0" library, due to the following import in GooglePubsubEndpoint class:
The wrong Strings class is being used ( the one from guava repackaged in google-http-client library, instead of the expected one from com.google.guava )
This makes very difficult to use this component as soon as we introduced other google-related libraries that bring newer version of `com.google.api-client:google-api-client` : newer version of this library depend on version '1.28.0' of the 'google-http-client' library which does not repackage guava anymore.
At runtime we simply get a NoClassDefFoundError:
java.lang.NoClassDefFoundError: com/google/api/client/repackaged/com/google/common/base/Stringsjava.lang.NoClassDefFoundError: com/google/api/client/repackaged/com/google/common/base/Strings at org.apache.camel.component.google.pubsub.GooglePubsubEndpoint.afterPropertiesSet(GooglePubsubEndpoint.java:87)
Could you please fix this wrong import to "Strings" class?