Author: buildbot Date: Tue Aug 7 10:17:28 2012 New Revision: 828228 Log: Production update by buildbot for camel
Modified: websites/production/camel/content/cache/main.pageCache websites/production/camel/content/writing-components.html Modified: websites/production/camel/content/cache/main.pageCache ============================================================================== Binary files - no diff available. Modified: websites/production/camel/content/writing-components.html ============================================================================== --- websites/production/camel/content/writing-components.html (original) +++ websites/production/camel/content/writing-components.html Tue Aug 7 10:17:28 2012 @@ -81,7 +81,7 @@ <p>Here are the main steps to writing a component.</p> -<ul><li>write a POJO which implements the <a shape="rect" class="external-link" href="http://activemq.apache.org/camel/maven/current/camel-core/apidocs/org/apache/camel/Component.html">Component</a> interface. The simplest approach is just to derive from <a shape="rect" class="external-link" href="http://activemq.apache.org/camel/maven/current/camel-core/apidocs/org/apache/camel/impl/DefaultComponent.html">DefaultComponent</a></li><li>to support auto-discovery of your component add a file to <em>META-INF/services/org/apache/camel/component/FOO</em> where FOO is the URI scheme for your component and any related endpoints created on the fly</li></ul> +<ul><li>write a POJO which implements the <a shape="rect" class="external-link" href="http://activemq.apache.org/camel/maven/current/camel-core/apidocs/org/apache/camel/Component.html">Component</a> interface. The simplest approach is just to derive from <a shape="rect" class="external-link" href="http://activemq.apache.org/camel/maven/current/camel-core/apidocs/org/apache/camel/impl/DefaultComponent.html">DefaultComponent</a></li><li>to support auto-discovery of your component add a file to <em>META-INF/services/org/apache/camel/component/FOO</em> where FOO is the URI scheme for your component and any related endpoints created on the fly. The latter file should contain the definition of the component class. For example if your component is implemented by the <em>com.example.CustomComponent</em> class, the service file should contain the following line - <em>class=com.example.CustomComponent</em> .</li></ul> <p>Users can then either explicitly create your component, configure it and register with a <a shape="rect" class="external-link" href="http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/CamelContext.html">CamelContext</a> or users can use a URI which auto-creates your component.</p>