servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject svn commit: r1479168 [15/29] - in /servicemix/site/production/docs/4.5.x: ./ activemq/ activiti/ camel/ camel/deployment/ commands/ developers-guide/ images/ jbi/ jbi/components/ jbi/intro/ karaf/ nmr/ quickstart/ quickstart/images/ scripts/ scripts/th...
Date Sat, 04 May 2013 19:53:12 GMT
Added: servicemix/site/production/docs/4.5.x/jbi/components/servicemix-cxf-se.html
URL: http://svn.apache.org/viewvc/servicemix/site/production/docs/4.5.x/jbi/components/servicemix-cxf-se.html?rev=1479168&view=auto
==============================================================================
--- servicemix/site/production/docs/4.5.x/jbi/components/servicemix-cxf-se.html (added)
+++ servicemix/site/production/docs/4.5.x/jbi/components/servicemix-cxf-se.html Sat May  4
19:53:07 2013
@@ -0,0 +1,132 @@
+
+<!DOCTYPE html>
+<html>
+<head>
+  <title>Apache ServiceMix Documentation - </title>
+
+  <link href="../../theme/master.css" rel="stylesheet" type="text/css" />
+  <link href="../../theme/pygmentize.css" rel="stylesheet" type="text/css" />
+  
+  <script type="text/javascript" src="../../scripts/jquery.js"></script>
+  <script type="text/javascript" src="../../scripts/jquery.cookie.js"></script>
+  <script type="text/javascript" src="../../scripts/jquery.jstree.js"></script>
+
+  <script>
+    $(document).ready(function(){
+	  $("#nav").jstree({
+		"themes": {
+		  "theme": "apple", "dots": false
+		},
+		"plugins" : [ "themes", "html_data", "cookies", "themes" ]
+  	  });
+    });
+  </script>
+  <script type="text/javascript">
+    var _gaq = _gaq || [];
+    _gaq.push(['_setAccount', 'UA-398545-1']);
+    _gaq.push(['_trackPageview']);
+
+    (function() {
+      var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async =
true;
+      ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') +
'.google-analytics.com/ga.js';
+      var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+    })();
+  </script>
+</head>
+<body>
+  <div id="page">
+    <div id="siteHeader">
+      <table width="100%">
+      <tr valign="middle">
+        <td align="left">
+            <a href="http://servicemix.apache.org/" title="An open source ESB">
+            <img border="0" src="../../images/logodesign.png" height="80"/><img
border="0" height="80" src="../../images/new-logo.png" />
+            </a>
+          </td>
+          <td align="right">
+            <a href="http://www.apache.org/" title="The Apache Sofware Foundation">
+              <img border="0" height="60" src="../../images/ASF-logo.png">
+            </a>
+            <ul class="siteNav">
+              <li><a href="../../index.html" title="Overview">Guides Overview</a></li>
+              <li><a href="../../contribute.html" title="Contributing?">Contributing?</a></li>
+              <li>
+                <form action="http://www.google.com/search" method="get" style="font-size:
10px;">
+                  <input name="ie" type="hidden" value="UTF-8"></input>
+                  <input name="oe" type="hidden" value="UTF-8"></input>
+                  <input maxlength="255" name="q" size="15" type="text" value=""></input>
+                  <input name="btnG" type="submit" value="Search"></input>
+                  <input name="domains" type="hidden" value="servicemix.apache.org/docs/4.4.x"></input>
+                  <input name="sitesearch" type="hidden" value="servicemix.apache.org/docs/4.4.x"></input>
+                </form>
+              </li>
+            </ul>
+          </td>
+        </tr>
+      </table>
+    </div>
+    <div id="content">
+              <div id="nav">
+            
+<ul>
+    <li id="jbi-introduction">
+        <a href="#">Introducing JBI</a>
+        <ul>
+            <li id="jbi-what-is-jbi">
+                <a href="../intro/what-is-jbi.html">What is JBI?</a>
+            </li>
+            <li id="jbi-meps">
+                <a href="../intro/meps.html">JBI MEPs</a>
+            </li>
+            <li id="jbi-api">
+                <a href="../intro/api.html">JBI API</a>
+            </li>
+        </ul>
+    </li>
+    <li id="jbi-components">
+        <a href="index.html">JBI Components</a>
+        <ul>
+            <li id="servicemix-bean"><a href="servicemix-bean.html">servicemix-bean</a></li>
+            <li id="servicemix-camel"><a href="servicemix-camel.html">servicemix-camel</a></li>
+            <li id="servicemix-cxf-bc"><a href="servicemix-cxf-bc.html">servicemix-cxf-bc</a></li>
+            <li id="servicemix-cxf-se"><a href="servicemix-cxf-se.html">servicemix-cxf-se</a></li>
+            <li id="servicemix-drools"><a href="servicemix-drools.html">servicemix-drools</a></li>
+            <li id="servicemix-eip"><a href="servicemix-eip.html">servicemix-eip</a></li>
+            <li id="servicemix-exec"><a href="servicemix-exec.html">servicemix-exec</a></li>
+            <li id="servicemix-file"><a href="servicemix-file.html">servicemix-file</a></li>
+            <li id="servicemix-ftp"><a href="servicemix-ftp.html">servicemix-ftp</a></li>
+            <li id="servicemix-http"><a href="servicemix-http.html">servicemix-http</a></li>
+            <li id="servicemix-jms"><a href="servicemix-jms.html">servicemix-jms</a></li>
+            <li id="servicemix-mail"><a href="servicemix-mail.html">servicemix-mail</a></li>
+            <li id="servicemix-osworkflow"><a href="servicemix-osworkflow.html">servicemix-osworkflow</a></li>
+            <li id="servicemix-quartz"><a href="servicemix-quartz.html">servicemix-quartz</a></li>
+            <li id="servicemix-saxon"><a href="servicemix-saxon.html">servicemix-saxon</a></li>
+            <li id="servicemix-scripting"><a href="servicemix-scripting.html">servicemix-scripting</a></li>
+            <li id="servicemix-snmp"><a href="servicemix-snmp.html">servicemix-snmp</a></li>
+            <li id="servicemix-validation"><a href="servicemix-validation.html">servicemix-validation</a></li>
+            <li id="servicemix-vfs"><a href="servicemix-vfs.html">servicemix-vfs</a></li>
+            <li id="servicemix-wsn2005"><a href="servicemix-wsn2005.html">servicemix-wsn2005</a></li>
+            <li id="servicemix-xmpp"><a href="servicemix-xmpp.html">servicemix-xmpp</a></li>
+        </ul>
+    </li>
+</ul>
+
+        </div>
+        <div id="body">
+                    <div class="note">
+            <h1>JBI Support deprecated in Apache ServiceMix 4</h1>
+            <p>JBI 1.0 support is available in Apache ServiceMix 4 to allow existing
users to migrate more easily to this latest version - if you're a new user, you should consider
JBI deprecated and not use it for your project.
+            Take a look at our <a href="../../users-guide/getting-started/technology-selection.html"</a>technology
selection guidelines</a> for more information.</p>
+          </div>
+                    <h2 id="servicemixcxfse">servicemix-cxf-se</h2><h3 id="Overview">Overview</h3><p>ServiceMix
CXF SE component is a JBI Service Engine exposing (annotated) POJO as services on the JBI
Bus.<br/>It uses Apache CXF internally to perform service invocations and xml marshaling.</p><p>Features:</p><ul><li><p>jsr181
annotations</p></li><li><p>jaxb2/aegis/xmlbeans databinding</p></li><li><p>wsdl
auto generation</p></li><li><p>java proxy support</p></li><li><p>MTOM
/ attachments support</p></li></ul><h4 id="Namespaceandxbean.xml">Namespace
and xbean.xml</h4><p>The namespace URI for the servicemix-bean JBI component is
<tt>http://servicemix.apache.org/cxfse/1.0</tt>.  This is an example of an <tt>xbean.xml</tt>
file with a namespace definition with prefix <tt>bean</tt>.</p><div class="syntax"><div
class="highlight"><pre><span class="nt">&lt;beans</span> <span
class="na">xmlns:cxfse=</span><span class="s">&quot;http://servicemix.apache.org/cxfse/1.0&quot;</span><span

 class="nt">&gt;</span>&#x000A;&#x000A;  <span class="c">&lt;!--
add cxfse:endpoint definitions here --&gt;</span>&#x000A;&#x000A;<span
class="nt">&lt;/beans&gt;</span>&#x000A;</pre></div>&#x000A;</div><h4
id="Endpointtypes">Endpoint types</h4><p>The servicemix-cxf-bc component defines
one endpoint type:</p><ul style="list-style: square"><li><p><tt>cxfse:endpoint</tt>
:: no description yet</p></li></ul><h3 id="cxfseendpoint"><tt>cxfse:endpoint</tt></h3><h4
id="Endpointproperties">Endpoint properties</h4><div class="table-wrap"><table
class="confluenceTable"><tr><th class="confluenceTh"> Property Name </th><th
class="confluenceTh"> Type </th><th class="confluenceTh"> Description </th></tr><tr><td
class="confluenceTd"> dataBinding </td><td class="confluenceTd"> <em>org.apache.cxf.databinding.AbstractDataBinding</em>
</td><td class="confluenceTd"> Specifies dataBinding used by the Endpoint </td></tr><tr><td
class="confluenceTd"> endpoint </td><td class="confluenceTd"> <em>java.l
 ang.String</em> </td><td class="confluenceTd"> &lt;p> Get the endpoint
implementation. &lt;/p> </td></tr><tr><td class="confluenceTd">
inFaultInterceptors </td><td class="confluenceTd"> (<em>java.lang.Object</em>)\*
</td><td class="confluenceTd"> a list of beans configuring interceptors that process
incoming faults </td></tr><tr><td class="confluenceTd"> inInterceptors
</td><td class="confluenceTd"> (<em>java.lang.Object</em>)\* </td><td
class="confluenceTd"> a list of beans configuring interceptors that process incoming requests
</td></tr><tr><td class="confluenceTd"> interfaceName </td><td
class="confluenceTd"> <em>javax.xml.namespace.QName</em> </td><td
class="confluenceTd"> &lt;p> Get the qualified name of the endpoint interface. &lt;/p>
</td></tr><tr><td class="confluenceTd"> mtomEnabled </td><td
class="confluenceTd"> <em>boolean</em> </td><td class="confluenceTd">
Specifies if the service can consume MTOM formatted binary data. The default is &lt;code>false&lt;/code>.

 </td></tr><tr><td class="confluenceTd"> outFaultInterceptors </td><td
class="confluenceTd"> (<em>java.lang.Object</em>)\* </td><td class="confluenceTd">
a list of beans configuring interceptors that process fault messages being returned to the
consumer </td></tr><tr><td class="confluenceTd"> outInterceptors </td><td
class="confluenceTd"> (<em>java.lang.Object</em>)\* </td><td class="confluenceTd">
a list of beans configuring interceptors that process response messages </td></tr><tr><td
class="confluenceTd"> pojo </td><td class="confluenceTd"> <em>java.lang.Object</em>
</td><td class="confluenceTd"> a bean configuring the JAX-WS annotated implementation
for the endpoint </td></tr><tr><td class="confluenceTd"> pojoEndpoint
</td><td class="confluenceTd"> <em>javax.xml.namespace.QName</em>
</td><td class="confluenceTd"> Specifies the servicemodel endpoint name generated
from the pojo. The default is &lt;code>null&lt;/code>. </td></tr><tr><td
class="confluenceTd"> pojoInterfaceNa
 me </td><td class="confluenceTd"> <em>javax.xml.namespace.QName</em>
</td><td class="confluenceTd"> Specifies the servicemodel interface name generated
from the pojo. The default is &lt;code>null&lt;/code>. </td></tr><tr><td
class="confluenceTd"> pojoService </td><td class="confluenceTd"> <em>javax.xml.namespace.QName</em>
</td><td class="confluenceTd"> Specifies the servicemodel service name generated
from the pojo. The default is &lt;code>null&lt;/code>. </td></tr><tr><td
class="confluenceTd"> properties </td><td class="confluenceTd"> <em>java.util.Map</em>
</td><td class="confluenceTd"> Specifies a map of properties </td></tr><tr><td
class="confluenceTd"> service </td><td class="confluenceTd"> <em>javax.xml.namespace.QName</em>
</td><td class="confluenceTd"> &lt;p> Get the service qualified name of
the endpoint. &lt;/p> </td></tr><tr><td class="confluenceTd">
useAegis </td><td class="confluenceTd"> <em>boolean</em> </td><td
class="confluenceTd"> Specifies if the endpoint 
 use aegis databinding to marshall/unmarshall message. The default is &lt;code>false&lt;/code>.
</td></tr><tr><td class="confluenceTd"> useJBIWrapper </td><td
class="confluenceTd"> <em>boolean</em> </td><td class="confluenceTd">
Specifies if the endpoint expects to receive the JBI wrapper in the message received from
the NMR. The default is &lt;code>true&lt;/code>. Ignore the value of useSOAPEnvelope
if useJBIWrapper is true </td></tr><tr><td class="confluenceTd"> useSOAPEnvelope
</td><td class="confluenceTd"> <em>boolean</em> </td><td
class="confluenceTd"> Specifies if the endpoint expects soap messages when useJBIWrapper
is false, if useJBIWrapper is true then ignore useSOAPEnvelope. The default is &lt;code>true&lt;/code>.
</td></tr><tr><td class="confluenceTd"> useXmlBeans </td><td
class="confluenceTd"> <em>boolean</em> </td><td class="confluenceTd">
Specifies if the endpoint use xmlbeans databinding to marshell/unmarshell message. The default
is &lt;code>false&lt;/code>. 
 </td></tr></table></div><h3 id="cxfbcproxy"><tt>cxfbc:proxy</tt></h3><h4
id="Endpointproperties2">Endpoint properties</h4><div class="table-wrap"><table
class="confluenceTable"><tr><th class="confluenceTh"> Property Name </th><th
class="confluenceTh"> Type </th><th class="confluenceTh"> Description </th></tr><tr><td
class="confluenceTd"> clearClientResponseContext </td><td class="confluenceTd">
<em>boolean</em> </td><td class="confluenceTd"> Specifies if the CXF
client response context is cleared after each proxy invocation. The default is </td></tr><tr><td
class="confluenceTd"> componentRegistry </td><td class="confluenceTd"> <em>java.lang.Object</em>
</td><td class="confluenceTd"> Allows injecting a custom component registry for
looking up the proxying endpoint. </td></tr><tr><td class="confluenceTd">
container </td><td class="confluenceTd"> <em>org.apache.servicemix.jbi.api.Container</em>
</td><td class="confluenceTd"> Allows injecting a JBI Container instance (e.g.
for t
 esting purposes). </td></tr><tr><td class="confluenceTd"> context
</td><td class="confluenceTd"> <em>javax.jbi.component.ComponentContext</em>
</td><td class="confluenceTd"> Allows injecting the ComponentContext </td></tr><tr><td
class="confluenceTd"> endpoint </td><td class="confluenceTd"> <em>java.lang.String</em>
</td><td class="confluenceTd"> The name of the endpoint. </td></tr><tr><td
class="confluenceTd"> factory </td><td class="confluenceTd"> <em>org.apache.servicemix.jbi.api.ClientFactory</em>
</td><td class="confluenceTd"> Allows injecting a ClientFactory </td></tr><tr><td
class="confluenceTd"> interfaceName </td><td class="confluenceTd"> <em>javax.xml.namespace.QName</em>
</td><td class="confluenceTd"> Specifies the servicemodel interface name </td></tr><tr><td
class="confluenceTd"> mtomEnabled </td><td class="confluenceTd"> <em>boolean</em>
</td><td class="confluenceTd"> Specifies if the service can consume MTOM formatted
binary data. The default is &lt;code>false
 &lt;/code>. </td></tr><tr><td class="confluenceTd"> name </td><td
class="confluenceTd"> <em>java.lang.String</em> </td><td class="confluenceTd">
Specifies the JNDI name for looking up the ClientFactory. Defaults to &lt;code>java:comp/env/jbi/ClientFactory&lt;/code>.
</td></tr><tr><td class="confluenceTd"> propagateSecuritySubject </td><td
class="confluenceTd"> <em>boolean</em> </td><td class="confluenceTd">
When set to &lt;code>true&lt;/code>, the security subject is propagated along
to the proxied endpoint. Defaults to &lt;code>false&lt;/code>. </td></tr><tr><td
class="confluenceTd"> service </td><td class="confluenceTd"> <em>javax.xml.namespace.QName</em>
</td><td class="confluenceTd"> Specifies the servicemodel service name </td></tr><tr><td
class="confluenceTd"> type </td><td class="confluenceTd"> <em>java.lang.Class</em>
</td><td class="confluenceTd"> Specifies the webservice POJO type </td></tr><tr><td
class="confluenceTd"> useJBIWrapper </td><td class="confluenceTd"> 
 <em>boolean</em> </td><td class="confluenceTd"> Specifies if the
endpoint expects to receive the JBI wrapper in the message received from the NMR. The default
is &lt;code>true&lt;/code>. Ignore the value of useSOAPEnvelope if useJBIWrapper
is true </td></tr><tr><td class="confluenceTd"> useSOAPEnvelope </td><td
class="confluenceTd"> <em>boolean</em> </td><td class="confluenceTd">
Specifies if the endpoint expects soap messages when useJBIWrapper is false, if useJBIWrapper
is true then ignore useSOAPEnvelope. The default is &lt;code>true&lt;/code>.
</td></tr></table></div>
+        </div>
+      
+          </div>
+    <div id="siteFooter">
+      &copy; 2008-2012 The Apache Software Foundation - <a href="http://servicemix.apache.org/site/privacy-policy.html">Privacy
Policy</a>
+      <br/>
+      Apache ServiceMix, ServiceMix, Apache, the Apache feather logo, and the Apache ServiceMix
project logo are trademarks of The Apache Software Foundation.
+    </div>
+  </div>
+</body>
+</html>
\ No newline at end of file

Added: servicemix/site/production/docs/4.5.x/jbi/components/servicemix-drools.html
URL: http://svn.apache.org/viewvc/servicemix/site/production/docs/4.5.x/jbi/components/servicemix-drools.html?rev=1479168&view=auto
==============================================================================
--- servicemix/site/production/docs/4.5.x/jbi/components/servicemix-drools.html (added)
+++ servicemix/site/production/docs/4.5.x/jbi/components/servicemix-drools.html Sat May  4
19:53:07 2013
@@ -0,0 +1,132 @@
+
+<!DOCTYPE html>
+<html>
+<head>
+  <title>Apache ServiceMix Documentation - </title>
+
+  <link href="../../theme/master.css" rel="stylesheet" type="text/css" />
+  <link href="../../theme/pygmentize.css" rel="stylesheet" type="text/css" />
+  
+  <script type="text/javascript" src="../../scripts/jquery.js"></script>
+  <script type="text/javascript" src="../../scripts/jquery.cookie.js"></script>
+  <script type="text/javascript" src="../../scripts/jquery.jstree.js"></script>
+
+  <script>
+    $(document).ready(function(){
+	  $("#nav").jstree({
+		"themes": {
+		  "theme": "apple", "dots": false
+		},
+		"plugins" : [ "themes", "html_data", "cookies", "themes" ]
+  	  });
+    });
+  </script>
+  <script type="text/javascript">
+    var _gaq = _gaq || [];
+    _gaq.push(['_setAccount', 'UA-398545-1']);
+    _gaq.push(['_trackPageview']);
+
+    (function() {
+      var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async =
true;
+      ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') +
'.google-analytics.com/ga.js';
+      var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+    })();
+  </script>
+</head>
+<body>
+  <div id="page">
+    <div id="siteHeader">
+      <table width="100%">
+      <tr valign="middle">
+        <td align="left">
+            <a href="http://servicemix.apache.org/" title="An open source ESB">
+            <img border="0" src="../../images/logodesign.png" height="80"/><img
border="0" height="80" src="../../images/new-logo.png" />
+            </a>
+          </td>
+          <td align="right">
+            <a href="http://www.apache.org/" title="The Apache Sofware Foundation">
+              <img border="0" height="60" src="../../images/ASF-logo.png">
+            </a>
+            <ul class="siteNav">
+              <li><a href="../../index.html" title="Overview">Guides Overview</a></li>
+              <li><a href="../../contribute.html" title="Contributing?">Contributing?</a></li>
+              <li>
+                <form action="http://www.google.com/search" method="get" style="font-size:
10px;">
+                  <input name="ie" type="hidden" value="UTF-8"></input>
+                  <input name="oe" type="hidden" value="UTF-8"></input>
+                  <input maxlength="255" name="q" size="15" type="text" value=""></input>
+                  <input name="btnG" type="submit" value="Search"></input>
+                  <input name="domains" type="hidden" value="servicemix.apache.org/docs/4.4.x"></input>
+                  <input name="sitesearch" type="hidden" value="servicemix.apache.org/docs/4.4.x"></input>
+                </form>
+              </li>
+            </ul>
+          </td>
+        </tr>
+      </table>
+    </div>
+    <div id="content">
+              <div id="nav">
+            
+<ul>
+    <li id="jbi-introduction">
+        <a href="#">Introducing JBI</a>
+        <ul>
+            <li id="jbi-what-is-jbi">
+                <a href="../intro/what-is-jbi.html">What is JBI?</a>
+            </li>
+            <li id="jbi-meps">
+                <a href="../intro/meps.html">JBI MEPs</a>
+            </li>
+            <li id="jbi-api">
+                <a href="../intro/api.html">JBI API</a>
+            </li>
+        </ul>
+    </li>
+    <li id="jbi-components">
+        <a href="index.html">JBI Components</a>
+        <ul>
+            <li id="servicemix-bean"><a href="servicemix-bean.html">servicemix-bean</a></li>
+            <li id="servicemix-camel"><a href="servicemix-camel.html">servicemix-camel</a></li>
+            <li id="servicemix-cxf-bc"><a href="servicemix-cxf-bc.html">servicemix-cxf-bc</a></li>
+            <li id="servicemix-cxf-se"><a href="servicemix-cxf-se.html">servicemix-cxf-se</a></li>
+            <li id="servicemix-drools"><a href="servicemix-drools.html">servicemix-drools</a></li>
+            <li id="servicemix-eip"><a href="servicemix-eip.html">servicemix-eip</a></li>
+            <li id="servicemix-exec"><a href="servicemix-exec.html">servicemix-exec</a></li>
+            <li id="servicemix-file"><a href="servicemix-file.html">servicemix-file</a></li>
+            <li id="servicemix-ftp"><a href="servicemix-ftp.html">servicemix-ftp</a></li>
+            <li id="servicemix-http"><a href="servicemix-http.html">servicemix-http</a></li>
+            <li id="servicemix-jms"><a href="servicemix-jms.html">servicemix-jms</a></li>
+            <li id="servicemix-mail"><a href="servicemix-mail.html">servicemix-mail</a></li>
+            <li id="servicemix-osworkflow"><a href="servicemix-osworkflow.html">servicemix-osworkflow</a></li>
+            <li id="servicemix-quartz"><a href="servicemix-quartz.html">servicemix-quartz</a></li>
+            <li id="servicemix-saxon"><a href="servicemix-saxon.html">servicemix-saxon</a></li>
+            <li id="servicemix-scripting"><a href="servicemix-scripting.html">servicemix-scripting</a></li>
+            <li id="servicemix-snmp"><a href="servicemix-snmp.html">servicemix-snmp</a></li>
+            <li id="servicemix-validation"><a href="servicemix-validation.html">servicemix-validation</a></li>
+            <li id="servicemix-vfs"><a href="servicemix-vfs.html">servicemix-vfs</a></li>
+            <li id="servicemix-wsn2005"><a href="servicemix-wsn2005.html">servicemix-wsn2005</a></li>
+            <li id="servicemix-xmpp"><a href="servicemix-xmpp.html">servicemix-xmpp</a></li>
+        </ul>
+    </li>
+</ul>
+
+        </div>
+        <div id="body">
+                    <div class="note">
+            <h1>JBI Support deprecated in Apache ServiceMix 4</h1>
+            <p>JBI 1.0 support is available in Apache ServiceMix 4 to allow existing
users to migrate more easily to this latest version - if you're a new user, you should consider
JBI deprecated and not use it for your project.
+            Take a look at our <a href="../../users-guide/getting-started/technology-selection.html"</a>technology
selection guidelines</a> for more information.</p>
+          </div>
+                    <h2 id="servicemixdrools">servicemix-drools</h2><h3 id="Overview">Overview</h3><p>The
ServiceMix Drools component provides JBI integration to the Drools Rules Engine.</p><p>This
Service Engine can be used to deploy a rules set that will implement a router or an actual
service.</p><p>A router will mostly act as a transparent proxy between the consumer
and the target service provider mad will mostly be implemented by the jbi.route(uri) method
below. This method creates a new exchange identical to the one received by the component and
will send it to the specified destination. You can also send back a Fault if needed. A router
can also be implemented by using directly the JBI Apis (available with the jbi helper) by
using the provided client.</p><h4 id="Namespaceandxbean.xml">Namespace and xbean.xml</h4><p>The
namespace URI for the servicemix-bean JBI component is <tt>http://servicemix.apache.org/drools/1.0</tt>.
 This is an example of an <tt>xbean.xml</tt> f
 ile with a namespace definition with prefix <tt>bean</tt>.</p><div class="syntax"><div
class="highlight"><pre><span class="nt">&lt;beans</span> <span
class="na">xmlns:drools=</span><span class="s">&quot;http://servicemix.apache.org/drools/1.0&quot;</span><span
class="nt">&gt;</span>&#x000A;&#x000A;  <span class="c">&lt;!--
add drools:endpoint definitions here --&gt;</span>&#x000A;&#x000A;<span
class="nt">&lt;/beans&gt;</span>&#x000A;</pre></div>&#x000A;</div><h4
id="Endpointtypes">Endpoint types</h4><p>The servicemix-drools component defines
one endpoint type:</p><ul style="list-style: square"><li><p><tt>drools:endpoint</tt>
:: no description yet</p></li></ul><h3 id="droolsendpoint"><tt>drools:endpoint</tt></h3><h4
id="Endpointproperties">Endpoint properties</h4><div class="table-wrap"><table
class="confluenceTable"><tr><th class="confluenceTh"> Property Name </th><th
class="confluenceTh"> Type </th><th class="confluenceTh"> Description </th></tr><tr><td
class="confluenceTd"
 > assertedObjects </td><td class="confluenceTd"> (<em>java.lang.Object</em>)\*
</td><td class="confluenceTd"> List of additional objects to be inserted into
the drools working memory for evaluating rules. </td></tr><tr><td class="confluenceTd">
autoReply </td><td class="confluenceTd"> <em>boolean</em> </td><td
class="confluenceTd"> Will this endpoint automatically reply to any exchanges not handled
by the Drools rulebase? </td></tr><tr><td class="confluenceTd"> component
</td><td class="confluenceTd"> <em><a href="#org.apache.servicemix.common.DefaultComponenttypes">org.apache.servicemix.common.DefaultComponent</a></em>
</td><td class="confluenceTd">  </td></tr><tr><td class="confluenceTd">
defaultTargetService </td><td class="confluenceTd"> <em>javax.xml.namespace.QName</em>
</td><td class="confluenceTd"> The default service that the exchange will be sent
to if none of the rules have handled it. </td></tr><tr><td class="confluenceTd">
defaultTargetURI </td><td class="conflu
 enceTd"> <em>java.lang.String</em> </td><td class="confluenceTd">
The default endpoint URI that the exchange will be sent to if none of the rules have handled
it. </td></tr><tr><td class="confluenceTd"> endpoint </td><td
class="confluenceTd"> <em>java.lang.String</em> </td><td class="confluenceTd">
&lt;p> Get the endpoint implementation. &lt;/p> </td></tr><tr><td
class="confluenceTd"> globals </td><td class="confluenceTd"> <em>java.util.Map</em>
</td><td class="confluenceTd"> The global variables that are available while evaluating
the rule base. </td></tr><tr><td class="confluenceTd"> interfaceName
</td><td class="confluenceTd"> <em>javax.xml.namespace.QName</em>
</td><td class="confluenceTd"> &lt;p> Get the qualified name of the endpoint
interface. &lt;/p> </td></tr><tr><td class="confluenceTd">
namespaceContext </td><td class="confluenceTd"> <em><a href="#javax.xml.namespace.NamespaceContexttypes">javax.xml.namespace.NamespaceContext</a></em>
</td><td class="confluenceTd"
 > The namespace context to use when evaluating the rules. </td></tr><tr><td
class="confluenceTd"> ruleBase </td><td class="confluenceTd"> <em>org.drools.RuleBase</em>
</td><td class="confluenceTd"> Set the rule base to be used for handling the exchanges
</td></tr><tr><td class="confluenceTd"> ruleBaseResource </td><td
class="confluenceTd"> <em>org.springframework.core.io.Resource</em> </td><td
class="confluenceTd"> Specifies the resource location to load the rule base from (.drl
file) </td></tr><tr><td class="confluenceTd"> ruleBaseURL </td><td
class="confluenceTd"> <em>java.net.URL</em> </td><td class="confluenceTd">
Specifies a URL to load the rule base from (.drl file) </td></tr><tr><td
class="confluenceTd"> service </td><td class="confluenceTd"> <em>javax.xml.namespace.QName</em>
</td><td class="confluenceTd"> &lt;p> Get the service qualified name of
the endpoint. &lt;/p> </td></tr><tr><td class="confluenceTd">
su </td><td class="confluenceTd"> <em>org.apache.servicemix.
 common.ServiceUnit</em> </td><td class="confluenceTd">  </td></tr></table></div>
+        </div>
+      
+          </div>
+    <div id="siteFooter">
+      &copy; 2008-2012 The Apache Software Foundation - <a href="http://servicemix.apache.org/site/privacy-policy.html">Privacy
Policy</a>
+      <br/>
+      Apache ServiceMix, ServiceMix, Apache, the Apache feather logo, and the Apache ServiceMix
project logo are trademarks of The Apache Software Foundation.
+    </div>
+  </div>
+</body>
+</html>
\ No newline at end of file



Mime
View raw message