camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r847264 - in /websites/production/camel/content: apns.html cache/main.pageCache
Date Sat, 19 Jan 2013 09:18:34 GMT
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&amp;option=value&amp;...</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">&lt;!-- &lt;property
name=<span class="code-quote">"gatewayPort"</span> value=<span class="code-quote">"7654"</span>
/&gt;</span> --&gt;</span>
 
 		<span class="code-tag"><span class="code-comment">&lt;!-- Declaration of
certificate used --&gt;</span></span>
-		<span class="code-tag">&lt;property name=<span class="code-quote">"certificatePath"</span>
value=<span class="code-quote">"src/test/resources/certificate.p12"</span> /&gt;</span>
-		<span class="code-tag"><span class="code-comment">&lt;!-- In case you wants
to load certificate from classpath: --&gt;</span></span>
-		<span class="code-tag"><span class="code-comment">&lt;!-- &lt;property
name=<span class="code-quote">"certificatePath"</span> value=<span class="code-quote">"classpath:/certificate.p12"</span>
/&gt;</span> --&gt;</span>
+                <span class="code-tag"><span class="code-comment">&lt;!--
from Camel 2.11 onwards you can use prefix: classpath:, file: to refer to load the certificate
from classpath or file. Default it classpath --&gt;</span></span>
+		<span class="code-tag">&lt;property name=<span class="code-quote">"certificatePath"</span>
value=<span class="code-quote">"certificate.p12"</span> /&gt;</span>
 		<span class="code-tag">&lt;property name=<span class="code-quote">"certificatePassword"</span>
value=<span class="code-quote">"MyCertPassword"</span> /&gt;</span>
 
 		<span class="code-tag"><span class="code-comment">&lt;!-- Optional connection
strategy - By Default: No need to configure --&gt;</span></span>

Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.



Mime
View raw message