camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r966362 [15/21] - /websites/production/camel/content/
Date Tue, 22 Sep 2015 14:26:37 GMT
Modified: websites/production/camel/content/linkedin.html
==============================================================================
--- websites/production/camel/content/linkedin.html (original)
+++ websites/production/camel/content/linkedin.html Tue Sep 22 14:26:24 2015
@@ -85,50 +85,50 @@
         <tr>
         <td valign="top" width="100%">
 <div class="wiki-content maincontent"><h2 id="LinkedIn-LinkedInComponent">LinkedIn Component</h2><p><strong>Available as of Camel 2.14</strong></p><p>The LinkedIn component provides access to all of LinkedIn REST APIs documented at&#160;<a shape="rect" class="external-link" href="https://developer.linkedin.com/rest" rel="nofollow">https://developer.linkedin.com/rest</a>.&#160;</p><p>LinkedIn uses OAuth2.0 for all client application authentication. In order to use camel-linkedin with your account, you'll need to create a new application for LinkedIn at <a shape="rect" class="external-link" href="https://www.linkedin.com/secure/developer" rel="nofollow">https://www.linkedin.com/secure/developer</a>. The LinkedIn application's client id and secret will allow access to LinkedIn REST APIs which require a current user. A user access token is generated and managed by component for an end user. Alternatively the Camel application can register an implementation of&#160;org.apache.camel.compo
 nent.linkedin.api.OAuthSecureStorage<span style="color: rgb(0,0,0);">&#160;to provide an org.apache.camel.component.linkedin.apiOAuthToken&#160;OAuth token</span>.</p><p>Maven users will need to add the following dependency to their pom.xml for this component:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default" style="font-size:12px;">	&lt;dependency&gt;
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[	&lt;dependency&gt;
     	&lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     	&lt;artifactId&gt;camel-linkedin&lt;/artifactId&gt;
     	&lt;version&gt;${camel-version}&lt;/version&gt;
 	&lt;/dependency&gt;
-</pre>
+]]></script>
 </div></div><h3 id="LinkedIn-URIformat">URI format</h3><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default" style="font-size:12px;">    linkedin://endpoint-prefix/endpoint?[options]
-</pre>
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[    linkedin://endpoint-prefix/endpoint?[options]
+]]></script>
 </div></div><p>Endpoint prefix can be one of:</p><ul><li>comments</li><li>companies</li><li>groups</li><li>jobs</li><li>people</li><li>posts</li><li>search</li></ul><h3 id="LinkedIn-LinkedInComponent.1">LinkedInComponent</h3><p>The LinkedIn Component can be configured with the options below. These options can be provided using the component's bean property&#160;<strong>configuration</strong>&#160;of type&#160;<strong>org.apache.camel.component.linkedin.LinkedInConfiguration</strong>.</p><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh">Option</th><th colspan="1" rowspan="1" class="confluenceTh">Type</th><th colspan="1" rowspan="1" class="confluenceTh">Description</th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">clientId</td><td colspan="1" rowspan="1" class="confluenceTd">String</td><td colspan="1" rowspan="1" class="confluenceTd">LinkedIn application client ID</td></tr><tr><td colspan="1" rowspan="1" clas
 s="confluenceTd">clientSecret</td><td colspan="1" rowspan="1" class="confluenceTd">String</td><td colspan="1" rowspan="1" class="confluenceTd">LinkedIn application client secret</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">httpParams</td><td colspan="1" rowspan="1" class="confluenceTd">java.util.Map</td><td colspan="1" rowspan="1" class="confluenceTd">Custom HTTP params, for example proxy host and port, use constants from <a shape="rect" class="external-link" href="http://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/client/params/AllClientPNames.html">AllClientPNames</a></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">lazyAuth</td><td colspan="1" rowspan="1" class="confluenceTd">boolean</td><td colspan="1" rowspan="1" class="confluenceTd">Flag to enable/disable lazy OAuth, default is true. when enabled, OAuth token retrieval or generation is not done until the first REST call</td></tr><tr><td colspan="1" rowspan="1" class="
 confluenceTd">redirectUri</td><td colspan="1" rowspan="1" class="confluenceTd">String</td><td colspan="1" rowspan="1" class="confluenceTd">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</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">scopes</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.OAuthScope[]</td><td colspan="1" rowspan="1" class="confluenceTd">List of LinkedIn scopes as specified at <a shape="rect" class="external-link" href="https://developer.linkedin.com/documents/authentication#granting" rel="nofollow">https://developer.linkedin.com/documents/authentication#granting</a></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">secureStorage</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.OAuthSecureStorage</td><td colspan="1" rowspan=
 "1" class="confluenceTd">Callback interface for providing an OAuth token or to store the token generated by the component. The callback should return <strong>null</strong> on the first call and then save the created token in the saveToken() callback. If the callback returns null the first time, a <strong>userPassword</strong> MUST be provided</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">userName</td><td colspan="1" rowspan="1" class="confluenceTd">String</td><td colspan="1" rowspan="1" class="confluenceTd">LinkedIn user account name, MUST be provided</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">userPassword</td><td colspan="1" rowspan="1" class="confluenceTd">String</td><td colspan="1" rowspan="1" class="confluenceTd">LinkedIn account password</td></tr></tbody></table></div><h3 id="LinkedIn-ProducerEndpoints:">Producer Endpoints:</h3><p>Producer endpoints can use endpoint prefixes followed by endpoint names and associated options described next. A s
 horthand alias can be used for some endpoints. The endpoint URI MUST contain a prefix.</p><p>Endpoint options that are not mandatory are denoted by []. When there are no mandatory options for an endpoint, one of the set of [] options MUST be provided. Producer endpoints can also use a special option&#160;<strong>inBody</strong>&#160;that in turn should contain the name of the endpoint option whose value will be contained in the Camel Exchange In message.</p><p>Any of the endpoint options can be provided in either the endpoint URI, or dynamically in a message header. The message header name must be of the format&#160;<strong>CamelLinkedIn.&lt;option&gt;</strong>. Note that the&#160;<strong>inBody</strong>&#160;option overrides message header, i.e. the endpoint option&#160;<strong>inBody=option</strong>&#160;would override a&#160;<strong>CamelLinkedIn.option</strong>&#160;header.</p><p>For more information on the endpoints and options see LinkedIn REST API documentation at&#160;<a sha
 pe="rect" class="external-link" href="https://developer.linkedin.com/rest" rel="nofollow">https://developer.linkedin.com/rest</a>.&#160;</p><h4 id="LinkedIn-Endpointprefixcomments">Endpoint prefix&#160;<em>comments</em></h4><p>The following endpoints can be invoked with the prefix&#160;<strong>comments</strong>&#160;as follows:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default" style="font-size:12px;">    linkedin://comments/endpoint?[options]</pre>
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[    linkedin://comments/endpoint?[options]]]></script>
 </div></div><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh">Endpoint</th><th colspan="1" rowspan="1" class="confluenceTh">Shorthand Alias</th><th colspan="1" rowspan="1" class="confluenceTh">Options</th><th colspan="1" rowspan="1" class="confluenceTh">Result Body Type</th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">getComment</td><td colspan="1" rowspan="1" class="confluenceTd">comment</td><td colspan="1" rowspan="1" class="confluenceTd">comment_id, fields</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.Comment</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">removeComment</td><td colspan="1" rowspan="1" class="confluenceTd">comment</td><td colspan="1" rowspan="1" class="confluenceTd">comment_id</td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr></tbody></table></div><h5 id="LinkedIn-URIOptionsforcomments">URI Options for&
 #160;<em>comments</em></h5><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh">Name</th><th colspan="1" rowspan="1" class="confluenceTh">Type</th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">comment_id</td><td colspan="1" rowspan="1" class="confluenceTd">String</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">fields</td><td colspan="1" rowspan="1" class="confluenceTd">String</td></tr></tbody></table></div><h4 id="LinkedIn-Endpointprefixcompanies">Endpoint prefix&#160;<em>companies</em></h4><p>The following endpoints can be invoked with the prefix&#160;<strong>companies</strong>&#160;as follows:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default" style="font-size:12px;">    linkedin://companies/endpoint?[options]</pre>
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[    linkedin://companies/endpoint?[options]]]></script>
 </div></div><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh">Endpoint</th><th colspan="1" rowspan="1" class="confluenceTh">Shorthand Alias</th><th colspan="1" rowspan="1" class="confluenceTh">Options</th><th colspan="1" rowspan="1" class="confluenceTh">Result Body Type</th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">addCompanyUpdateComment</td><td colspan="1" rowspan="1" class="confluenceTd">companyUpdateComment</td><td colspan="1" rowspan="1" class="confluenceTd">company_id, update_key, updatecomment</td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">addCompanyUpdateCommentAsCompany</td><td colspan="1" rowspan="1" class="confluenceTd">companyUpdateCommentAsCompany</td><td colspan="1" rowspan="1" class="confluenceTd">company_id, update_key, updatecomment</td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td cols
 pan="1" rowspan="1" class="confluenceTd">addShare</td><td colspan="1" rowspan="1" class="confluenceTd">share</td><td colspan="1" rowspan="1" class="confluenceTd">company_id, share</td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">getCompanies</td><td colspan="1" rowspan="1" class="confluenceTd">companies</td><td colspan="1" rowspan="1" class="confluenceTd">email_domain, fields, is_company_admin</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.Companies</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">getCompanyById</td><td colspan="1" rowspan="1" class="confluenceTd">companyById</td><td colspan="1" rowspan="1" class="confluenceTd">company_id, fields</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.Company</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">getCompanyByName</td><td colspan="1
 " rowspan="1" class="confluenceTd">companyByName</td><td colspan="1" rowspan="1" class="confluenceTd">fields, universal_name</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.Company</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">getCompanyUpdateComments</td><td colspan="1" rowspan="1" class="confluenceTd">companyUpdateComments</td><td colspan="1" rowspan="1" class="confluenceTd">company_id, fields, secure_urls, update_key</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.Comments</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">getCompanyUpdateLikes</td><td colspan="1" rowspan="1" class="confluenceTd">companyUpdateLikes</td><td colspan="1" rowspan="1" class="confluenceTd">company_id, fields, secure_urls, update_key</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.Likes</td></tr><tr><td colspan="1" rowspan="1"
  class="confluenceTd">getCompanyUpdates</td><td colspan="1" rowspan="1" class="confluenceTd">companyUpdates</td><td colspan="1" rowspan="1" class="confluenceTd">company_id, count, event_type, fields, start</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.Updates</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">getHistoricalFollowStatistics</td><td colspan="1" rowspan="1" class="confluenceTd">historicalFollowStatistics</td><td colspan="1" rowspan="1" class="confluenceTd">company_id, end_timestamp, start_timestamp, time_granularity</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.HistoricalFollowStatistics</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">getHistoricalStatusUpdateStatistics</td><td colspan="1" rowspan="1" class="confluenceTd">historicalStatusUpdateStatistics</td><td colspan="1" rowspan="1" class="confluenceTd">company_id, end_timestamp, start_ti
 mestamp, time_granularity, update_key</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.HistoricalStatusUpdateStatistics</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">getNumberOfFollowers</td><td colspan="1" rowspan="1" class="confluenceTd">numberOfFollowers</td><td colspan="1" rowspan="1" class="confluenceTd">companySizes, company_id, geos, industries, jobFunc, seniorities</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.NumFollowers</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">getStatistics</td><td colspan="1" rowspan="1" class="confluenceTd">statistics</td><td colspan="1" rowspan="1" class="confluenceTd">company_id</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.CompanyStatistics</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">isShareEnabled</td><td colspan="1" rowspan="1" class="conflu
 enceTd">&#160;</td><td colspan="1" rowspan="1" class="confluenceTd">company_id</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.IsCompanyShareEnabled</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">isViewerShareEnabled</td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" class="confluenceTd">company_id</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.IsCompanyShareEnabled</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">likeCompanyUpdate</td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" class="confluenceTd">company_id, isliked, update_key</td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr></tbody></table></div><h5 id="LinkedIn-URIOptionsforcompanies">URI Options for&#160;<em>companies</em></h5><p>If a value is not provided for one of the option(s) <strong>[comp
 anySizes, count, email_domain, end_timestamp, event_type, geos, industries, is_company_admin, jobFunc, secure_urls, seniorities, start, start_timestamp, time_granularity]</strong> either in the endpoint URI or in a message header, it will be assumed to be&#160;<strong>null</strong>. Note that the&#160;<strong>null</strong>&#160;value(s) will only be used if other options do not satisfy matching endpoints.</p><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh">Name</th><th colspan="1" rowspan="1" class="confluenceTh">Type</th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">companySizes</td><td colspan="1" rowspan="1" class="confluenceTd">java.util.List</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">company_id</td><td colspan="1" rowspan="1" class="confluenceTd">Long</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">count</td><td colspan="1" rowspan="1" class="confluenceTd">Long</td></t
 r><tr><td colspan="1" rowspan="1" class="confluenceTd">email_domain</td><td colspan="1" rowspan="1" class="confluenceTd">String</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">end_timestamp</td><td colspan="1" rowspan="1" class="confluenceTd">Long</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">event_type</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.Eventtype</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">fields</td><td colspan="1" rowspan="1" class="confluenceTd">String</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">geos</td><td colspan="1" rowspan="1" class="confluenceTd">java.util.List</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">industries</td><td colspan="1" rowspan="1" class="confluenceTd">java.util.List</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">is_company_admin</td><td colspan="1" rowspan="1" class="confluenceTd">Boolean</td></tr><tr><
 td colspan="1" rowspan="1" class="confluenceTd">isliked</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.IsLiked</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">jobFunc</td><td colspan="1" rowspan="1" class="confluenceTd">java.util.List</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">secure_urls</td><td colspan="1" rowspan="1" class="confluenceTd">Boolean</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">seniorities</td><td colspan="1" rowspan="1" class="confluenceTd">java.util.List</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">share</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.Share</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">start</td><td colspan="1" rowspan="1" class="confluenceTd">Long</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">start_timestamp</td><td colspan="1" rowspan="1" class="con
 fluenceTd">Long</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">time_granularity</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.Timegranularity</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">universal_name</td><td colspan="1" rowspan="1" class="confluenceTd">String</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">update_key</td><td colspan="1" rowspan="1" class="confluenceTd">String</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">updatecomment</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.UpdateComment</td></tr></tbody></table></div><h4 id="LinkedIn-Endpointprefixgroups">Endpoint prefix&#160;<em>groups</em></h4><p>The following endpoints can be invoked with the prefix&#160;<strong>groups</strong>&#160;as follows:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default" style="font-size:12px;">    linkedin://groups/endpoint?[options]</pre>
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[    linkedin://groups/endpoint?[options]]]></script>
 </div></div><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh">Endpoint</th><th colspan="1" rowspan="1" class="confluenceTh">Shorthand Alias</th><th colspan="1" rowspan="1" class="confluenceTh">Options</th><th colspan="1" rowspan="1" class="confluenceTh">Result Body Type</th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">addPost</td><td colspan="1" rowspan="1" class="confluenceTd">post</td><td colspan="1" rowspan="1" class="confluenceTd">group_id, post</td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">getGroup</td><td colspan="1" rowspan="1" class="confluenceTd">group</td><td colspan="1" rowspan="1" class="confluenceTd">group_id</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.Group</td></tr></tbody></table></div><h5 id="LinkedIn-URIOptionsforgroups">URI Options for&#160;<em>groups</em></h
 5><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh">Name</th><th colspan="1" rowspan="1" class="confluenceTh">Type</th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">group_id</td><td colspan="1" rowspan="1" class="confluenceTd">Long</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">post</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.Post</td></tr></tbody></table></div><h4 id="LinkedIn-Endpointprefixjobs">Endpoint prefix&#160;<em>jobs</em></h4><p>The following endpoints can be invoked with the prefix&#160;<strong>jobs</strong>&#160;as follows:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default" style="font-size:12px;">    linkedin://jobs/endpoint?[options]</pre>
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[    linkedin://jobs/endpoint?[options]]]></script>
 </div></div><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh">Endpoint</th><th colspan="1" rowspan="1" class="confluenceTh">Shorthand Alias</th><th colspan="1" rowspan="1" class="confluenceTh">Options</th><th colspan="1" rowspan="1" class="confluenceTh">Result Body Type</th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">addJob</td><td colspan="1" rowspan="1" class="confluenceTd">job</td><td colspan="1" rowspan="1" class="confluenceTd">job</td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">editJob</td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" class="confluenceTd">job, partner_job_id</td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">getJob</td><td colspan="1" rowspan="1" class="confluenceTd">job</td><td colspan="1" rowspan="
 1" class="confluenceTd">fields, job_id</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.Job</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">removeJob</td><td colspan="1" rowspan="1" class="confluenceTd">job</td><td colspan="1" rowspan="1" class="confluenceTd">partner_job_id</td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr></tbody></table></div><h5 id="LinkedIn-URIOptionsforjobs">URI Options for&#160;<em>jobs</em></h5><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh">Name</th><th colspan="1" rowspan="1" class="confluenceTh">Type</th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">fields</td><td colspan="1" rowspan="1" class="confluenceTd">String</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">job</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.Job</td></tr><tr><td
  colspan="1" rowspan="1" class="confluenceTd">job_id</td><td colspan="1" rowspan="1" class="confluenceTd">Long</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">partner_job_id</td><td colspan="1" rowspan="1" class="confluenceTd">Long</td></tr></tbody></table></div><h4 id="LinkedIn-Endpointprefixpeople">Endpoint prefix&#160;<em>people</em></h4><p>The following endpoints can be invoked with the prefix&#160;<strong>people</strong>&#160;as follows:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default" style="font-size:12px;">    linkedin://people/endpoint?[options]</pre>
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[    linkedin://people/endpoint?[options]]]></script>
 </div></div><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh">Endpoint</th><th colspan="1" rowspan="1" class="confluenceTh">Shorthand Alias</th><th colspan="1" rowspan="1" class="confluenceTh">Options</th><th colspan="1" rowspan="1" class="confluenceTh">Result Body Type</th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">addActivity</td><td colspan="1" rowspan="1" class="confluenceTd">activity</td><td colspan="1" rowspan="1" class="confluenceTd">activity</td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">addGroupMembership</td><td colspan="1" rowspan="1" class="confluenceTd">groupMembership</td><td colspan="1" rowspan="1" class="confluenceTd">groupmembership</td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">addInvite</td><td colspan="1" rowspan="1" class="confluenceTd"
 >invite</td><td colspan="1" rowspan="1" class="confluenceTd">mailboxitem</td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">addJobBookmark</td><td colspan="1" rowspan="1" class="confluenceTd">jobBookmark</td><td colspan="1" rowspan="1" class="confluenceTd">jobbookmark</td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">addUpdateComment</td><td colspan="1" rowspan="1" class="confluenceTd">updateComment</td><td colspan="1" rowspan="1" class="confluenceTd">update_key, updatecomment</td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">followCompany</td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" class="confluenceTd">company</td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="conflue
 nceTd">getConnections</td><td colspan="1" rowspan="1" class="confluenceTd">connections</td><td colspan="1" rowspan="1" class="confluenceTd">fields, secure_urls</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.Connections</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">getConnectionsById</td><td colspan="1" rowspan="1" class="confluenceTd">connectionsById</td><td colspan="1" rowspan="1" class="confluenceTd">fields, person_id, secure_urls</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.Connections</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">getConnectionsByUrl</td><td colspan="1" rowspan="1" class="confluenceTd">connectionsByUrl</td><td colspan="1" rowspan="1" class="confluenceTd">fields, public_profile_url, secure_urls</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.Connections</td></tr><tr><td colspan=
 "1" rowspan="1" class="confluenceTd">getFollowedCompanies</td><td colspan="1" rowspan="1" class="confluenceTd">followedCompanies</td><td colspan="1" rowspan="1" class="confluenceTd">fields</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.Companies</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">getGroupMembershipSettings</td><td colspan="1" rowspan="1" class="confluenceTd">groupMembershipSettings</td><td colspan="1" rowspan="1" class="confluenceTd">count, fields, group_id, start</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.GroupMemberships</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">getGroupMemberships</td><td colspan="1" rowspan="1" class="confluenceTd">groupMemberships</td><td colspan="1" rowspan="1" class="confluenceTd">count, fields, membership_state, start</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.
 api.model.GroupMemberships</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">getJobBookmarks</td><td colspan="1" rowspan="1" class="confluenceTd">jobBookmarks</td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.JobBookmarks</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">getNetworkStats</td><td colspan="1" rowspan="1" class="confluenceTd">networkStats</td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.NetworkStats</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">getNetworkUpdates</td><td colspan="1" rowspan="1" class="confluenceTd">networkUpdates</td><td colspan="1" rowspan="1" class="confluenceTd">after, before, count, fields, scope, secure_urls, show_hidden_members, start, type</td><td colspan="1" rowspan="1" class="confluenceTd">o
 rg.apache.camel.component.linkedin.api.model.Updates</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">getNetworkUpdatesById</td><td colspan="1" rowspan="1" class="confluenceTd">networkUpdatesById</td><td colspan="1" rowspan="1" class="confluenceTd">after, before, count, fields, person_id, scope, secure_urls, show_hidden_members, start, type</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.Updates</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">getPerson</td><td colspan="1" rowspan="1" class="confluenceTd">person</td><td colspan="1" rowspan="1" class="confluenceTd">fields, secure_urls</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.Person</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">getPersonById</td><td colspan="1" rowspan="1" class="confluenceTd">personById</td><td colspan="1" rowspan="1" class="confluenceTd">fields, person_id, secure_urls
 </td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.Person</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">getPersonByUrl</td><td colspan="1" rowspan="1" class="confluenceTd">personByUrl</td><td colspan="1" rowspan="1" class="confluenceTd">fields, public_profile_url, secure_urls</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.Person</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">getPosts</td><td colspan="1" rowspan="1" class="confluenceTd">posts</td><td colspan="1" rowspan="1" class="confluenceTd">category, count, fields, group_id, modified_since, order, role, start</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.Posts</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">getSuggestedCompanies</td><td colspan="1" rowspan="1" class="confluenceTd">suggestedCompanies</td><td colspan="1" rowspan="1" cla
 ss="confluenceTd">fields</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.Companies</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">getSuggestedGroupPosts</td><td colspan="1" rowspan="1" class="confluenceTd">suggestedGroupPosts</td><td colspan="1" rowspan="1" class="confluenceTd">category, count, fields, group_id, modified_since, order, role, start</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.Posts</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">getSuggestedGroups</td><td colspan="1" rowspan="1" class="confluenceTd">suggestedGroups</td><td colspan="1" rowspan="1" class="confluenceTd">fields</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.Groups</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">getSuggestedJobs</td><td colspan="1" rowspan="1" class="confluenceTd">suggestedJobs</td><td colspan
 ="1" rowspan="1" class="confluenceTd">fields</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.JobSuggestions</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">getUpdateComments</td><td colspan="1" rowspan="1" class="confluenceTd">updateComments</td><td colspan="1" rowspan="1" class="confluenceTd">fields, secure_urls, update_key</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.Comments</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">getUpdateLikes</td><td colspan="1" rowspan="1" class="confluenceTd">updateLikes</td><td colspan="1" rowspan="1" class="confluenceTd">fields, secure_urls, update_key</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.Likes</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">likeUpdate</td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
 class="confluenceTd">isliked, update_key</td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">removeGroupMembership</td><td colspan="1" rowspan="1" class="confluenceTd">groupMembership</td><td colspan="1" rowspan="1" class="confluenceTd">group_id</td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">removeGroupSuggestion</td><td colspan="1" rowspan="1" class="confluenceTd">groupSuggestion</td><td colspan="1" rowspan="1" class="confluenceTd">group_id</td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">removeJobBookmark</td><td colspan="1" rowspan="1" class="confluenceTd">jobBookmark</td><td colspan="1" rowspan="1" class="confluenceTd">job_id</td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">share</td><td colsp
 an="1" rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" class="confluenceTd">share</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.Update</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">stopFollowingCompany</td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" class="confluenceTd">company_id</td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">updateGroupMembership</td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" class="confluenceTd">group_id, groupmembership</td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr></tbody></table></div><h5 id="LinkedIn-URIOptionsforpeople">URI Options for&#160;<em>people</em></h5><p>If a value is not provided for one of the option(s) <strong>[after, before, category, count, membership_state, modified_si
 nce, order, public_profile_url, role, scope, secure_urls, show_hidden_members, start, type]</strong> either in the endpoint URI or in a message header, it will be assumed to be&#160;<strong>null</strong>. Note that the&#160;<strong>null</strong>&#160;value(s) will only be used if other options do not satisfy matching endpoints.</p><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh">Name</th><th colspan="1" rowspan="1" class="confluenceTh">Type</th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">activity</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.Activity</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">after</td><td colspan="1" rowspan="1" class="confluenceTd">Long</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">before</td><td colspan="1" rowspan="1" class="confluenceTd">Long</td></tr><tr><td colspan="1" rowspan="1" class="conflu
 enceTd">category</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.Category</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">company</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.Company</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">company_id</td><td colspan="1" rowspan="1" class="confluenceTd">Long</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">count</td><td colspan="1" rowspan="1" class="confluenceTd">Long</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">fields</td><td colspan="1" rowspan="1" class="confluenceTd">String</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">group_id</td><td colspan="1" rowspan="1" class="confluenceTd">Long</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">groupmembership</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.GroupMemb
 ership</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">isliked</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.IsLiked</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">job_id</td><td colspan="1" rowspan="1" class="confluenceTd">Long</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">jobbookmark</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.JobBookmark</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">mailboxitem</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.MailboxItem</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">membership_state</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.MembershipState</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">modified_since</td><td colspan="1" rowspan="1" class="conflu
 enceTd">Long</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">order</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.Order</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">person_id</td><td colspan="1" rowspan="1" class="confluenceTd">String</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">public_profile_url</td><td colspan="1" rowspan="1" class="confluenceTd">String</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">role</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.Role</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">scope</td><td colspan="1" rowspan="1" class="confluenceTd">String</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">secure_urls</td><td colspan="1" rowspan="1" class="confluenceTd">Boolean</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">share</td><td colspan="1" rowspan="1" class="confluenc
 eTd">org.apache.camel.component.linkedin.api.model.Share</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">show_hidden_members</td><td colspan="1" rowspan="1" class="confluenceTd">Boolean</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">start</td><td colspan="1" rowspan="1" class="confluenceTd">Long</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">type</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.Type</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">update_key</td><td colspan="1" rowspan="1" class="confluenceTd">String</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">updatecomment</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.UpdateComment</td></tr></tbody></table></div><h4 id="LinkedIn-Endpointprefixposts">Endpoint prefix&#160;<em>posts</em></h4><p>The following endpoints can be invoked with the prefix&#160;<strong>post
 s</strong>&#160;as follows:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default" style="font-size:12px;">    linkedin://posts/endpoint?[options]</pre>
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[    linkedin://posts/endpoint?[options]]]></script>
 </div></div><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh">Endpoint</th><th colspan="1" rowspan="1" class="confluenceTh">Shorthand Alias</th><th colspan="1" rowspan="1" class="confluenceTh">Options</th><th colspan="1" rowspan="1" class="confluenceTh">Result Body Type</th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">addComment</td><td colspan="1" rowspan="1" class="confluenceTd">comment</td><td colspan="1" rowspan="1" class="confluenceTd">comment, post_id</td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">flagCategory</td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" class="confluenceTd">post_id, postcategorycode</td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">followPost</td><td colspan="1" rowspan="1" class="confluenceT
 d">&#160;</td><td colspan="1" rowspan="1" class="confluenceTd">isfollowing, post_id</td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">getPost</td><td colspan="1" rowspan="1" class="confluenceTd">post</td><td colspan="1" rowspan="1" class="confluenceTd">count, fields, post_id, start</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.Post</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">getPostComments</td><td colspan="1" rowspan="1" class="confluenceTd">postComments</td><td colspan="1" rowspan="1" class="confluenceTd">count, fields, post_id, start</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.Comments</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">likePost</td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" class="confluenceTd">isliked, post_id</t
 d><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">removePost</td><td colspan="1" rowspan="1" class="confluenceTd">post</td><td colspan="1" rowspan="1" class="confluenceTd">post_id</td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr></tbody></table></div><h5 id="LinkedIn-URIOptionsforposts">URI Options for&#160;<em>posts</em></h5><p>If a value is not provided for one of the option(s) <strong>[count, start]</strong> either in the endpoint URI or in a message header, it will be assumed to be&#160;<strong>null</strong>. Note that the&#160;<strong>null</strong>&#160;value(s) will only be used if other options do not satisfy matching endpoints.</p><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh">Name</th><th colspan="1" rowspan="1" class="confluenceTh">Type</th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">comment</td><td cols
 pan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.Comment</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">count</td><td colspan="1" rowspan="1" class="confluenceTd">Long</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">fields</td><td colspan="1" rowspan="1" class="confluenceTd">String</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">isfollowing</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.IsFollowing</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">isliked</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.IsLiked</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">post_id</td><td colspan="1" rowspan="1" class="confluenceTd">String</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">postcategorycode</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.compon
 ent.linkedin.api.model.PostCategoryCode</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">start</td><td colspan="1" rowspan="1" class="confluenceTd">Long</td></tr></tbody></table></div><h4 id="LinkedIn-Endpointprefixsearch">Endpoint prefix&#160;<em>search</em></h4><p>The following endpoints can be invoked with the prefix&#160;<strong>search</strong>&#160;as follows:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default" style="font-size:12px;">   linkedin://search/endpoint?[options]</pre>
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[   linkedin://search/endpoint?[options]]]></script>
 </div></div><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh">Endpoint</th><th colspan="1" rowspan="1" class="confluenceTh">Shorthand Alias</th><th colspan="1" rowspan="1" class="confluenceTh">Options</th><th colspan="1" rowspan="1" class="confluenceTh">Result Body Type</th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">searchCompanies</td><td colspan="1" rowspan="1" class="confluenceTd">companies</td><td colspan="1" rowspan="1" class="confluenceTd">count, facet, facets, fields, hq_only, keywords, sort, start</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.CompanySearch</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">searchJobs</td><td colspan="1" rowspan="1" class="confluenceTd">jobs</td><td colspan="1" rowspan="1" class="confluenceTd">company_name, count, country_code, distance, facet, facets, fields, job_title, keywords, postal_code, sort, s
 tart</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.JobSearch</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">searchPeople</td><td colspan="1" rowspan="1" class="confluenceTd">people</td><td colspan="1" rowspan="1" class="confluenceTd">company_name, count, country_code, current_company, current_school, current_title, distance, facet, facets, fields, first_name, keywords, last_name, postal_code, school_name, sort, start, title</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.PeopleSearch</td></tr></tbody></table></div><h5 id="LinkedIn-URIOptionsforsearch">URI Options for&#160;<em>search</em></h5><p>If a value is not provided for one of the option(s) <strong>[company_name, count, country_code, current_company, current_school, current_title, distance, facet, facets, first_name, hq_only, job_title, keywords, last_name, postal_code, school_name, sort, start, title]</strong>
  either in the endpoint URI or in a message header, it will be assumed to be&#160;<strong>null</strong>. Note that the&#160;<strong>null</strong>&#160;value(s) will only be used if other options do not satisfy matching endpoints.</p><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh">Name</th><th colspan="1" rowspan="1" class="confluenceTh">Type</th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">company_name</td><td colspan="1" rowspan="1" class="confluenceTd">String</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">count</td><td colspan="1" rowspan="1" class="confluenceTd">Long</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">country_code</td><td colspan="1" rowspan="1" class="confluenceTd">String</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">current_company</td><td colspan="1" rowspan="1" class="confluenceTd">String</td></tr><tr><td colspan="1" rowspan="1" class="conf
 luenceTd">current_school</td><td colspan="1" rowspan="1" class="confluenceTd">String</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">current_title</td><td colspan="1" rowspan="1" class="confluenceTd">String</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">distance</td><td colspan="1" rowspan="1" class="confluenceTd">org.apache.camel.component.linkedin.api.model.Distance</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">facet</td><td colspan="1" rowspan="1" class="confluenceTd">String</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">facets</td><td colspan="1" rowspan="1" class="confluenceTd">String</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">fields</td><td colspan="1" rowspan="1" class="confluenceTd">String</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">first_name</td><td colspan="1" rowspan="1" class="confluenceTd">String</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">hq_only</td><td 
 colspan="1" rowspan="1" class="confluenceTd">String</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">job_title</td><td colspan="1" rowspan="1" class="confluenceTd">String</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">keywords</td><td colspan="1" rowspan="1" class="confluenceTd">String</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">last_name</td><td colspan="1" rowspan="1" class="confluenceTd">String</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">postal_code</td><td colspan="1" rowspan="1" class="confluenceTd">String</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">school_name</td><td colspan="1" rowspan="1" class="confluenceTd">String</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">sort</td><td colspan="1" rowspan="1" class="confluenceTd">String</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">start</td><td colspan="1" rowspan="1" class="confluenceTd">Long</td></tr><tr><td colspan="1" 
 rowspan="1" class="confluenceTd">title</td><td colspan="1" rowspan="1" class="confluenceTd">String</td></tr></tbody></table></div><h3 id="LinkedIn-ConsumerEndpoints">Consumer Endpoints</h3><p>Any of the producer endpoints can be used as a consumer endpoint. Consumer endpoints can use&#160;<a shape="rect" class="external-link" href="http://camel.apache.org/polling-consumer.html#PollingConsumer-ScheduledPollConsumerOptions">Scheduled Poll Consumer Options</a>&#160;with a&#160;<strong>consumer.</strong>&#160;prefix to schedule endpoint invocation. By default Consumer endpoints that return an array or collection will generate one exchange per element, and their routes will be executed once for each exchange. To change this behavior use the property <strong>consumer.splitResults=true</strong> to return a single exchange for the entire list or array.&#160;</p><h3 id="LinkedIn-MessageHeaders">Message Headers</h3><p>Any URI option can be provided in a message header for producer endpoints w
 ith a&#160;<strong>CamelLinkedIn.</strong>&#160;prefix.</p><h3 id="LinkedIn-Messagebody"><span style="font-size: 16.0px;line-height: 1.5625;">Message body</span></h3><p>All result message bodies utilize objects provided by the Camel LinkedIn API SDK, which is built using Apache CXF JAX-RS. Producer endpoints can specify the option name for incoming message body in the <strong>inBody</strong> endpoint parameter.</p><h3 id="LinkedIn-Usecases"><span style="line-height: 1.5625;">Use cases</span></h3><p>The following route gets user's profile:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default" style="font-size:12px;">	from("direct:foo")
-		.to("linkedin://people/person");
-</pre>
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[	from(&quot;direct:foo&quot;)
+		.to(&quot;linkedin://people/person&quot;);
+]]></script>
 </div></div><p>The following route polls user's connections every 30 seconds:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default" style="font-size:12px;">	from("linkedin://people/connections?consumer.timeUnit=SECONDS&amp;consumer.delay=30")
-		.to("bean:foo");
-</pre>
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[	from(&quot;linkedin://people/connections?consumer.timeUnit=SECONDS&amp;consumer.delay=30&quot;)
+		.to(&quot;bean:foo&quot;);
+]]></script>
 </div></div><p>The following route uses a producer with dynamic header options.&#160;<span style="color: rgb(51,51,51);line-height: 1.4285715;">The </span><strong style="color: rgb(51,51,51);line-height: 1.4285715;">personId</strong><span style="color: rgb(51,51,51);line-height: 1.4285715;"> header has the LinkedIn person ID, so its assigned to the </span><strong style="color: rgb(51,51,51);line-height: 1.4285715;">CamelLinkedIn.person_id</strong><span style="color: rgb(51,51,51);line-height: 1.4285715;"> header as follows:</span></p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default" style="font-size:12px;">	from("direct:foo")
-		.setHeader("CamelLinkedIn.person_id", header("personId"))
-		.to("linkedin://people/connectionsById")
-		.to("bean://bar");
-</pre>
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[	from(&quot;direct:foo&quot;)
+		.setHeader(&quot;CamelLinkedIn.person_id&quot;, header(&quot;personId&quot;))
+		.to(&quot;linkedin://people/connectionsById&quot;)
+		.to(&quot;bean://bar&quot;);
+]]></script>
 </div></div></div>
         </td>
         <td valign="top">
           <div class="navigation">
             <div class="navigation_top">
                 <!-- NavigationBar -->
-<div class="navigation_bottom" id="navigation_bottom"><h3 id="Navigation-Overviewhttps://cwiki.apache.org/confluence/pages/viewpage.action?pageId=49132"><a shape="rect" href="overview.html">Overview</a></h3><ul class="alternate"><li><a shape="rect" href="index.html">Home</a></li><li><a shape="rect" href="download.html">Download</a></li><li><a shape="rect" href="getting-started.html">Getting Started</a></li><li><a shape="rect" href="faq.html">FAQ</a></li></ul><h3 id="Navigation-Documentationhttps://cwiki.apache.org/confluence/pages/viewpage.action?pageId=49534"><a shape="rect" href="documentation.html">Documentation</a></h3><ul class="alternate"><li><a shape="rect" href="user-guide.html">User Guide</a></li><li><a shape="rect" href="manual.html">Manual</a></li><li><a shape="rect" href="books.html">Books</a></li><li><a shape="rect" href="tutorials.html">Tutorials</a></li><li><a shape="rect" href="examples.html">Examples</a></li><li><a shape="rect" href="cookbook.html">Cookbook</a></li>
 <li><a shape="rect" href="architecture.html">Architecture</a></li><li><a shape="rect" href="enterprise-integration-patterns.html">Enterprise Integration Patterns</a></li><li><a shape="rect" href="dsl.html">DSL</a></li><li><a shape="rect" href="components.html">Components</a></li><li><a shape="rect" href="data-format.html">Data Format</a></li><li><a shape="rect" href="languages.html">Languages</a></li><li><a shape="rect" href="security.html">Security</a></li><li><a shape="rect" href="security-advisories.html">Security Advisories</a></li></ul><h3 id="Navigation-Search">Search</h3><form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
+<div class="navigation_bottom" id="navigation_bottom"><h3 id="Navigation-Overview"><a shape="rect" href="overview.html">Overview</a></h3><ul class="alternate"><li><a shape="rect" href="index.html">Home</a></li><li><a shape="rect" href="download.html">Download</a></li><li><a shape="rect" href="getting-started.html">Getting Started</a></li><li><a shape="rect" href="faq.html">FAQ</a></li></ul><h3 id="Navigation-Documentation"><a shape="rect" href="documentation.html">Documentation</a></h3><ul class="alternate"><li><a shape="rect" href="user-guide.html">User Guide</a></li><li><a shape="rect" href="manual.html">Manual</a></li><li><a shape="rect" href="books.html">Books</a></li><li><a shape="rect" href="tutorials.html">Tutorials</a></li><li><a shape="rect" href="examples.html">Examples</a></li><li><a shape="rect" href="cookbook.html">Cookbook</a></li><li><a shape="rect" href="architecture.html">Architecture</a></li><li><a shape="rect" href="enterprise-integration-patterns.html">Enterprise
  Integration Patterns</a></li><li><a shape="rect" href="dsl.html">DSL</a></li><li><a shape="rect" href="components.html">Components</a></li><li><a shape="rect" href="data-format.html">Data Format</a></li><li><a shape="rect" href="languages.html">Languages</a></li><li><a shape="rect" href="security.html">Security</a></li><li><a shape="rect" href="security-advisories.html">Security Advisories</a></li></ul><h3 id="Navigation-Search">Search</h3><form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>
     <input type="hidden" name="cx" value="007878419884033443453:m5nhvy4hmyq">
     <input type="hidden" name="ie" value="UTF-8">
@@ -136,7 +136,7 @@
     <input type="submit" name="sa" value="Search">
   </div>
 </form>
-<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script><h3 id="Navigation-Communityhttps://cwiki.apache.org/confluence/pages/viewpage.action?pageId=49115"><a shape="rect" href="community.html">Community</a></h3><ul class="alternate"><li><a shape="rect" href="support.html">Support</a></li><li><a shape="rect" href="contributing.html">Contributing</a></li><li><a shape="rect" href="discussion-forums.html">Discussion Forums</a></li><li><a shape="rect" href="mailing-lists.html">Mailing Lists</a></li><li><a shape="rect" href="user-stories.html">User Stories</a></li><li><a shape="rect" href="news.html">News</a></li><li><a shape="rect" href="articles.html">Articles</a></li><li><a shape="rect" href="site.html">Site</a></li><li><a shape="rect" href="team.html">Team</a></li><li><a shape="rect" class="external-link" href="http://camel-extra.googlecode.com/" rel="nofollow">Camel Extra</a></li></ul><h3 id="Navigation-Developershttps://cwi
 ki.apache.org/confluence/pages/viewpage.action?pageId=49124"><a shape="rect" href="developers.html">Developers</a></h3><ul class="alternate"><li><a shape="rect" href="developers.html">Developer Guide</a></li><li><a shape="rect" href="source.html">Source</a></li><li><a shape="rect" href="building.html">Building</a></li><li><a shape="rect" href="javadoc.html">JavaDoc</a></li><li><a shape="rect" href="irc-room.html">IRC Room</a></li></ul><h3 id="Navigation-ApacheSoftwareFoundation">Apache Software Foundation</h3><ul class="alternate"><li><a shape="rect" class="external-link" href="http://www.apache.org/licenses/">License</a></li><li><a shape="rect" class="external-link" href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li><li><a shape="rect" class="external-link" href="http://www.apache.org/foundation/thanks.html">Thanks</a></li><li><a shape="rect" class="external-link" href="http://www.apache.org/security/">Security</a></li></ul></div>
+<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script><h3 id="Navigation-Community"><a shape="rect" href="community.html">Community</a></h3><ul class="alternate"><li><a shape="rect" href="support.html">Support</a></li><li><a shape="rect" href="contributing.html">Contributing</a></li><li><a shape="rect" href="discussion-forums.html">Discussion Forums</a></li><li><a shape="rect" href="mailing-lists.html">Mailing Lists</a></li><li><a shape="rect" href="user-stories.html">User Stories</a></li><li><a shape="rect" href="news.html">News</a></li><li><a shape="rect" href="articles.html">Articles</a></li><li><a shape="rect" href="site.html">Site</a></li><li><a shape="rect" href="team.html">Team</a></li><li><a shape="rect" class="external-link" href="http://camel-extra.googlecode.com/" rel="nofollow">Camel Extra</a></li></ul><h3 id="Navigation-Developers"><a shape="rect" href="developers.html">Developers</a></h3><ul class="alternate"
 ><li><a shape="rect" href="developers.html">Developer Guide</a></li><li><a shape="rect" href="source.html">Source</a></li><li><a shape="rect" href="building.html">Building</a></li><li><a shape="rect" href="javadoc.html">JavaDoc</a></li><li><a shape="rect" href="irc-room.html">IRC Room</a></li></ul><h3 id="Navigation-ApacheSoftwareFoundation">Apache Software Foundation</h3><ul class="alternate"><li><a shape="rect" class="external-link" href="http://www.apache.org/licenses/">License</a></li><li><a shape="rect" class="external-link" href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li><li><a shape="rect" class="external-link" href="http://www.apache.org/foundation/thanks.html">Thanks</a></li><li><a shape="rect" class="external-link" href="http://www.apache.org/security/">Security</a></li></ul></div>
                 <!-- NavigationBar -->
             </div>
           </div>



Mime
View raw message