The linkedin component is uses for retrieving LinkedIn user profiles, connections, companies, groups, posts, etc.
Name | Kind | Group | Required | Default | Type | Enum | Description |
---|---|---|---|---|---|---|---|
apiName | path | common | true | org.apache.camel.component.linkedin.internal.LinkedInApiName | comments companies groups jobs people posts search |
What kind of operation to perform | |
methodName | path | common | true | java.lang.String | addActivity addComment addCompanyUpdateComment addCompanyUpdateCommentAsCompany addGroupMembership addInvite addJob addJobBookmark addPost addShare addUpdateComment editJob flagCategory followCompany followPost getComment getCompanies getCompanyById getCompanyByName getCompanyUpdateComments getCompanyUpdateLikes getCompanyUpdates getConnections getConnectionsById getConnectionsByUrl getFollowedCompanies getGroup getGroupMemberships getGroupMembershipSettings getHistoricalFollowStatistics getHistoricalStatusUpdateStatistics getJob getJobBookmarks getNetworkStats getNetworkUpdates getNetworkUpdatesById getNumberOfFollowers getPerson getPersonById getPersonByUrl getPost getPostComments getPosts getStatistics getSuggestedCompanies getSuggestedGroupPosts getSuggestedGroups getSuggestedJobs getUpdateComments getUpdateLikes isShareEnabled isViewerShareEnabled likeCompanyUpdate likePost likeUpdate removeComment removeGroupMembership removeGroupSuggestion removeJob removeJobBookmark removePost searchCompanies searchJobs searchPeople share stopFollowingCompany updateGroupMembership |
What sub operation to use for the selected operation | |
clientId | parameter | common | java.lang.String | LinkedIn application client ID | |||
clientSecret | parameter | common | java.lang.String | LinkedIn application client secret | |||
httpParams | parameter | common | java.util.Map |
Custom HTTP params, for example proxy host and port, use constants from AllClientPNames | |||
inBody | parameter | common | java.lang.String | Sets the name of a parameter to be passed in the exchange In Body | |||
lazyAuth | parameter | common | true | boolean | Flag to enable/disable lazy OAuth, default is true. when enabled, OAuth token retrieval or generation is not done until the first REST call | ||
redirectUri | parameter | common | java.lang.String | Application redirect URI, although the component never redirects to this page to avoid having to have a functioning redirect server. So for testing one could use https://localhost | |||
scopes | parameter | common | org.apache.camel.component.linkedin.api.OAuthScope[] | List of LinkedIn scopes as specified at https://developer.linkedin.com/documents/authentication#granting | |||
secureStorage | parameter | common | org.apache.camel.component.linkedin.api.OAuthSecureStorage | Callback interface for providing an OAuth token or to store the token generated by the component. The callback should return null on the first call and then save the created token in the saveToken() callback. If the callback returns null the first time, a userPassword MUST be provided | |||
userName | parameter | common | java.lang.String | LinkedIn user account name, MUST be provided | |||
userPassword | parameter | common | java.lang.String | LinkedIn account password | |||
bridgeErrorHandler | parameter | consumer | boolean | Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN/ERROR level and ignored. | |||
exceptionHandler | parameter | consumer (advanced) | org.apache.camel.spi.ExceptionHandler | To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this options is not in use. By default the consumer will deal with exceptions, that will be logged at WARN/ERROR level and ignored. | |||
exchangePattern | parameter | consumer (advanced) | org.apache.camel.ExchangePattern | InOnly RobustInOnly InOut InOptionalOut OutOnly RobustOutOnly OutIn OutOptionalIn |
Sets the exchange pattern when the consumer creates an exchange. | ||
synchronous | parameter | advanced | false | boolean | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). |
The LinkedIn consumer.