servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r472593 - in /incubator/servicemix/site/main: jbi-components.html servicemix-eip.html
Date Wed, 08 Nov 2006 19:03:52 GMT
Author: chirino
Date: Wed Nov  8 11:03:52 2006
New Revision: 472593

URL: http://svn.apache.org/viewvc?view=rev&rev=472593
Log:
Latest export from confluence

Modified:
    incubator/servicemix/site/main/jbi-components.html
    incubator/servicemix/site/main/servicemix-eip.html

Modified: incubator/servicemix/site/main/jbi-components.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/main/jbi-components.html?view=diff&rev=472593&r1=472592&r2=472593
==============================================================================
--- incubator/servicemix/site/main/jbi-components.html (original)
+++ incubator/servicemix/site/main/jbi-components.html Wed Nov  8 11:03:52 2006
@@ -36,7 +36,7 @@
         <TR>
           <TD align="left" valign="middle" nowrap="">
             <DIV id="site-breadcrumbs">
-<A href="home.html" title="ServiceMix">ServiceMix</A>&nbsp;&gt;&nbsp;<A
href="home.html" title="Home">Home</A>&nbsp;&gt;&nbsp;<A href="documentation.html"
title="Documentation">Documentation</A>&nbsp;&gt;&nbsp;<A href="components.html"
title="Components">Components</A>&nbsp;&gt;&nbsp;<A href="" title="JBI
Components">JBI Components</A>
+<A href="home.html" title="ServiceMix">ServiceMix</A>&nbsp;&gt;&nbsp;<A
href="home.html" title="Home">Home</A>&nbsp;&gt;&nbsp;<A href="documentation.html"
title="Documentation">Documentation</A>&nbsp;&gt;&nbsp;<A href="components-list.html"
title="Components list">Components list</A>&nbsp;&gt;&nbsp;<A href=""
title="JBI Components">JBI Components</A>
             </DIV>
           </TD>
           <TD align="right" valign="middle" nowrap="">

Modified: incubator/servicemix/site/main/servicemix-eip.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/main/servicemix-eip.html?view=diff&rev=472593&r1=472592&r2=472593
==============================================================================
--- incubator/servicemix/site/main/servicemix-eip.html (original)
+++ incubator/servicemix/site/main/servicemix-eip.html Wed Nov  8 11:03:52 2006
@@ -36,7 +36,7 @@
         <TR>
           <TD align="left" valign="middle" nowrap="">
             <DIV id="site-breadcrumbs">
-<A href="home.html" title="ServiceMix">ServiceMix</A>&nbsp;&gt;&nbsp;<A
href="home.html" title="Home">Home</A>&nbsp;&gt;&nbsp;<A href="documentation.html"
title="Documentation">Documentation</A>&nbsp;&gt;&nbsp;<A href="components.html"
title="Components">Components</A>&nbsp;&gt;&nbsp;<A href="jbi-components.html"
title="JBI Components">JBI Components</A>&nbsp;&gt;&nbsp;<A href=""
title="servicemix-eip">servicemix-eip</A>
+<A href="home.html" title="ServiceMix">ServiceMix</A>&nbsp;&gt;&nbsp;<A
href="home.html" title="Home">Home</A>&nbsp;&gt;&nbsp;<A href="documentation.html"
title="Documentation">Documentation</A>&nbsp;&gt;&nbsp;<A href="components-list.html"
title="Components list">Components list</A>&nbsp;&gt;&nbsp;<A href="jbi-components.html"
title="JBI Components">JBI Components</A>&nbsp;&gt;&nbsp;<A href=""
title="servicemix-eip">servicemix-eip</A>
             </DIV>
           </TD>
           <TD align="right" valign="middle" nowrap="">
@@ -198,7 +198,26 @@
 This pattern implements the <SPAN class="nobr"><A href="http://www.enterpriseintegrationpatterns.com/ContentBasedRouter.html"
title="Visit page outside Confluence" rel="nofollow">Content-Based Router<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> pattern.</P>
 
 <P><IMG src="http://www.enterpriseintegrationpatterns.com/img/ContentBasedRouter.gif"
align="absmiddle" border="0"></P>
-
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-xml"><SPAN class="code-tag">&lt;eip:content-based-router
service=<SPAN class="code-quote">&quot;test:router&quot;</SPAN> endpoint=<SPAN
class="code-quote">&quot;endpoint&quot;</SPAN>&gt;</SPAN>
+  <SPAN class="code-tag">&lt;eip:rules&gt;</SPAN>
+    <SPAN class="code-tag">&lt;eip:routing-rule&gt;</SPAN>
+      <SPAN class="code-tag">&lt;eip:predicate&gt;</SPAN>
+        <SPAN class="code-tag">&lt;eip:xpath-predicate xpath=<SPAN class="code-quote">&quot;count(/test:echo)
= 1&quot;</SPAN> namespaceContext=<SPAN class="code-quote">&quot;#nsContext&quot;</SPAN>
/&gt;</SPAN>
+      <SPAN class="code-tag">&lt;/eip:predicate&gt;</SPAN>
+      <SPAN class="code-tag">&lt;eip:target&gt;</SPAN>
+        <SPAN class="code-tag">&lt;eip:exchange-target uri=<SPAN class="code-quote">&quot;endpoint:http://test/pipeline/endpoint&quot;</SPAN>
/&gt;</SPAN>
+      <SPAN class="code-tag">&lt;/eip:target&gt;</SPAN>
+    <SPAN class="code-tag">&lt;/eip:routing-rule&gt;</SPAN>
+    <SPAN class="code-tag">&lt;eip:routing-rule&gt;</SPAN>
+      <SPAN class="code-tag"><SPAN class="code-comment">&lt;!-- there is
no predicate, so this is the default destination --&gt;</SPAN></SPAN>
+      <SPAN class="code-tag">&lt;eip:target&gt;</SPAN>
+        <SPAN class="code-tag">&lt;eip:exchange-target service=<SPAN class="code-quote">&quot;test:recipients&quot;</SPAN>
/&gt;</SPAN>
+      <SPAN class="code-tag">&lt;/eip:target&gt;</SPAN>
+    <SPAN class="code-tag">&lt;/eip:routing-rule&gt;</SPAN>
+  <SPAN class="code-tag">&lt;/eip:rules&gt;</SPAN>
+<SPAN class="code-tag">&lt;/eip:content-based-router&gt;</SPAN></PRE>
+</DIV></DIV>
 
 <H3><A name="servicemix-eip-MessageFilter"></A>Message Filter</H3>
 
@@ -206,14 +225,32 @@
 This pattern implements the <SPAN class="nobr"><A href="http://www.enterpriseintegrationpatterns.com/Filter.html"
title="Visit page outside Confluence" rel="nofollow">Message Filter<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> pattern.</P>
 
 <P><IMG src="http://www.enterpriseintegrationpatterns.com/img/MessageFilter.gif"
align="absmiddle" border="0"></P>
-
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-xml"><SPAN class="code-tag">&lt;eip:message-filter service=<SPAN
class="code-quote">&quot;test:messageFilter&quot;</SPAN> endpoint=<SPAN
class="code-quote">&quot;endpoint&quot;</SPAN>&gt;</SPAN>
+  <SPAN class="code-tag">&lt;eip:target&gt;</SPAN>
+    <SPAN class="code-tag">&lt;eip:exchange-target service=<SPAN class="code-quote">&quot;test:trace3&quot;</SPAN>
/&gt;</SPAN>
+  <SPAN class="code-tag">&lt;/eip:target&gt;</SPAN>
+  <SPAN class="code-tag">&lt;eip:filter&gt;</SPAN>
+    <SPAN class="code-tag">&lt;eip:xpath-predicate xpath=<SPAN class="code-quote">&quot;count(/test:world)
= 1&quot;</SPAN> namespaceContext=<SPAN class="code-quote">&quot;#nsContext&quot;</SPAN>/&gt;</SPAN>
+  <SPAN class="code-tag">&lt;/eip:filter&gt;</SPAN>
+<SPAN class="code-tag">&lt;/eip:message-filter&gt;</SPAN></PRE>
+</DIV></DIV>
 
 <H3><A name="servicemix-eip-Pipeline"></A>Pipeline</H3>
 
 <P>The Pipeline component is a bridge between an In-Only (or Robust-In-Only) MEP and
an In-Out MEP.  When the Pipeline receives an In-Only MEP, it will send the input in an In-Out
MEP to the tranformer destination and forward the response in an In-Only MEP to the target
destination.</P>
 
 <P>The old org.apache.servicemix.components.util.PipelineComponent will be deprecated.
 This one offers the same feature but can be safely clustered and use in a transactional enviromnent.</P>
-
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-xml"><SPAN class="code-tag">&lt;eip:pipeline service=<SPAN
class="code-quote">&quot;test:pipeline&quot;</SPAN> endpoint=<SPAN class="code-quote">&quot;endpoint&quot;</SPAN>&gt;</SPAN>
+  <SPAN class="code-tag">&lt;eip:transformer&gt;</SPAN>
+    <SPAN class="code-tag">&lt;eip:exchange-target service=<SPAN class="code-quote">&quot;test:routingSlip&quot;</SPAN>
/&gt;</SPAN>
+  <SPAN class="code-tag">&lt;/eip:transformer&gt;</SPAN>
+  <SPAN class="code-tag">&lt;eip:target&gt;</SPAN>
+    <SPAN class="code-tag">&lt;eip:exchange-target service=<SPAN class="code-quote">&quot;test:trace2&quot;</SPAN>
/&gt;</SPAN>
+  <SPAN class="code-tag">&lt;/eip:target&gt;</SPAN>
+<SPAN class="code-tag">&lt;/eip:pipeline&gt;</SPAN></PRE>
+</DIV></DIV>
 
 <H3><A name="servicemix-eip-StaticRecipientList"></A>Static Recipient List</H3>
 
@@ -221,7 +258,14 @@
 This component implements the <SPAN class="nobr"><A href="http://www.enterpriseintegrationpatterns.com/RecipientList.html"
title="Visit page outside Confluence" rel="nofollow">Recipient List<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> pattern, with the limitation that
the recipient list is static.</P>
 
 <P><IMG src="http://www.enterpriseintegrationpatterns.com/img/RecipientList.gif"
align="absmiddle" border="0"></P>
-
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-xml"><SPAN class="code-tag">&lt;eip:static-recipient-list
service=<SPAN class="code-quote">&quot;test:recipients&quot;</SPAN> endpoint=<SPAN
class="code-quote">&quot;endpoint&quot;</SPAN>&gt;</SPAN>
+  <SPAN class="code-tag">&lt;eip:recipients&gt;</SPAN>
+    <SPAN class="code-tag">&lt;eip:exchange-target service=<SPAN class="code-quote">&quot;test:messageFilter&quot;</SPAN>
/&gt;</SPAN>
+    <SPAN class="code-tag">&lt;eip:exchange-target service=<SPAN class="code-quote">&quot;test:trace4&quot;</SPAN>
/&gt;</SPAN>
+  <SPAN class="code-tag">&lt;/eip:recipients&gt;</SPAN>
+<SPAN class="code-tag">&lt;/eip:static-recipient-list&gt;</SPAN></PRE>
+</DIV></DIV>
 
 <H3><A name="servicemix-eip-StaticRoutingSlip"></A>Static Routing Slip</H3>
 
@@ -230,7 +274,14 @@
 This component only uses In-Out MEPs and errors or faults sent by targets are reported back
to the consumer, thus interrupting the routing process.</P>
 
 <P><IMG src="http://www.enterpriseintegrationpatterns.com/img/RoutingTableSimple.gif"
align="absmiddle" border="0"></P>
-
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-xml"><SPAN class="code-tag">&lt;eip:static-routing-slip
service=<SPAN class="code-quote">&quot;test:routingSlip&quot;</SPAN> endpoint=<SPAN
class="code-quote">&quot;endpoint&quot;</SPAN>&gt;</SPAN>
+  <SPAN class="code-tag">&lt;eip:targets&gt;</SPAN>
+    <SPAN class="code-tag">&lt;eip:exchange-target service=<SPAN class="code-quote">&quot;test:echo&quot;</SPAN>
/&gt;</SPAN>
+    <SPAN class="code-tag">&lt;eip:exchange-target service=<SPAN class="code-quote">&quot;test:echo&quot;</SPAN>
/&gt;</SPAN>
+  <SPAN class="code-tag">&lt;/eip:targets&gt;</SPAN>
+<SPAN class="code-tag">&lt;/eip:static-routing-slip&gt;</SPAN></PRE>
+</DIV></DIV>
 
 <H3><A name="servicemix-eip-WireTap"></A>Wire Tap</H3>
 
@@ -241,14 +292,30 @@
 In the case of an In-Out MEP, this means that the WireTap needs to be configured to send
the exchange along to the destination service.</P>
 
 <P><IMG src="http://www.enterpriseintegrationpatterns.com/img/WireTap.gif" align="absmiddle"
border="0"></P>
-
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-xml"><SPAN class="code-tag">&lt;eip:wire-tap service=<SPAN
class="code-quote">&quot;test:wireTap&quot;</SPAN> endpoint=<SPAN class="code-quote">&quot;endpoint&quot;</SPAN>&gt;</SPAN>
+  <SPAN class="code-tag">&lt;eip:target&gt;</SPAN>
+    <SPAN class="code-tag">&lt;eip:exchange-target service=<SPAN class="code-quote">&quot;test:xpathSplitter&quot;</SPAN>
/&gt;</SPAN>
+  <SPAN class="code-tag">&lt;/eip:target&gt;</SPAN>
+  <SPAN class="code-tag">&lt;eip:inListener&gt;</SPAN>
+    <SPAN class="code-tag">&lt;eip:exchange-target service=<SPAN class="code-quote">&quot;test:trace1&quot;</SPAN>
/&gt;</SPAN>
+  <SPAN class="code-tag">&lt;/eip:inListener&gt;</SPAN>
+<SPAN class="code-tag">&lt;/eip:wire-tap&gt;</SPAN></PRE>
+</DIV></DIV>
 
 <H3><A name="servicemix-eip-XPathSplitter"></A>XPath Splitter</H3>
 
 <P>The XPathSplitter component implements the <SPAN class="nobr"><A href="http://www.enterpriseintegrationpatterns.com/Sequencer.html"
title="Visit page outside Confluence" rel="nofollow">Splitter<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> pattern using an xpath expression
to split the incoming xml.</P>
 
 <P><IMG src="http://www.enterpriseintegrationpatterns.com/img/Sequencer.gif" align="absmiddle"
border="0"></P>
-
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-xml">&lt;eip:xpath-splitter service=<SPAN class="code-quote">&quot;test:xpathSplitter&quot;</SPAN>
endpoint=<SPAN class="code-quote">&quot;endpoint&quot;</SPAN> 
+                    xpath=<SPAN class="code-quote">&quot;/*/*&quot;</SPAN>
namespaceContext=<SPAN class="code-quote">&quot;#nsContext&quot;</SPAN>&gt;
+  <SPAN class="code-tag">&lt;eip:target&gt;</SPAN>
+    <SPAN class="code-tag">&lt;eip:exchange-target uri=<SPAN class="code-quote">&quot;service:http://test/router&quot;</SPAN>
/&gt;</SPAN>
+  <SPAN class="code-tag">&lt;/eip:target&gt;</SPAN>
+<SPAN class="code-tag">&lt;/eip:xpath-splitter&gt;</SPAN></PRE>
+</DIV></DIV>
 
 <H3><A name="servicemix-eip-SplitAggregator"></A>SplitAggregator</H3>
 
@@ -256,7 +323,13 @@
 It relies on several properties that should be set on the exchanges (count, index, correlationId).</P>
 
 <P><IMG src="http://www.enterpriseintegrationpatterns.com/img/Aggregator.gif" align="absmiddle"
border="0"></P>
-
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-xml"><SPAN class="code-tag">&lt;eip:split-aggregator service=<SPAN
class="code-quote">&quot;test:aggregator&quot;</SPAN> endpoint=<SPAN class="code-quote">&quot;endpoint&quot;</SPAN>&gt;</SPAN>
+  <SPAN class="code-tag">&lt;eip:target&gt;</SPAN>
+    <SPAN class="code-tag">&lt;eip:exchange-target service=<SPAN class="code-quote">&quot;test:trace5&quot;</SPAN>
/&gt;</SPAN>
+  <SPAN class="code-tag">&lt;/eip:target&gt;</SPAN>
+<SPAN class="code-tag">&lt;/eip:split-aggregator&gt;</SPAN></PRE>
+</DIV></DIV>
 
 <H2><A name="servicemix-eip-Tips"></A>Tips</H2>
 
@@ -302,7 +375,13 @@
 <H3><A name="servicemix-eip-NamespaceContext"></A>NamespaceContext</H3>
 
 <P>Some patterns use XPath expression.  To use such expressions on an xml with namespaces,
you need to define a NamespaceContext.</P>
-
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-xml"><SPAN class="code-tag">&lt;eip:namespace-context id=<SPAN
class="code-quote">&quot;nsContext&quot;</SPAN>&gt;</SPAN>
+  <SPAN class="code-tag">&lt;eip:namespaces&gt;</SPAN>
+    <SPAN class="code-tag">&lt;eip:namespace prefix=<SPAN class="code-quote">&quot;test&quot;</SPAN>&gt;</SPAN>http://test<SPAN
class="code-tag">&lt;/eip:namespace&gt;</SPAN>
+  <SPAN class="code-tag">&lt;/eip:namespaces&gt;</SPAN>
+<SPAN class="code-tag">&lt;/eip:namespace-context&gt;</SPAN></PRE>
+</DIV></DIV>
 <P>This NamespaceContext can be referenced by a <B>namespaceContext</B>
attribute as shown in the XPathSplitter or MessageFilter examples.</P>
 
 <H3><A name="servicemix-eip-Predicates"></A>Predicates</H3>
@@ -328,8 +407,8 @@
     </DIV>
     <DIV id="site-footer">
           Added by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=gnt">gnt</A>,
-    last edited by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=georg_dembowski">Georg
Dembowski</A> on Oct 04, 2006
-                  &nbsp;(<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=1915&originalId=13950">view
change</A>)
+    last edited by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=gnodet">Guillaume
Nodet</A> on Nov 12, 2006
+                  &nbsp;(<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=1915&originalId=14935">view
change</A>)
               
       (<A href="http://goopen.org/confluence/pages/editpage.action?pageId=1915">edit
page</A>)
     </DIV>



Mime
View raw message