You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ch...@apache.org on 2006/11/05 22:01:39 UTC
svn commit: r471528 - in /incubator/servicemix/site/main: cache.html
documentation.html drools.html home.html lightweight-components.html
Author: chirino
Date: Sun Nov 5 13:01:38 2006
New Revision: 471528
URL: http://svn.apache.org/viewvc?view=rev&rev=471528
Log:
Latest export from confluence
Modified:
incubator/servicemix/site/main/cache.html
incubator/servicemix/site/main/documentation.html
incubator/servicemix/site/main/drools.html
incubator/servicemix/site/main/home.html
incubator/servicemix/site/main/lightweight-components.html
Modified: incubator/servicemix/site/main/cache.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/main/cache.html?view=diff&rev=471528&r1=471527&r2=471528
==============================================================================
--- incubator/servicemix/site/main/cache.html (original)
+++ incubator/servicemix/site/main/cache.html Sun Nov 5 13:01:38 2006
@@ -36,7 +36,7 @@
<TR>
<TD align="left" valign="middle" nowrap="">
<DIV id="site-breadcrumbs">
-<A href="home.html" title="ServiceMix">ServiceMix</A> > <A href="home.html" title="Home">Home</A> > <A href="documentation.html" title="Documentation">Documentation</A> > <A href="components.html" title="Components">Components</A> > <A href="lightweight-components.html" title="Lightweight components">Lightweight components</A> > <A href="" title="Cache">Cache</A>
+<A href="home.html" title="ServiceMix">ServiceMix</A> > <A href="home.html" title="Home">Home</A> > <A href="documentation.html" title="Documentation">Documentation</A> > <A href="components-list.html" title="Components list">Components list</A> > <A href="lightweight-components.html" title="Lightweight components">Lightweight components</A> > <A href="" title="Cache">Cache</A>
</DIV>
</TD>
<TD align="right" valign="middle" nowrap="">
@@ -118,7 +118,24 @@
<P>To use the cache component you need to specify an expression to decide which key to use in the cache. This could be a simple property on the message or message exchange or it could be an XPath expression to extract some primary key from inside the XML document.</P>
<P>The following example shows how to configure the cache component. In this case we're using a <SPAN class="nobr"><A href="http://jaxen.org/" title="Visit page outside Confluence" rel="nofollow">Jaxen<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> based XPath evaluation; though there are other XPath expression implementations such as JAXP 1.3 (for Java 5 or later) and XMLBeans.</P>
-</DIV>
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-xml"><SPAN class="code-tag"><activationSpec componentName=<SPAN class="code-quote">"myService"</SPAN> service=<SPAN class="code-quote">"foo:myService"</SPAN> destinationService=<SPAN class="code-quote">"foo:myServiceImpl"</SPAN>></SPAN>
+ <SPAN class="code-tag"><component></SPAN><SPAN class="code-tag"><bean xmlns=<SPAN class="code-quote">"" class="</SPAN>org.apache.servicemix.components.cache.CacheComponent"></SPAN>
+ <SPAN class="code-tag"><SPAN class="code-comment"><!-- we could use a JCache here if we want --></SPAN></SPAN>
+ <SPAN class="code-tag"><property name=<SPAN class="code-quote">"cache"</SPAN>></SPAN>
+ <SPAN class="code-tag"><bean class=<SPAN class="code-quote">"org.apache.servicemix.components.cache.LRUCache"</SPAN>></SPAN>
+ <SPAN class="code-tag"><constructor-arg value=<SPAN class="code-quote">"100"</SPAN>/></SPAN>
+ <SPAN class="code-tag"></bean></SPAN>
+ <SPAN class="code-tag"></property></SPAN>
+
+ <SPAN class="code-tag"><SPAN class="code-comment"><!-- lets define the cache key expression --></SPAN></SPAN>
+ <SPAN class="code-tag"><property name=<SPAN class="code-quote">"keyExpression"</SPAN>></SPAN>
+ <SPAN class="code-tag"><bean class=<SPAN class="code-quote">"org.apache.servicemix.expression.JaxenStringXPathExpression"</SPAN>></SPAN>
+ <SPAN class="code-tag"><constructor-arg value=<SPAN class="code-quote">"/*/@id"</SPAN>/></SPAN>
+ <SPAN class="code-tag"></bean></SPAN>
+ <SPAN class="code-tag"></property></SPAN><SPAN class="code-tag"></bean></SPAN>
+<SPAN class="code-tag"></component></SPAN><SPAN class="code-tag"></activationSpec></SPAN></PRE>
+</DIV></DIV></DIV>
</DIV>
</TD>
@@ -128,8 +145,8 @@
</DIV>
<DIV id="site-footer">
Added by <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan">James Strachan</A>,
- last edited by <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan">James Strachan</A> on May 22, 2006
- (<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=1917&originalId=5941">view change</A>)
+ last edited by <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=gnodet">Guillaume Nodet</A> on Nov 08, 2006
+ (<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=1917&originalId=14792">view change</A>)
(<A href="http://goopen.org/confluence/pages/editpage.action?pageId=1917">edit page</A>)
</DIV>
Modified: incubator/servicemix/site/main/documentation.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/main/documentation.html?view=diff&rev=471528&r1=471527&r2=471528
==============================================================================
--- incubator/servicemix/site/main/documentation.html (original)
+++ incubator/servicemix/site/main/documentation.html Sun Nov 5 13:01:38 2006
@@ -114,7 +114,7 @@
<div class="pagetitle">Documentation</div>
-->
<DIV class="wiki-content"><P>Please have a look at <A href="ideas-concerning-documentation.html" title="Ideas concerning documentation">Ideas concerning documentation</A> for contribution.</P>
-<UL><LI><A href="architecture.html" title="Architecture">Architecture</A><UL><LI><A href="extending-eclipse-wtp-to-support-jbi.html" title="Extending Eclipse WTP to support JBI">Extending Eclipse WTP to support JBI</A></LI><LI><A href="how-stuff-works.html" title="How Stuff Works">How Stuff Works</A></LI><LI><A href="marshallers.html" title="Marshallers">Marshallers</A></LI></UL></LI><LI><A href="components-list.html" title="Components list">Components list</A><UL><LI><A href="component-matrix.html" title="Component Matrix">Component Matrix</A></LI><LI><A href="jbi-components.html" title="JBI Components">JBI Components</A><UL><LI><A href="servicemix-bean.html" title="servicemix-bean">servicemix-bean</A></LI><LI><A href="servicemix-bpe.html" title="servicemix-bpe">servicemix-bpe</A></LI><LI><A href="servicemix-eip.html" title="servicemix-eip">servicemix-eip</A></LI><LI><A href="servicemix-file.html" title="servicemix-file">servicemix-file</A></LI><LI><A href="servicemix-ftp.h
tml" title="servicemix-ftp">servicemix-ftp</A></LI><LI><A href="servicemix-http.html" title="servicemix-http">servicemix-http</A></LI><LI><A href="servicemix-jms.html" title="servicemix-jms">servicemix-jms</A></LI><LI><A href="servicemix-jsr181.html" title="servicemix-jsr181">servicemix-jsr181</A></LI><LI><A href="servicemix-lwcontainer.html" title="servicemix-lwcontainer">servicemix-lwcontainer</A></LI><LI><A href="servicemix-wsn2005-old.html" title="servicemix-wsn2005 old">servicemix-wsn2005 old</A></LI><LI><A href="servicemix-xmpp.html" title="servicemix-xmpp">servicemix-xmpp</A><UL><LI><A href="xmpp-integration-testing.html" title="XMPP Integration Testing">XMPP Integration Testing</A></LI></UL></LI></UL></LI><LI><A href="lightweight-components.html" title="Lightweight components">Lightweight components</A><UL><LI><A href="cache.html" title="Cache">Cache</A></LI><LI><A href="component-helper-classes.html" title="Component helper classes">Component helper classes</A></LI>
<LI><A href="drools.html" title="Drools">Drools</A></LI><LI><A href="email.html" title="Email">Email</A><UL><LI><A href="expressions.html" title="Expressions">Expressions</A></LI></UL></LI><LI><A href="file.html" title="File">File</A></LI><LI><A href="ftp.html" title="FTP">FTP</A></LI><LI><A href="groovy.html" title="Groovy">Groovy</A></LI><LI><A href="http.html" title="HTTP">HTTP</A></LI><LI><A href="jabber.html" title="Jabber">Jabber</A></LI><LI><A href="jax-ws.html" title="JAX WS">JAX WS</A></LI><LI><A href="jca.html" title="JCA">JCA</A></LI><LI><A href="jms.html" title="JMS">JMS</A></LI><LI><A href="pojo-support.html" title="POJO support">POJO support</A></LI><LI><A href="quartz.html" title="Quartz">Quartz</A> — <SPAN class="smalltext">The QuartzComponent integrates with the <SPAN class="nobr"><A href="http://www.opensymphony.com/quartz/" title="Visit page outside Confluence" rel="nofollow">Quartz<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images
/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> open source scheduler library. This allows to trigger service invocations at timed intervals to perform periodic tasks.</SPAN></LI><LI><A href="reflection.html" title="Reflection">Reflection</A></LI><LI><A href="rss.html" title="RSS">RSS</A></LI><LI><A href="saaj.html" title="SAAJ">SAAJ</A></LI><LI><A href="scripting.html" title="Scripting">Scripting</A></LI><LI><A href="validation.html" title="Validation">Validation</A></LI><LI><A href="vfs.html" title="VFS">VFS</A></LI><LI><A href="ws-notification.html" title="WS Notification">WS Notification</A><UL><LI><A href="ws-notification-xmlbeans.html" title="WS Notification XMLBeans">WS Notification XMLBeans</A></LI></UL></LI><LI><A href="wsif.html" title="WSIF">WSIF</A></LI><LI><A href="xfire.html" title="XFire">XFire</A></LI><LI><A href="xslt.html" title="XSLT">XSLT</A></LI><LI><A href="xsql.html" title="XSQL">XSQL</A></LI></UL></LI><L
I><A href="third-party-components.html" title="Third party components">Third party components</A><UL><LI><A href="bpel.html" title="BPEL">BPEL</A></LI></UL></LI></UL></LI><LI><A href="configuration-examples.html" title="Configuration examples">Configuration examples</A></LI><LI><A href="features.html" title="Features">Features</A><UL><LI><A href="beanflow.html" title="BeanFlow">BeanFlow</A><UL><LI><A href="beanflow-patterns.html" title="BeanFlow Patterns">BeanFlow Patterns</A></LI></UL></LI><LI><A href="client-api.html" title="Client API">Client API</A></LI><LI><A href="routing.html" title="Routing">Routing</A><UL><LI><A href="publish-and-subscribe-routing.html" title="Publish and Subscribe Routing">Publish and Subscribe Routing</A></LI><LI><A href="publish-subscribe-routing.html" title="Publish Subscribe Routing">Publish Subscribe Routing</A></LI><LI><A href="xpath-router.html" title="XPath Router">XPath Router</A></LI></UL></LI><LI><A href="running.html" title="Running">Ru
nning</A></LI><LI><A href="transformation.html" title="Transformation">Transformation</A></LI><LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI></UL></LI><LI><A href="guides.html" title="Guides">Guides</A><UL><LI><A href="classloaders.html" title="Classloaders">Classloaders</A></LI><LI><A href="clustering.html" title="Clustering">Clustering</A></LI><LI><A href="configuration.html" title="Configuration">Configuration</A></LI><LI><A href="getting-started-guide.html" title="Getting Started Guide">Getting Started Guide</A><UL><LI><A href="getting-started-for-servicemix-1x.html" title="Getting Started for ServiceMix 1.x">Getting Started for ServiceMix 1.x</A></LI><LI><A href="getting-started-for-servicemix-2x.html" title="Getting Started for ServiceMix 2.x">Getting Started for ServiceMix 2.x</A></LI></UL></LI><LI><A href="load-balancing.html" title="Load Balancing">Load Balancing</A></LI><LI><A href="management.html" title="Management">Management</A><UL
><LI><A href="ant-tasks.html" title="Ant Tasks">Ant Tasks</A><UL><LI><A href="deployserviceassemblytask.html" title="DeployServiceAssemblyTask">DeployServiceAssemblyTask</A></LI><LI><A href="installcomponenttask.html" title="InstallComponentTask">InstallComponentTask</A></LI><LI><A href="installsharedlibrarytask.html" title="InstallSharedLibraryTask">InstallSharedLibraryTask</A></LI><LI><A href="listbindingcomponentstask.html" title="ListBindingComponentsTask">ListBindingComponentsTask</A></LI><LI><A href="listserviceassembliestask.html" title="ListServiceAssembliesTask">ListServiceAssembliesTask</A></LI><LI><A href="listserviceenginestask.html" title="ListServiceEnginesTask">ListServiceEnginesTask</A></LI><LI><A href="listsharedlibrariestask.html" title="ListSharedLibrariesTask">ListSharedLibrariesTask</A></LI><LI><A href="shutdowncomponenttask.html" title="ShutDownComponentTask">ShutDownComponentTask</A></LI><LI><A href="shutdownserviceassemblytask.html" title="ShutDownSer
viceAssemblyTask">ShutDownServiceAssemblyTask</A></LI><LI><A href="startcomponenttask.html" title="StartComponentTask">StartComponentTask</A></LI><LI><A href="startserviceassemblytask.html" title="StartServiceAssemblyTask">StartServiceAssemblyTask</A></LI><LI><A href="stopcomponenttask.html" title="StopComponentTask">StopComponentTask</A></LI><LI><A href="stopserviceassemblytask.html" title="StopServiceAssemblyTask">StopServiceAssemblyTask</A></LI><LI><A href="undeployserviceassemblytask.html" title="UndeployServiceAssemblyTask">UndeployServiceAssemblyTask</A></LI><LI><A href="uninstallcomponenttask.html" title="UninstallComponentTask">UninstallComponentTask</A></LI><LI><A href="uninstallsharedlibrarytask.html" title="UninstallSharedLibraryTask">UninstallSharedLibraryTask</A></LI></UL></LI><LI><A href="component-mbean.html" title="Component MBean">Component MBean</A></LI><LI><A href="container-mbean.html" title="Container MBean">Container MBean</A></LI><LI><A href="environme
nt-context-mbean.html" title="Environment Context MBean">Environment Context MBean</A></LI><LI><A href="jmx-console.html" title="JMX Console">JMX Console</A></LI><LI><A href="life-cycle-mbean.html" title="Life Cycle MBean">Life Cycle MBean</A></LI><LI><A href="message-flow-mbean.html" title="Message Flow MBean">Message Flow MBean</A><UL><LI><A href="seda-flow-mbean.html" title="Seda Flow MBean">Seda Flow MBean</A></LI></UL></LI><LI><A href="nmr-broker-mbean.html" title="NMR Broker MBean">NMR Broker MBean</A></LI><LI><A href="specifications.html" title="Specifications">Specifications</A></LI></UL></LI><LI><A href="nmr-flows.html" title="NMR Flows">NMR Flows</A></LI><LI><A href="servicemix-common.html" title="servicemix-common">servicemix-common</A><UL><LI><A href="notes-on-creating-jbi-component-using-maven2.html" title="Notes on Creating JBI Component using maven2">Notes on Creating JBI Component using maven2</A></LI></UL></LI><LI><A href="transactions.html" title="Transacti
ons">Transactions</A></LI></UL></LI><LI><A href="integration.html" title="Integration">Integration</A><UL><LI><A href="geronimo-integration.html" title="Geronimo integration">Geronimo integration</A><UL><LI><A href="geronimo-10-and-servicemix-2x-integration.html" title="Geronimo 1.0 and ServiceMix 2.x Integration">Geronimo 1.0 and ServiceMix 2.x Integration</A></LI></UL></LI><LI><A href="jboss-deployer.html" title="JBoss Deployer">JBoss Deployer</A><UL><LI><A href="jboss-deployer-for-20.html" title="JBoss Deployer for 2.0">JBoss Deployer for 2.0</A></LI></UL></LI><LI><A href="jndi-configuration.html" title="JNDI configuration">JNDI configuration</A></LI><LI><A href="jonas-integration.html" title="JOnAS Integration">JOnAS Integration</A></LI><LI><A href="spring-support.html" title="Spring support">Spring support</A></LI><LI><A href="tomcat-integration.html" title="Tomcat Integration">Tomcat Integration</A><UL><LI><A href="tomcat-integration-for-servicemix-11-and-20.html" titl
e="Tomcat Integration for ServiceMix 1.1 and 2.0">Tomcat Integration for ServiceMix 1.1 and 2.0</A></LI><LI><A href="tomcat-integration-for-servicemix-201.html" title="Tomcat Integration for ServiceMix 2.0.1">Tomcat Integration for ServiceMix 2.0.1</A></LI></UL></LI><LI><A href="war-deployment.html" title="WAR Deployment">WAR Deployment</A></LI></UL></LI><LI><A href="javadocs.html" title="JavaDocs">JavaDocs</A></LI><LI><A href="references.html" title="References">References</A><UL><LI><A href="glossary.html" title="Glossary">Glossary</A><UL><LI><A href="jbi.html" title="JBI">JBI</A></LI><LI><A href="jcache.html" title="JCache">JCache</A></LI><LI><A href="nmr.html" title="NMR">NMR</A></LI></UL></LI><LI><A href="xml-reference.html" title="Xml Reference">Xml Reference</A></LI></UL></LI><LI><A href="resources.html" title="Resources">Resources</A></LI><LI><A href="servicemix-31-features.html" title="ServiceMix 3.1 features">ServiceMix 3.1 features</A><UL><LI><A href="servicemix-s
axon.html" title="servicemix-saxon">servicemix-saxon</A></LI><LI><A href="thread-pools.html" title="Thread pools">Thread pools</A></LI></UL></LI><LI><A href="tooling-and-utilities.html" title="Tooling and Utilities">Tooling and Utilities</A><UL><LI><A href="cimero-editor.html" title="CIMERO Editor">CIMERO Editor</A></LI><LI><A href="console.html" title="Console">Console</A></LI><LI><A href="eclipse-plugin.html" title="Eclipse plugin">Eclipse plugin</A></LI><LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A><UL><LI><A href="full-description.html" title="Full Description">Full Description</A></LI><LI><A href="maven-1x-jbi-plugin.html" title="Maven 1.x JBI Plugin">Maven 1.x JBI Plugin</A></LI><LI><A href="working-with-components.html" title="Working with Components">Working with Components</A></LI><LI><A href="working-with-service-assemblies.html" title="Working with Service Assemblies">Working with Service Assemblies</A></LI><LI><A href="working-w
ith-service-units.html" title="Working with Service Units">Working with Service Units</A></LI><LI><A href="working-with-shared-libraries.html" title="Working with Shared Libraries">Working with Shared Libraries</A></LI></UL></LI><LI><A href="maven-sar-plugin.html" title="Maven SAR plugin">Maven SAR plugin</A></LI></UL></LI><LI><A href="tutorials.html" title="Tutorials">Tutorials</A><UL><LI><A href="creating-a-protocol-bridge.html" title="Creating a protocol bridge">Creating a protocol bridge</A></LI><LI><A href="creating-a-standard-jbi-component.html" title="Creating a Standard JBI Component">Creating a Standard JBI Component</A></LI><LI><A href="deploying-lightweight-components-tutorial.html" title="Deploying Lightweight Components Tutorial">Deploying Lightweight Components Tutorial</A></LI><LI><A href="spring-client-toolkit.html" title="Spring Client Toolkit">Spring Client Toolkit</A></LI></UL></LI><LI><A href="users-guide.html" title="Users Guide">Users Guide</A></LI><LI>
<A href="xml-schemas.html" title="Xml schemas">Xml schemas</A></LI></UL></DIV>
+<UL><LI><A href="architecture.html" title="Architecture">Architecture</A><UL><LI><A href="extending-eclipse-wtp-to-support-jbi.html" title="Extending Eclipse WTP to support JBI">Extending Eclipse WTP to support JBI</A></LI><LI><A href="how-stuff-works.html" title="How Stuff Works">How Stuff Works</A></LI><LI><A href="marshallers.html" title="Marshallers">Marshallers</A></LI></UL></LI><LI><A href="components-list.html" title="Components list">Components list</A><UL><LI><A href="component-matrix.html" title="Component Matrix">Component Matrix</A></LI><LI><A href="jbi-components.html" title="JBI Components">JBI Components</A><UL><LI><A href="servicemix-bean.html" title="servicemix-bean">servicemix-bean</A></LI><LI><A href="servicemix-bpe.html" title="servicemix-bpe">servicemix-bpe</A></LI><LI><A href="servicemix-eip.html" title="servicemix-eip">servicemix-eip</A></LI><LI><A href="servicemix-file.html" title="servicemix-file">servicemix-file</A></LI><LI><A href="servicemix-ftp.h
tml" title="servicemix-ftp">servicemix-ftp</A></LI><LI><A href="servicemix-http.html" title="servicemix-http">servicemix-http</A></LI><LI><A href="servicemix-jms.html" title="servicemix-jms">servicemix-jms</A></LI><LI><A href="servicemix-jsr181.html" title="servicemix-jsr181">servicemix-jsr181</A></LI><LI><A href="servicemix-lwcontainer.html" title="servicemix-lwcontainer">servicemix-lwcontainer</A></LI><LI><A href="servicemix-wsn2005-old.html" title="servicemix-wsn2005 old">servicemix-wsn2005 old</A></LI><LI><A href="servicemix-xmpp.html" title="servicemix-xmpp">servicemix-xmpp</A><UL><LI><A href="xmpp-integration-testing.html" title="XMPP Integration Testing">XMPP Integration Testing</A></LI></UL></LI></UL></LI><LI><A href="lightweight-components.html" title="Lightweight components">Lightweight components</A><UL><LI><A href="cache.html" title="Cache">Cache</A></LI><LI><A href="component-helper-classes.html" title="Component helper classes">Component helper classes</A></LI>
<LI><A href="drools.html" title="Drools">Drools</A></LI><LI><A href="email.html" title="Email">Email</A><UL><LI><A href="expressions.html" title="Expressions">Expressions</A></LI></UL></LI><LI><A href="file.html" title="File">File</A></LI><LI><A href="ftp.html" title="FTP">FTP</A></LI><LI><A href="groovy.html" title="Groovy">Groovy</A></LI><LI><A href="http.html" title="HTTP">HTTP</A></LI><LI><A href="jabber.html" title="Jabber">Jabber</A></LI><LI><A href="jax-ws.html" title="JAX WS">JAX WS</A></LI><LI><A href="jca.html" title="JCA">JCA</A></LI><LI><A href="jms.html" title="JMS">JMS</A></LI><LI><A href="pojo-support.html" title="POJO support">POJO support</A></LI><LI><A href="quartz.html" title="Quartz">Quartz</A> — <SPAN class="smalltext">The QuartzComponent integrates with the <SPAN class="nobr"><A href="http://www.opensymphony.com/quartz/" title="Visit page outside Confluence" rel="nofollow">Quartz<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images
/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> open source scheduler library. This allows to trigger service invocations at timed intervals to perform periodic tasks.</SPAN></LI><LI><A href="reflection.html" title="Reflection">Reflection</A></LI><LI><A href="rss.html" title="RSS">RSS</A></LI><LI><A href="saaj.html" title="SAAJ">SAAJ</A></LI><LI><A href="scripting.html" title="Scripting">Scripting</A></LI><LI><A href="validation.html" title="Validation">Validation</A></LI><LI><A href="vfs.html" title="VFS">VFS</A></LI><LI><A href="ws-notification.html" title="WS Notification">WS Notification</A><UL><LI><A href="ws-notification-xmlbeans.html" title="WS Notification XMLBeans">WS Notification XMLBeans</A></LI></UL></LI><LI><A href="wsif.html" title="WSIF">WSIF</A></LI><LI><A href="xfire.html" title="XFire">XFire</A></LI><LI><A href="xslt.html" title="XSLT">XSLT</A></LI><LI><A href="xsql.html" title="XSQL">XSQL</A></LI></UL></LI><L
I><A href="third-party-components.html" title="Third party components">Third party components</A><UL><LI><A href="bpel.html" title="BPEL">BPEL</A></LI></UL></LI></UL></LI><LI><A href="configuration-examples.html" title="Configuration examples">Configuration examples</A><UL><LI><A href="jms-binding-configuration.html" title="JMS binding configuration">JMS binding configuration</A></LI></UL></LI><LI><A href="features.html" title="Features">Features</A><UL><LI><A href="beanflow.html" title="BeanFlow">BeanFlow</A><UL><LI><A href="beanflow-patterns.html" title="BeanFlow Patterns">BeanFlow Patterns</A></LI></UL></LI><LI><A href="client-api.html" title="Client API">Client API</A></LI><LI><A href="routing.html" title="Routing">Routing</A><UL><LI><A href="publish-and-subscribe-routing.html" title="Publish and Subscribe Routing">Publish and Subscribe Routing</A></LI><LI><A href="publish-subscribe-routing.html" title="Publish Subscribe Routing">Publish Subscribe Routing</A></LI><LI><A
href="xpath-router.html" title="XPath Router">XPath Router</A></LI></UL></LI><LI><A href="running.html" title="Running">Running</A></LI><LI><A href="transformation.html" title="Transformation">Transformation</A></LI><LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI></UL></LI><LI><A href="guides.html" title="Guides">Guides</A><UL><LI><A href="classloaders.html" title="Classloaders">Classloaders</A></LI><LI><A href="clustering.html" title="Clustering">Clustering</A></LI><LI><A href="configuration.html" title="Configuration">Configuration</A></LI><LI><A href="getting-started-guide.html" title="Getting Started Guide">Getting Started Guide</A><UL><LI><A href="getting-started-for-servicemix-1x.html" title="Getting Started for ServiceMix 1.x">Getting Started for ServiceMix 1.x</A></LI><LI><A href="getting-started-for-servicemix-2x.html" title="Getting Started for ServiceMix 2.x">Getting Started for ServiceMix 2.x</A></LI></UL></LI><LI><A href="load-balanc
ing.html" title="Load Balancing">Load Balancing</A></LI><LI><A href="management.html" title="Management">Management</A><UL><LI><A href="ant-tasks.html" title="Ant Tasks">Ant Tasks</A><UL><LI><A href="deployserviceassemblytask.html" title="DeployServiceAssemblyTask">DeployServiceAssemblyTask</A></LI><LI><A href="installcomponenttask.html" title="InstallComponentTask">InstallComponentTask</A></LI><LI><A href="installsharedlibrarytask.html" title="InstallSharedLibraryTask">InstallSharedLibraryTask</A></LI><LI><A href="listbindingcomponentstask.html" title="ListBindingComponentsTask">ListBindingComponentsTask</A></LI><LI><A href="listserviceassembliestask.html" title="ListServiceAssembliesTask">ListServiceAssembliesTask</A></LI><LI><A href="listserviceenginestask.html" title="ListServiceEnginesTask">ListServiceEnginesTask</A></LI><LI><A href="listsharedlibrariestask.html" title="ListSharedLibrariesTask">ListSharedLibrariesTask</A></LI><LI><A href="shutdowncomponenttask.html" tit
le="ShutDownComponentTask">ShutDownComponentTask</A></LI><LI><A href="shutdownserviceassemblytask.html" title="ShutDownServiceAssemblyTask">ShutDownServiceAssemblyTask</A></LI><LI><A href="startcomponenttask.html" title="StartComponentTask">StartComponentTask</A></LI><LI><A href="startserviceassemblytask.html" title="StartServiceAssemblyTask">StartServiceAssemblyTask</A></LI><LI><A href="stopcomponenttask.html" title="StopComponentTask">StopComponentTask</A></LI><LI><A href="stopserviceassemblytask.html" title="StopServiceAssemblyTask">StopServiceAssemblyTask</A></LI><LI><A href="undeployserviceassemblytask.html" title="UndeployServiceAssemblyTask">UndeployServiceAssemblyTask</A></LI><LI><A href="uninstallcomponenttask.html" title="UninstallComponentTask">UninstallComponentTask</A></LI><LI><A href="uninstallsharedlibrarytask.html" title="UninstallSharedLibraryTask">UninstallSharedLibraryTask</A></LI></UL></LI><LI><A href="component-mbean.html" title="Component MBean">Compone
nt MBean</A></LI><LI><A href="container-mbean.html" title="Container MBean">Container MBean</A></LI><LI><A href="environment-context-mbean.html" title="Environment Context MBean">Environment Context MBean</A></LI><LI><A href="jmx-console.html" title="JMX Console">JMX Console</A></LI><LI><A href="life-cycle-mbean.html" title="Life Cycle MBean">Life Cycle MBean</A></LI><LI><A href="message-flow-mbean.html" title="Message Flow MBean">Message Flow MBean</A><UL><LI><A href="seda-flow-mbean.html" title="Seda Flow MBean">Seda Flow MBean</A></LI></UL></LI><LI><A href="nmr-broker-mbean.html" title="NMR Broker MBean">NMR Broker MBean</A></LI><LI><A href="specifications.html" title="Specifications">Specifications</A></LI></UL></LI><LI><A href="nmr-flows.html" title="NMR Flows">NMR Flows</A></LI><LI><A href="servicemix-common.html" title="servicemix-common">servicemix-common</A><UL><LI><A href="notes-on-creating-jbi-component-using-maven2.html" title="Notes on Creating JBI Component usi
ng maven2">Notes on Creating JBI Component using maven2</A></LI></UL></LI><LI><A href="transactions.html" title="Transactions">Transactions</A></LI></UL></LI><LI><A href="integration.html" title="Integration">Integration</A><UL><LI><A href="geronimo-integration.html" title="Geronimo integration">Geronimo integration</A><UL><LI><A href="geronimo-10-and-servicemix-2x-integration.html" title="Geronimo 1.0 and ServiceMix 2.x Integration">Geronimo 1.0 and ServiceMix 2.x Integration</A></LI></UL></LI><LI><A href="jboss-deployer.html" title="JBoss Deployer">JBoss Deployer</A><UL><LI><A href="jboss-deployer-for-20.html" title="JBoss Deployer for 2.0">JBoss Deployer for 2.0</A></LI></UL></LI><LI><A href="jndi-configuration.html" title="JNDI configuration">JNDI configuration</A></LI><LI><A href="jonas-integration.html" title="JOnAS Integration">JOnAS Integration</A></LI><LI><A href="spring-support.html" title="Spring support">Spring support</A></LI><LI><A href="tomcat-integration.html
" title="Tomcat Integration">Tomcat Integration</A><UL><LI><A href="tomcat-integration-for-servicemix-11-and-20.html" title="Tomcat Integration for ServiceMix 1.1 and 2.0">Tomcat Integration for ServiceMix 1.1 and 2.0</A></LI><LI><A href="tomcat-integration-for-servicemix-201.html" title="Tomcat Integration for ServiceMix 2.0.1">Tomcat Integration for ServiceMix 2.0.1</A></LI></UL></LI><LI><A href="war-deployment.html" title="WAR Deployment">WAR Deployment</A></LI></UL></LI><LI><A href="javadocs.html" title="JavaDocs">JavaDocs</A></LI><LI><A href="references.html" title="References">References</A><UL><LI><A href="glossary.html" title="Glossary">Glossary</A><UL><LI><A href="jbi.html" title="JBI">JBI</A></LI><LI><A href="jcache.html" title="JCache">JCache</A></LI><LI><A href="nmr.html" title="NMR">NMR</A></LI></UL></LI><LI><A href="xml-reference.html" title="Xml Reference">Xml Reference</A></LI></UL></LI><LI><A href="resources.html" title="Resources">Resources</A></LI><LI><A h
ref="servicemix-31-features.html" title="ServiceMix 3.1 features">ServiceMix 3.1 features</A><UL><LI><A href="servicemix-saxon.html" title="servicemix-saxon">servicemix-saxon</A></LI><LI><A href="thread-pools.html" title="Thread pools">Thread pools</A></LI></UL></LI><LI><A href="tooling-and-utilities.html" title="Tooling and Utilities">Tooling and Utilities</A><UL><LI><A href="cimero-editor.html" title="CIMERO Editor">CIMERO Editor</A></LI><LI><A href="console.html" title="Console">Console</A></LI><LI><A href="eclipse-plugin.html" title="Eclipse plugin">Eclipse plugin</A></LI><LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A><UL><LI><A href="full-description.html" title="Full Description">Full Description</A></LI><LI><A href="maven-1x-jbi-plugin.html" title="Maven 1.x JBI Plugin">Maven 1.x JBI Plugin</A></LI><LI><A href="working-with-components.html" title="Working with Components">Working with Components</A></LI><LI><A href="working-with-servi
ce-assemblies.html" title="Working with Service Assemblies">Working with Service Assemblies</A></LI><LI><A href="working-with-service-units.html" title="Working with Service Units">Working with Service Units</A></LI><LI><A href="working-with-shared-libraries.html" title="Working with Shared Libraries">Working with Shared Libraries</A></LI></UL></LI><LI><A href="maven-sar-plugin.html" title="Maven SAR plugin">Maven SAR plugin</A></LI></UL></LI><LI><A href="tutorials.html" title="Tutorials">Tutorials</A><UL><LI><A href="creating-a-protocol-bridge.html" title="Creating a protocol bridge">Creating a protocol bridge</A></LI><LI><A href="creating-a-standard-jbi-component.html" title="Creating a Standard JBI Component">Creating a Standard JBI Component</A></LI><LI><A href="deploying-lightweight-components-tutorial.html" title="Deploying Lightweight Components Tutorial">Deploying Lightweight Components Tutorial</A></LI><LI><A href="spring-client-toolkit.html" title="Spring Client To
olkit">Spring Client Toolkit</A></LI></UL></LI><LI><A href="users-guide.html" title="Users Guide">Users Guide</A></LI><LI><A href="xml-schemas.html" title="Xml schemas">Xml schemas</A></LI></UL></DIV>
<!--
<div class="tabletitle">
Modified: incubator/servicemix/site/main/drools.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/main/drools.html?view=diff&rev=471528&r1=471527&r2=471528
==============================================================================
--- incubator/servicemix/site/main/drools.html (original)
+++ incubator/servicemix/site/main/drools.html Sun Nov 5 13:01:38 2006
@@ -36,7 +36,7 @@
<TR>
<TD align="left" valign="middle" nowrap="">
<DIV id="site-breadcrumbs">
-<A href="home.html" title="ServiceMix">ServiceMix</A> > <A href="home.html" title="Home">Home</A> > <A href="documentation.html" title="Documentation">Documentation</A> > <A href="components.html" title="Components">Components</A> > <A href="lightweight-components.html" title="Lightweight components">Lightweight components</A> > <A href="" title="Drools">Drools</A>
+<A href="home.html" title="ServiceMix">ServiceMix</A> > <A href="home.html" title="Home">Home</A> > <A href="documentation.html" title="Documentation">Documentation</A> > <A href="components-list.html" title="Components list">Components list</A> > <A href="lightweight-components.html" title="Lightweight components">Lightweight components</A> > <A href="" title="Drools">Drools</A>
</DIV>
</TD>
<TD align="right" valign="middle" nowrap="">
@@ -113,18 +113,66 @@
<!--
<div class="pagetitle">Drools</div>
-->
- <DIV class="wiki-content">
-<P>We support Rules based routing using the <SPAN class="nobr"><A href="http://drools.codehaus.org/" title="Visit page outside Confluence" rel="nofollow">Drools<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> rule engine. The basic idea is you expose a DroolsComponent at some service/interface/operation endpoint in ServiceMix then let it perform rules based routing, or other actions as required.</P>
+ <DIV class="wiki-content"><P>We support Rules based routing using the <SPAN class="nobr"><A href="http://drools.codehaus.org/" title="Visit page outside Confluence" rel="nofollow">Drools<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> rule engine. The basic idea is you expose a DroolsComponent at some service/interface/operation endpoint in ServiceMix then let it perform rules based routing, or other actions as required.</P>
<P>You can deploy a DroolsComponent with a rule base which will be fired when it is invoked. The rule base is then in complete control over messge dispatching.</P>
-
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-xml"><sm:activationSpec componentName=<SPAN class="code-quote">"droolsRouter"</SPAN>
+ service=<SPAN class="code-quote">"foo:droolsRouter"</SPAN>>
+ <SPAN class="code-tag"><sm:component></SPAN><SPAN class="code-tag"><bean class=<SPAN class="code-quote">"org.apache.servicemix.components.drools.DroolsComponent"</SPAN>></SPAN>
+ <SPAN class="code-tag"><property name=<SPAN class="code-quote">"ruleBaseResource"</SPAN> value=<SPAN class="code-quote">"classpath:org/apache/servicemix/components/drools/rulebase.xml"</SPAN> /></SPAN>
+ <SPAN class="code-tag"></bean></SPAN><SPAN class="code-tag"></sm:component></SPAN>
+<SPAN class="code-tag"></sm:activationSpec></SPAN></PRE>
+</DIV></DIV>
<P>Then you can create your Drools rule base using whatever Drools mechanism you wish. For example here's the default Java semantic module to perform custom routing</P>
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-xml"><rule-set name=<SPAN class="code-quote">"cheese rules"</SPAN>
+ xmlns=<SPAN class="code-quote">"http://drools.org/rules"</SPAN>
+ <SPAN class="code-keyword">xmlns:java</SPAN>=<SPAN class="code-quote">"http://drools.org/semantics/java"</SPAN>>
+
+ <SPAN class="code-tag"><application-data identifier=<SPAN class="code-quote">"jbi"</SPAN>></SPAN>org.apache.servicemix.components.drools.JbiHelper<SPAN class="code-tag"></application-data></SPAN>
+ <SPAN class="code-tag"><application-data identifier=<SPAN class="code-quote">"context"</SPAN>></SPAN>javax.jbi.component.ComponentContext<SPAN class="code-tag"></application-data></SPAN>
+ <SPAN class="code-tag"><application-data identifier=<SPAN class="code-quote">"deliveryChannel"</SPAN>></SPAN>javax.jbi.messaging.DeliveryChannel<SPAN class="code-tag"></application-data></SPAN>
+
+ <SPAN class="code-tag"><rule name=<SPAN class="code-quote">"Ignore 2 message"</SPAN>></SPAN>
+
+ <SPAN class="code-tag"><parameter identifier=<SPAN class="code-quote">"exchange"</SPAN>></SPAN>
+ <SPAN class="code-tag"><class></SPAN>javax.jbi.messaging.MessageExchange<SPAN class="code-tag"></class></SPAN>
+ <SPAN class="code-tag"></parameter></SPAN>
+ <SPAN class="code-tag"><java:condition></SPAN><SPAN class="code-quote">"2"</SPAN>.equals(exchange.getMessage(<SPAN class="code-quote">"in"</SPAN>).getProperty(<SPAN class="code-quote">"idText"</SPAN>)) == false<SPAN class="code-tag"></java:condition></SPAN>
+ <SPAN class="code-tag"><java:consequence></SPAN>
+ // lets try send a message
+ jbi.forwardToService(<SPAN class="code-quote">"http://servicemix.org/cheese/"</SPAN>, <SPAN class="code-quote">"receiver"</SPAN>);
+ <SPAN class="code-tag"></java:consequence></SPAN>
+ <SPAN class="code-tag"></rule></SPAN>
+<SPAN class="code-tag"></rule-set></SPAN></PRE>
+</DIV></DIV>
<H2><A name="Drools-UsingtheJBIlanguage"></A>Using the JBI language</H2>
<P>Drools allows you to provide different DSLs (domain specific languages) so we have added a DSL for JBI. Here is an example of it in use</P>
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-xml"><rule-set name=<SPAN class="code-quote">"cheese rules"</SPAN>
+ xmlns=<SPAN class="code-quote">"http://drools.org/rules"</SPAN>
+ <SPAN class="code-keyword">xmlns:jbi</SPAN>=<SPAN class="code-quote">"http://drools.org/semantics/servicemix"</SPAN>
+ <SPAN class="code-keyword">xmlns:foo</SPAN>=<SPAN class="code-quote">"http://servicemix.org/cheese/"</SPAN>>
+
+ <SPAN class="code-tag"><application-data identifier=<SPAN class="code-quote">"jbi"</SPAN>></SPAN>org.apache.servicemix.components.drools.JbiHelper<SPAN class="code-tag"></application-data></SPAN>
+ <SPAN class="code-tag"><application-data identifier=<SPAN class="code-quote">"context"</SPAN>></SPAN>javax.jbi.component.ComponentContext<SPAN class="code-tag"></application-data></SPAN>
+ <SPAN class="code-tag"><application-data identifier=<SPAN class="code-quote">"deliveryChannel"</SPAN>></SPAN>javax.jbi.messaging.DeliveryChannel<SPAN class="code-tag"></application-data></SPAN>
+
+ <SPAN class="code-tag"><rule name=<SPAN class="code-quote">"Ignore 2 message"</SPAN>></SPAN>
+ <SPAN class="code-tag"><parameter identifier=<SPAN class="code-quote">"exchange"</SPAN>></SPAN>
+ <SPAN class="code-tag"><class></SPAN>javax.jbi.messaging.MessageExchange<SPAN class="code-tag"></class></SPAN>
+ <SPAN class="code-tag"></parameter></SPAN>
+
+ <SPAN class="code-tag"><jbi:condition></SPAN>/*/@id != 2<SPAN class="code-tag"></jbi:condition></SPAN>
+ <SPAN class="code-tag"><jbi:invoke service=<SPAN class="code-quote">"foo:receiver"</SPAN>/></SPAN>
+ <SPAN class="code-tag"></rule></SPAN>
+<SPAN class="code-tag"></rule-set></SPAN></PRE>
+</DIV></DIV>
<P>As you can see the <EM><jbi:invoke></EM> element will invoke a service endpoint; you can specify a service name, interface name and/or an operation name on this tag - they are all QNames using the namespace mapping of the XML document.</P>
<P>In addition the condition is an XPath expression. Again the XML namespaces in this document are available to the XPath <A href="expressions.html" title="Expressions">expression</A>.</P></DIV>
@@ -137,8 +185,8 @@
</DIV>
<DIV id="site-footer">
Added by <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan">James Strachan</A>,
- last edited by <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=gnodet">Guillaume Nodet</A> on May 11, 2006
- (<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=1931&originalId=5210">view change</A>)
+ last edited by <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=gnodet">Guillaume Nodet</A> on Nov 08, 2006
+ (<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=1931&originalId=14793">view change</A>)
(<A href="http://goopen.org/confluence/pages/editpage.action?pageId=1931">edit page</A>)
</DIV>
Modified: incubator/servicemix/site/main/home.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/main/home.html?view=diff&rev=471528&r1=471527&r2=471528
==============================================================================
--- incubator/servicemix/site/main/home.html (original)
+++ incubator/servicemix/site/main/home.html Sun Nov 5 13:01:38 2006
@@ -175,7 +175,7 @@
<DIV class="blogHeading"><A href="2005/08/05/servicemix-10-m2-released-with-jbi-based-support-for-bpel-and-fast-content-based-router.html">ServiceMix 1.0 M2 Released with JBI based support for BPEL and fast content based router</A></DIV>
<DIV class="pagesubheading">
- </DIV>
+ Last changed: Nov 08, 2006 16:07 by <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=gnodet">Guillaume Nodet</A> </DIV>
<DIV class="wiki-content">
<P>The ServiceMix <A href="team.html" title="Team">Team</A> are pleased to announce the <A href="download.html" title="Download">1.0 M2 Release</A> of ServiceMix - the first Apache 2.0 licensed open source ESB based from the ground up on <A href="jbi.html" title="JBI">JBI</A>.</P>
@@ -183,7 +183,7 @@
<P>This release includes</P>
<UL>
- <LI>Completed <A href="bpel.html" title="BPEL">BPEL integration</A> using the PXE's full JBI deployment unit for the BPEL engine and JBI deployment units for the actual processes, together with a <SPAN class="nobr"><A href="http://goopen.org/confluence/pages/createpage.action?spaceKey=SM&title=BPEL%20Example" title="Create Page: BPEL Example" class="createlink">working example<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/plus.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+ <LI>Completed <A href="bpel.html" title="BPEL">BPEL integration</A> using the PXE's full JBI deployment unit for the BPEL engine and JBI deployment units for the actual processes, together with a <A href="bpel-example.html" title="BPEL example">working example</A></LI>
<LI><A href="xpath-router.html" title="XPath Router">High performance content based router and transformation engine using XPath</A></LI>
<LI>Rules based routing and transformations using <A href="drools.html" title="Drools">Drools</A></LI>
<LI>More <A href="examples.html" title="Examples">Examples</A> on how to use ServiceMix</LI>
Modified: incubator/servicemix/site/main/lightweight-components.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/main/lightweight-components.html?view=diff&rev=471528&r1=471527&r2=471528
==============================================================================
--- incubator/servicemix/site/main/lightweight-components.html (original)
+++ incubator/servicemix/site/main/lightweight-components.html Sun Nov 5 13:01:38 2006
@@ -154,9 +154,6 @@
<a href="http://goopen.org/confluence/display/SM/Reflection" title="Reflection">Reflection</a>
<span class="smalltext">(ServiceMix)</span>
<br>
- <a href="http://goopen.org/confluence/display/SM/RSS" title="RSS">RSS</a>
- <span class="smalltext">(ServiceMix)</span>
- <br>
<a href="http://goopen.org/confluence/display/SM/VFS" title="VFS">VFS</a>
<span class="smalltext">(ServiceMix)</span>
<br>
@@ -197,6 +194,9 @@
<span class="smalltext">(ServiceMix)</span>
<br>
<a href="http://goopen.org/confluence/display/SM/WS+Notification" title="WS Notification">WS Notification</a>
+ <span class="smalltext">(ServiceMix)</span>
+ <br>
+ <a href="http://goopen.org/confluence/display/SM/RSS" title="RSS">RSS</a>
<span class="smalltext">(ServiceMix)</span>
<br>
</div>