I'm trying to simply list the messages in a gmail inbox. I've imported camel-google-mail 2.17.0 I've created the access/refresh tokens for the correct client/secret for the gmail account. I've configured the component in a simple route via java api (google-mail://messages/list?clientId=....)
When i run the application and start the route i get an NPE which points to org.apache.camel.component.google.mail.GoogleMailComponent.getClient(GoogleMailComponent.java:50 as the culprit. Doing a bit of digging in the source reveals that the configuration property of GoogleMailComponent is never set, so it's null... so i don't understand how this component could ever work... unless there's some magic going on that i'm not privy to (and which isn't documented at http://camel.apache.org/googlemail.html Am i missing something obvious here? -- View this message in context: http://camel.465427.n5.nabble.com/camel-google-mail-NPE-null-configuration-tp5788571.html Sent from the Camel - Users mailing list archive at Nabble.com.