camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r894496 - in /websites/production/camel/content: cache/main.pageCache using-osgi-blueprint-with-camel.html
Date Fri, 17 Jan 2014 10:20:41 GMT
Author: buildbot
Date: Fri Jan 17 10:20:41 2014
New Revision: 894496

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/using-osgi-blueprint-with-camel.html

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

Modified: websites/production/camel/content/using-osgi-blueprint-with-camel.html
==============================================================================
--- websites/production/camel/content/using-osgi-blueprint-with-camel.html (original)
+++ websites/production/camel/content/using-osgi-blueprint-with-camel.html Fri Jan 17 10:20:41
2014
@@ -84,19 +84,8 @@
 	<tbody>
         <tr>
         <td valign="top" width="100%">
-<div class="wiki-content maincontent"><h2 id="UsingOSGiblueprintwithCamel-UsingOSGiblueprintwithCamel">Using
OSGi blueprint with Camel</h2>
-<p><strong>Available as of Camel 2.4</strong></p>
-
-<p>A custom XML namespace for Blueprint has been created to let you leverage the nice
XML dialect.  Given Blueprint custom namespaces are not standardized yet, this namespace can
only be used on the <a shape="rect" class="external-link" href="http://incubator.apache.org/aries/">Apache
Aries</a> Blueprint implementation, which is the one used by <a shape="rect" class="external-link"
href="http://karaf.apache.org">Apache Karaf</a>.</p>
-
-<h3 id="UsingOSGiblueprintwithCamel-Overview">Overview</h3>
-
-<p>The XML schema is mostly the same as the one for Spring, so all the xml snippets
throughout the documentation referring to Spring XML also apply to Blueprint routes.</p>
-
-<p>Here is a very simple route definition using blueprint:</p>
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent
pdl">
-<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
-&lt;blueprint xmlns=&quot;http://www.osgi.org/xmlns/blueprint/v1.0.0&quot;&gt;
+<div class="wiki-content maincontent"><h2 id="UsingOSGiblueprintwithCamel-UsingOSGiblueprintwithCamel">Using
OSGi blueprint with Camel</h2><p><strong>Available as of Camel 2.4</strong></p><p>A
custom XML namespace for Blueprint has been created to let you leverage the nice XML dialect.
Given Blueprint custom namespaces are not standardized yet, this namespace can only be used
on the <a shape="rect" class="external-link" href="http://incubator.apache.org/aries/">Apache
Aries</a> Blueprint implementation, which is the one used by <a shape="rect" class="external-link"
href="http://karaf.apache.org">Apache Karaf</a>.</p><h3 id="UsingOSGiblueprintwithCamel-Overview">Overview</h3><p>The
XML schema is mostly the same as the one for Spring, so all the xml snippets throughout the
documentation referring to Spring XML also apply to Blueprint routes.</p><p>Here
is a very simple route definition using blueprint:</p><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent p
 anelContent pdl">
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;blueprint
xmlns=&quot;http://www.osgi.org/xmlns/blueprint/v1.0.0&quot;&gt;
 
     &lt;camelContext xmlns=&quot;http://camel.apache.org/schema/blueprint&quot;&gt;
         &lt;route&gt;
@@ -107,21 +96,7 @@
 
 &lt;/blueprint&gt;
 ]]></script>
-</div></div>
-
-<p>There are a few limitations at this point about the supported xml elements (compared
to the Spring xml syntax):</p>
-<ul><li>beanPostProcessor are specific to Spring and aren't allowed</li></ul>
-
-
-<p>However, using blueprint when you deploy your applications in an OSGi enviroment
has several advantages:</p>
-<ul><li>when upgrading to a new camel version, you don't have to change the namespace,
as the correct version will be selected based on the camel packages that are imported by your
bundle</li><li>no startup ordering issue with respect to the custom namespaces
and your bundles</li><li>you can use Blueprint property placeholders, see more
at <a shape="rect" href="using-propertyplaceholder.html">Using PropertyPlaceholder</a></li></ul>
-
-
-<h3 id="UsingOSGiblueprintwithCamel-Usingcamel-blueprint">Using camel-blueprint</h3>
-
-<p>To leverage camel-blueprint in OSGi, you only need the Aries Blueprint bundle and
the camel-blueprint bundle, in addition to camel-core and its dependencies.</p>
-
-<p>If you use Karaf, you can use the feature named <code>camel-blueprint</code>
which will install all the required bundles.</p></div>
+</div></div><p>There are a few limitations at this point about the supported
xml elements (compared to the Spring xml syntax):</p><ul><li>beanPostProcessor
are specific to Spring and aren't allowed</li></ul><p>However, using blueprint
when you deploy your applications in an OSGi enviroment has several advantages:</p><ul><li>when
upgrading to a new camel version, you don't have to change the namespace, as the correct version
will be selected based on the camel packages that are imported by your bundle</li><li>no
startup ordering issue with respect to the custom namespaces and your bundles</li><li>you
can use Blueprint property placeholders, see more at <a shape="rect" href="using-propertyplaceholder.html">Using
PropertyPlaceholder</a></li></ul><h3 id="UsingOSGiblueprintwithCamel-Usingcamel-blueprint">Using
camel-blueprint</h3><p>To leverage camel-blueprint in OSGi, you only need the
Aries Blueprint bundle and the camel-blueprint bundle, in addition to camel-core and its dependencies.
 </p><p>If you use Karaf, you can use the feature named <code>camel-blueprint</code>
which will install all the required bundles.</p></div>
         </td>
         <td valign="top">
           <div class="navigation">



Mime
View raw message