You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bu...@apache.org on 2013/01/19 10:18:34 UTC
svn commit: r847264 - in /websites/production/camel/content: apns.html
cache/main.pageCache
Author: buildbot
Date: Sat Jan 19 09:18:34 2013
New Revision: 847264
Log:
Production update by buildbot for camel
Modified:
websites/production/camel/content/apns.html
websites/production/camel/content/cache/main.pageCache
Modified: websites/production/camel/content/apns.html
==============================================================================
--- websites/production/camel/content/apns.html (original)
+++ websites/production/camel/content/apns.html Sat Jan 19 09:18:34 2013
@@ -133,6 +133,10 @@ apns:consumer[?options]
<p>You can append query options to the URI in the following format, <tt>?option=value&option=value&...</tt></p>
+<h4><a shape="rect" name="APNS-Component"></a>Component</h4>
+
+<p>The <tt>ApnsComponent</tt> must be configured with a <tt>com.notnoop.apns.ApnsService</tt>. The service can be created and configured using the <tt>org.apache.camel.component.apns.factory.ApnsServiceFactory</tt>. See further below for an example. And as well in the <a shape="rect" class="external-link" href="https://svn.apache.org/repos/asf/camel/trunk/components/camel-apns/">test source code</a>.</p>
+
<h3><a shape="rect" name="APNS-Exchangedataformat"></a>Exchange data format</h3>
<p>When Camel will fetch feedback data corresponding to inactive devices, it will retrieve a List of InactiveDevice objects. Each InactiveDevice object of the retrieved list will be setted as the In body, and then processed by the consumer endpoint.</p>
@@ -171,9 +175,8 @@ apns:consumer[?options]
<span class="code-tag"><span class="code-comment"><!-- <property name=<span class="code-quote">"gatewayPort"</span> value=<span class="code-quote">"7654"</span> /></span> --></span>
<span class="code-tag"><span class="code-comment"><!-- Declaration of certificate used --></span></span>
- <span class="code-tag"><property name=<span class="code-quote">"certificatePath"</span> value=<span class="code-quote">"src/test/resources/certificate.p12"</span> /></span>
- <span class="code-tag"><span class="code-comment"><!-- In case you wants to load certificate from classpath: --></span></span>
- <span class="code-tag"><span class="code-comment"><!-- <property name=<span class="code-quote">"certificatePath"</span> value=<span class="code-quote">"classpath:/certificate.p12"</span> /></span> --></span>
+ <span class="code-tag"><span class="code-comment"><!-- from Camel 2.11 onwards you can use prefix: classpath:, file: to refer to load the certificate from classpath or file. Default it classpath --></span></span>
+ <span class="code-tag"><property name=<span class="code-quote">"certificatePath"</span> value=<span class="code-quote">"certificate.p12"</span> /></span>
<span class="code-tag"><property name=<span class="code-quote">"certificatePassword"</span> value=<span class="code-quote">"MyCertPassword"</span> /></span>
<span class="code-tag"><span class="code-comment"><!-- Optional connection strategy - By Default: No need to configure --></span></span>
Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.