servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject svn commit: r1479168 [19/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-quartz.html
URL: http://svn.apache.org/viewvc/servicemix/site/production/docs/4.5.x/jbi/components/servicemix-quartz.html?rev=1479168&view=auto
==============================================================================
--- servicemix/site/production/docs/4.5.x/jbi/components/servicemix-quartz.html (added)
+++ servicemix/site/production/docs/4.5.x/jbi/components/servicemix-quartz.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="servicemixquartz">servicemix-quartz</h2><h3 id="Overview">Overview</h3><p>The servicemix-quartz component is a standard JBI Service Engine able to schedule and trigger jobs using the great Quartz scheduler.</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/quartz/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:osworkflow=</span><span class="s">&quot;http://servicemix.apache.org/quartz/1.0&quot;</span><span class="nt">&gt;</span>&#x000A;&#x000A;  <span class="c">&lt;!-- add quartz:endpoint 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-quartz component de
 fines a single endpoint type:</p><ul style="list-style: square"><li><p><tt>quartz:endpoint</tt> :: The quartz endpoint can be used to fire message exchanges at a given (recurrent) time.</p></li></ul><h3 id="quartzendpoint"><tt>quartz: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"> calendars </td><td class="confluenceTd"> <em>java.util.Map</em> </td><td class="confluenceTd"> A map with {@link org.quartz.Calendar} instances to define the trigger schedule. </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"> interfaceName </td><td class="confluenceTd"> <em>javax.xml.namespa
 ce.QName</em> </td><td class="confluenceTd"> &lt;p> Get the qualified name of the endpoint interface. &lt;/p> </td></tr><tr><td class="confluenceTd"> jobDetail </td><td class="confluenceTd"> <em><a href="#org.quartz.JobDetailtypes">org.quartz.JobDetail</a></em> </td><td class="confluenceTd"> Set a custom JobDetail bean to be used in the triggered events. </td></tr><tr><td class="confluenceTd"> marshaler </td><td class="confluenceTd"> <em>org.apache.servicemix.quartz.support.QuartzMarshaler</em> </td><td class="confluenceTd"> Set a custom marshaler class to translate the JobDetail information into a normalized message. </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"> targetEndpoint </td><td class="confluenceTd"> <em>java.lang.String</em> </td><td class="confluenceTd"> the name of 
 the endpoint to which requests are sent </td></tr><tr><td class="confluenceTd"> targetInterface </td><td class="confluenceTd"> <em>javax.xml.namespace.QName</em> </td><td class="confluenceTd"> the QName of the interface to which requests are sent </td></tr><tr><td class="confluenceTd"> targetOperation </td><td class="confluenceTd"> <em>javax.xml.namespace.QName</em> </td><td class="confluenceTd"> the QName of the operation to which requests are sent </td></tr><tr><td class="confluenceTd"> targetService </td><td class="confluenceTd"> <em>javax.xml.namespace.QName</em> </td><td class="confluenceTd"> the QName of the service to which requests are sent </td></tr><tr><td class="confluenceTd"> targetUri </td><td class="confluenceTd"> <em>java.lang.String</em> </td><td class="confluenceTd"> &lt;p> Gets the target URI of the consumer endpoint. &lt;/p> </td></tr><tr><td class="confluenceTd"> trigger </td><td class="confluenceTd"> <em><a href="#org.quartz.Triggertypes">org.quartz.Trig
 ger</a></em> </td><td class="confluenceTd"> A single {@link org.quartz.Trigger} instance to define the trigger schedule. </td></tr><tr><td class="confluenceTd"> triggers </td><td class="confluenceTd"> (<em>java.lang.Object</em>)\* </td><td class="confluenceTd"> A list of of {@link org.quartz.Trigger} instances to allow configuring multiple schedules for the same endpoint. </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-saxon.html
URL: http://svn.apache.org/viewvc/servicemix/site/production/docs/4.5.x/jbi/components/servicemix-saxon.html?rev=1479168&view=auto
==============================================================================
--- servicemix/site/production/docs/4.5.x/jbi/components/servicemix-saxon.html (added)
+++ servicemix/site/production/docs/4.5.x/jbi/components/servicemix-saxon.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="servicemixsaxon">servicemix-saxon</h2><h3 id="Overview">Overview</h3><p>The servicemix-saxon component is a standard JBI Service Engine for XSLT / XQuery. This component is based on Saxon and supports XSLT 2.0 and XPath 2.0, and XQuery 1.0.</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/saxon/1.0</tt>.  This is an example of <tt>xbean.xml</tt> file with a namespace definition with prefix <tt>saxon</tt>.</p><div class="syntax"><div class="highlight"><pre>    <span class="nt">&lt;beans</span> <span class="na">xmlns:saxon=</span><span class="s">&quot;http://servicemix.apache.org/saxon  /1.0&quot;</span><span class="nt">&gt;</span>&#x000A;&#x000A;      <span class="c">&lt;!-- add saxon:xslt, saxon:xquery or saxon:proxy 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-saxon component defines these endpoints:</p><ul><li><p><a href="#xslt.html"><tt>saxon:xslt</tt></a>: Translates the in message content using XSLT to send back the translated content in the out message</p></li><li><p><tt>saxon:proxy</tt>: Acts as a proxy for an endpoint, translating the message passed to/from the endpoint using XSLT</p></li><li><p><tt>saxon:xquery</tt>: Use xquery to extract parts of the XML</p></li></ul><h3 id="Endpointsaxonxsltanchorxslt">Endpoint <tt>saxon:xslt</tt> <span id="xslt"></span></h3><p>The XSLT endpoint can be used to apply an XSLT stylesheet to the incoming exchange and will return the transformed result as the output message.</p><div class="syntax"><div class="highlight"><pre><span class="nt">&lt;saxon:xslt</span> <span class="na">service=</span><span class="s">&quot;test:xslt&quot;</span> <span class="na">endpoint=</span><span class="s">&quot;endpoint&quot;</span>&#x000A;            <spa
 n class="na">resource=</span><span class="s">&quot;classpath:transform.xsl&quot;</span> <span class="nt">/&gt;</span>&#x000A;</pre></div>&#x000A;</div><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"> configuration </td><td class="confluenceTd"> <em>net.sf.saxon.Configuration</em> </td><td class="confluenceTd"> Additional configuration for the Saxon XSL-T/XQuery processor. </td></tr><tr><td class="confluenceTd"> copyAttachments </td><td class="confluenceTd"> <em>boolean</em> </td><td class="confluenceTd"> Copy attachments into the resulting normalized message. Defaults to &lt;code>true&lt;/code>. </td></tr><tr><td class="confluenceTd"> copyProperties </td><td class="confluenceTd"> <em>boolean</em> </td><td class="confluenceTd"> Copy properties into the result
 ing normalized message. Defaults to &lt;code>true&lt;/code>. </td></tr><tr><td class="confluenceTd"> copySubject </td><td class="confluenceTd"> <em>boolean</em> </td><td class="confluenceTd"> Copy the security subject into the resulting normalized message. Defaults to &lt;code>true&lt;/code>. </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"> expression </td><td class="confluenceTd"> <em>org.apache.servicemix.expression.Expression</em> </td><td class="confluenceTd"> Expression to dynamically determine the stylesheet to use for processing the exchange. </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"> p
 arameters </td><td class="confluenceTd"> <em>java.util.Map</em> </td><td class="confluenceTd"> Add parameter names and values that are available during XSL/XQuery processing. </td></tr><tr><td class="confluenceTd"> reload </td><td class="confluenceTd"> <em>boolean</em> </td><td class="confluenceTd"> Sets whether the endpoint should reload the resource each time it is used. A value of &lt;code>true&lt;/code> will ensure that the resource is not cached which can be useful if the resource is updated regularly and is stored outside of the service unit. </td></tr><tr><td class="confluenceTd"> resource </td><td class="confluenceTd"> <em>org.springframework.core.io.Resource</em> </td><td class="confluenceTd"> Spring Resource for the XSL-T stylesheet or XQuery file to use. </td></tr><tr><td class="confluenceTd"> result </td><td class="confluenceTd"> <em>java.lang.String</em> </td><td class="confluenceTd"> The output result type, possible values are dom, bytes, string. Defaults to do
 m. </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"> sourceTransformer </td><td class="confluenceTd"> <em>org.apache.servicemix.jbi.jaxp.SourceTransformer</em> </td><td class="confluenceTd"> Set a SourceTransformer instance to use for handling XML conversions. </td></tr><tr><td class="confluenceTd"> transformerFactory </td><td class="confluenceTd"> <em>javax.xml.transform.TransformerFactory</em> </td><td class="confluenceTd"> Set a transform factory, e.g. for injecting a custom transformer configuration or implementation. </td></tr><tr><td class="confluenceTd"> useDomSourceForContent </td><td class="confluenceTd"> <em>java.lang.Boolean</em> </td><td class="confluenceTd"> Convert the message body Source into a DOMSource. Defaults to &lt;code>false&lt;/true>. </td></tr><tr><td class
 ="confluenceTd"> useDomSourceForXslt </td><td class="confluenceTd"> <em>boolean</em> </td><td class="confluenceTd"> Convert the XSL-T stylesheet Source into a DOMSource. Defaults to &lt;code>true&lt;/true>. </td></tr><tr><td class="confluenceTd"> wsdlResource </td><td class="confluenceTd"> <em>org.springframework.core.io.Resource</em> </td><td class="confluenceTd"> Resource referring to the WSDL resource that defines this endpoint. </td></tr></table></div><h4 id="Mandatoryproperties">Mandatory properties</h4><p>The endpoint requires one of these two properties to be specified:</p><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Attribute </th><th class="confluenceTh"> Type </th><th class="confluenceTh"> description </th></tr><tr><td class="confluenceTd"> <tt>resource</tt> </td><td class="confluenceTd"> (<a href="http://springframework.org/docs/api/org/springframework/core/io/Resource.html">Spring resource</a>) </td><td class="confluenceTd"
 > the spring resource pointing to the XSLT stylesheet </td></tr><tr><td class="confluenceTd"> <tt>expression</tt> </td><td class="confluenceTd"> (<a href="http://incubator.apache.org/servicemix/dist/servicemix-3.0-incubating/site/servicemix-core/apidocs/org/apache/servicemix/expression/Expression.html">ServiceMix expression</a>) </td><td class="confluenceTd"> expression used to dynamically load the stylesheet </td></tr></table></div><h4 id="Optionalproperties">Optional properties</h4><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Attribute </th><th class="confluenceTh"> Type </th><th class="confluenceTh"> description </th></tr><tr><td class="confluenceTd"> <tt>wsdlResource</tt> </td><td class="confluenceTd">(<a href="http://springframework.org/docs/api/org/springframework/core/io/Resource.html">Spring resource</a>) </td><td class="confluenceTd"> if set, the wsdl will be retrieved from the given Spring resource </td></tr><tr><td class="co
 nfluenceTd"> <tt>transformerFactory</tt> </td><td class="confluenceTd"> (TransformerFactory, defaults to the Saxon implementation) </td><td class="confluenceTd"> TraX factory to create transformers </td></tr><tr><td class="confluenceTd"> <tt>configuration</tt> </td><td class="confluenceTd"> (<a href="http://www.saxonica.com/documentation/javadoc/net/sf/saxon/Configuration.html">Saxon configuration</a>) </td><td class="confluenceTd"> Saxon configuration object </td></tr><tr><td class="confluenceTd"> <tt>result</tt> </td><td class="confluenceTd"> (String, defaults to <tt>dom</tt>) </td><td class="confluenceTd"> Allows specifying the output result type, possible values are <tt>dom</tt>, <tt>bytes</tt>, <tt>string</tt> </td></tr><tr><td class="confluenceTd"> <tt>copyAttachments</tt>, <tt>copyProperties</tt> and <tt>copySubject</tt> </td><td class="confluenceTd"> (default to <tt>true</tt> </td><td class="confluenceTd">  Configure to copy message attachments, properties and securi
 ty subject over to the result message </td></tr><tr><td class="confluenceTd"> <tt>useDomSourceForXslt</tt> </td><td class="confluenceTd"> (defaults to <tt>true</tt> </td><td class="confluenceTd"> when set to <tt>true</tt>, forces the transformation of the xslt stylesheet into a DOM document before giving it to the transformer </td></tr><tr><td class="confluenceTd"> <tt>useDomSourceForContent</tt> </td><td class="confluenceTd"> (defaults to <tt>false</tt>) </td><td class="confluenceTd"> when set to <tt>true</tt>, forces the transformation of the incoming JBI message into a DOM document before giving it to the transformer </td></tr><tr><td class="confluenceTd"> <tt>parameters</tt> </td><td class="confluenceTd"> a <tt>Map</tt> </td><td class="confluenceTd"> containing additional parameters to give to the transformation engine </td></tr></table></div><h4 id="Usingpropertiesandparameters">Using properties and parameters</h4><p>All properties defined on the JBI exchange and input 
 JBI message will be available for use inside the XSLT stylesheet as parameters.</p><p>In addition to those properties and the one specified in the <tt>parameters</tt> property on the endpoint, the following objects are also available:</p><ul><li><p><tt>exchange</tt> : the JBI exchange</p></li><li><p><tt>in</tt> : the input JBI NormalizedMessage</p></li><li><p><tt>component</tt> : the XsltEndpoint instance being called</p></li></ul><p>Below is an example that demonstrates how the properties of the exchange and normalized message can be accessed from inside the xslt.</p><div class="syntax"><div class="highlight"><pre><span class="cp">&lt;?xml version=&quot;1.0&quot; encoding=&quot;windows-1253&quot;?&gt;</span>&#x000A;<span class="nt">&lt;xsl:stylesheet</span> <span class="na">xmlns:xsl=</span><span class="s">&quot;http://www.w3.org/1999/XSL/Transform&quot;</span> <span class="na">version=</span><span class="s">&quot;2.0&quot;</span>&#x000A;                <span class="na">xml
 ns:class=</span><span class="s">&quot;http://saxon.sf.net/java-type&quot;</span>&#x000A;                <span class="na">xmlns:me=</span><span class="s">&quot;java:javax.jbi.messaging.MessageExchange&quot;</span>&#x000A;                <span class="na">xmlns:nm=</span><span class="s">&quot;java:javax.jbi.messaging.NormalizedMessage&quot;</span><span class="nt">&gt;</span>&#x000A;    <span class="nt">&lt;xsl:output</span> <span class="na">method=</span><span class="s">&quot;xml&quot;</span> <span class="na">indent=</span><span class="s">&quot;yes&quot;</span> <span class="na">encoding=</span><span class="s">&quot;ISO-8859-1&quot;</span><span class="nt">/&gt;</span>&#x000A;    <span class="nt">&lt;xsl:param</span> <span class="na">name=</span><span class="s">&quot;exchange&quot;</span> <span class="na">as=</span><span class="s">&quot;class:javax.jbi.messaging.MessageExchange&quot;</span><span class="nt">/&gt;</span>&#x000A;    <span class="nt">&lt;xsl:param</span> <span class=
 "na">name=</span><span class="s">&quot;in&quot;</span> <span class="na">as=</span><span class="s">&quot;class:javax.jbi.messaging.NormalizedMessage&quot;</span><span class="nt">/&gt;</span>&#x000A;&#x000A;    <span class="nt">&lt;xsl:template</span> <span class="na">match=</span><span class="s">&quot;/&quot;</span><span class="nt">&gt;</span>&#x000A;    <span class="nt">&lt;message&gt;</span>&#x000A;        <span class="c">&lt;!-- The value of messageId will be read from thr property MSG_ID of the &quot;in&quot; NormalizedMessage --&gt;</span>&#x000A;        <span class="nt">&lt;messageId&gt;</span>&#x000A;            <span class="nt">&lt;xsl:value-of</span> <span class="na">select=</span><span class="s">&quot;nm:getProperty($in, &#39;MSG_ID&#39;)&quot;</span><span class="nt">/&gt;</span>&#x000A;        <span class="nt">&lt;/messageId&gt;</span>&#x000A;    <span class="nt">&lt;/message&gt;</span>&#x000A;<span class="nt">&lt;/xsl:stylesheet&gt;</span>    &#x000A;</pre></div>&
 #x000A;</div><p>All those parameters can be accessed using XSLT standard ways using <tt>&lt;xsl:param/></tt>.</p><h3 id="Endpointsaxonproxy">Endpoint <tt>saxon:proxy</tt></h3><p>One common use case is the need to transform a request coming from a service and send it to another service and do the same with the response.  A simple example is the need to translate the request and responses between two SOAP endpoints.  Such a use case could be implemented using two XSLT endpoints and an EIP StaticRoutingSlip.  However, there are some drawbacks, as the operation is lost in the process, and a static routing slip can not be used to process InOnly exchanges.</p><div class="syntax"><div class="highlight"><pre><span class="nt">&lt;saxon:proxy</span> <span class="na">service=</span><span class="s">&quot;test:proxy&quot;</span> <span class="na">endpoint=</span><span class="s">&quot;endpoint&quot;</span>&#x000A;             <span class="na">resource=</span><span class="s">&quot;classpath
 :transform-in.xsl&quot;</span>&#x000A;             <span class="na">outResource=</span><span class="s">&quot;classpath:transform-out.xsl&quot;</span>&#x000A;             <span class="na">faultResource=</span><span class="s">&quot;classpath:transform-fault.xsl&quot;</span><span class="nt">&gt;</span>&#x000A;  <span class="nt">&lt;saxon:target&gt;</span>&#x000A;    <span class="nt">&lt;saxon:exchange-target</span> <span class="na">service=</span><span class="s">&quot;test:echo&quot;</span> <span class="nt">/&gt;</span>&#x000A;  <span class="nt">&lt;/saxon:target&gt;</span>&#x000A;<span class="nt">&lt;/saxon:proxy&gt;</span>&#x000A;</pre></div>&#x000A;</div><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"> configuration </td><td class="confluenceTd"> <em>net.sf
 .saxon.Configuration</em> </td><td class="confluenceTd"> Additional configuration for the Saxon XSL-T/XQuery processor. </td></tr><tr><td class="confluenceTd"> copyAttachments </td><td class="confluenceTd"> <em>boolean</em> </td><td class="confluenceTd"> Copy attachments into the resulting normalized message. Defaults to &lt;code>true&lt;/code>. </td></tr><tr><td class="confluenceTd"> copyProperties </td><td class="confluenceTd"> <em>boolean</em> </td><td class="confluenceTd"> Copy properties into the resulting normalized message. Defaults to &lt;code>true&lt;/code>. </td></tr><tr><td class="confluenceTd"> copySubject </td><td class="confluenceTd"> <em>boolean</em> </td><td class="confluenceTd"> Copy the security subject into the resulting normalized message. Defaults to &lt;code>true&lt;/code>. </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"> expression </td><td class="confluenceTd"> <em>org.apache.servicemix.expression.Expression</em> </td><td class="confluenceTd"> Expression to dynamically determine the stylesheet to use for processing the exchange. </td></tr><tr><td class="confluenceTd"> faultResource </td><td class="confluenceTd"> <em>org.springframework.core.io.Resource</em> </td><td class="confluenceTd"> Spring Resource for the XSL-T stylesheet or XQuery file to use for transforming the 'fault' message. </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"> outResource </td><td class="confluenceTd"> <em>org.springframework.core.io.Resource</em> </td><td class="confluenceTd"> Spring Resource for the XSL-T stylesheet or XQuery file to use for transforming the 'out' mess
 age. </td></tr><tr><td class="confluenceTd"> parameters </td><td class="confluenceTd"> <em>java.util.Map</em> </td><td class="confluenceTd"> Add parameter names and values that are available during XSL/XQuery processing. </td></tr><tr><td class="confluenceTd"> reload </td><td class="confluenceTd"> <em>boolean</em> </td><td class="confluenceTd"> Sets whether the endpoint should reload the resource each time it is used. A value of &lt;code>true&lt;/code> will ensure that the resource is not cached which can be useful if the resource is updated regularly and is stored outside of the service unit. </td></tr><tr><td class="confluenceTd"> resource </td><td class="confluenceTd"> <em>org.springframework.core.io.Resource</em> </td><td class="confluenceTd"> Spring Resource for the XSL-T stylesheet or XQuery file to use. </td></tr><tr><td class="confluenceTd"> result </td><td class="confluenceTd"> <em>java.lang.String</em> </td><td class="confluenceTd"> The output result type, possible
  values are dom, bytes, string. Defaults to dom. </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"> sourceTransformer </td><td class="confluenceTd"> <em>org.apache.servicemix.jbi.jaxp.SourceTransformer</em> </td><td class="confluenceTd"> Set a SourceTransformer instance to use for handling XML conversions. </td></tr><tr><td class="confluenceTd"> store </td><td class="confluenceTd"> <em>org.apache.servicemix.store.Store</em> </td><td class="confluenceTd"> Configure a custom Store implementation to store correlation information. Usually, a store factory is configured instead of a store. Defaults to {@link org.apache.servicemix.store.memory.MemoryStore}. </td></tr><tr><td class="confluenceTd"> storeFactory </td><td class="confluenceTd"> <em>org.apache.servicemix.store.StoreFactory</em
 > </td><td class="confluenceTd"> Configure a custom StoreFactory implementation to store correlation information. Defaults to {@link org.apache.servicemix.store.memory.MemoryStoreFactory}. </td></tr><tr><td class="confluenceTd"> target </td><td class="confluenceTd"> <em><a href="#org.apache.servicemix.saxon.support.ExchangeTargettypes">org.apache.servicemix.saxon.support.ExchangeTarget</a></em> </td><td class="confluenceTd"> Set the target endpoint that is being proxied by the &lt;code>xslt:proxy&lt;/code> endpoint. </td></tr><tr><td class="confluenceTd"> transformerFactory </td><td class="confluenceTd"> <em>javax.xml.transform.TransformerFactory</em> </td><td class="confluenceTd"> Set a transform factory, e.g. for injecting a custom transformer configuration or implementation. </td></tr><tr><td class="confluenceTd"> useDomSourceForContent </td><td class="confluenceTd"> <em>java.lang.Boolean</em> </td><td class="confluenceTd"> Convert the message body Source into a DOMSource
 . Defaults to &lt;code>false&lt;/true>. </td></tr><tr><td class="confluenceTd"> useDomSourceForXslt </td><td class="confluenceTd"> <em>boolean</em> </td><td class="confluenceTd"> Convert the XSL-T stylesheet Sources into a DOMSource. Defaults to &lt;code>true&lt;/true>. </td></tr><tr><td class="confluenceTd"> wsdlResource </td><td class="confluenceTd"> <em>org.springframework.core.io.Resource</em> </td><td class="confluenceTd"> Resource referring to the WSDL resource that defines this endpoint. </td></tr></table></div><h4 id="Mandatoryproperties2">Mandatory properties</h4><p>Depending on the MEP, you have to set one or more XSL stylesheets to be used for converting the message payloads:</p><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Attribute </th><th class="confluenceTh"> Type </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> <tt>resource</tt> </td><td class="confluenceTd"> <a href="http://springframe
 work.org/docs/api/org/springframework/core/io/Resource.html">Spring resource</a> </td><td class="confluenceTd"> the XSLT stylesheet used to transform the input message </td></tr><tr><td class="confluenceTd"> <tt>outResource</tt> </td><td class="confluenceTd"> <a href="http://springframework.org/docs/api/org/springframework/core/io/Resource.html">Spring resource</a> </td><td class="confluenceTd"> the XSLT stylesheet used to transform the output message </td></tr><tr><td class="confluenceTd"> <tt>faultResource</tt> </td><td class="confluenceTd"> <a href="http://springframework.org/docs/api/org/springframework/core/io/Resource.html">Spring resource</a> </td><td class="confluenceTd"> the XSLT stylesheet used to transform the fault message </td></tr><tr><td class="confluenceTd"> <tt>expression</tt> </td><td class="confluenceTd"> <a href="http://incubator.apache.org/servicemix/dist/servicemix-3.0-incubating/site/servicemix-core/apidocs/org/apache/servicemix/expression/Expression.h
 tml">ServiceMix expression</a> </td><td class="confluenceTd"> used to dynamically load the stylesheet. If set, it will prevail against all resource, outResource and faultResource attributes </td></tr></table></div><p>You also have to specify the target service that should be invoked from this endpoint:</p><ul><li><p><tt>target</tt> : ExchangeTarget that specifies the target service for the proxy endpoint</p></li></ul><h4 id="Optionalproperties2">Optional properties</h4><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Attribute </th><th class="confluenceTh"> Type </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> <tt>wsdlResource</tt> </td><td class="confluenceTd"> <a href="http://springframework.org/docs/api/org/springframework/core/io/Resource.html">Spring resource</a> </td><td class="confluenceTd"> if set, the wsdl will be retrieved from the given (<a href="http://springframework.org/docs/api/org/springfra
 mework/core/io/Resource.html">Spring resource</a>) </td></tr><tr><td class="confluenceTd"><p> <tt>transformerFactory</tt> (defaults to the Saxon implementation) :: TraX TransformerFactory to create transformers</p></td><td class="confluenceTd"> <tt>configuration</tt> </td><td class="confluenceTd"> (<a href="http://www.saxonica.com/documentation/javadoc/net/sf/saxon/Configuration.html">Saxon configuration</a>) </td></tr><tr><td class="confluenceTd"> <tt>result</tt> </td><td class="confluenceTd"><p> (defaults to <tt>dom</tt>) :: Allows specifying the output result type, possible values are <tt>dom</tt>, <tt>bytes</tt>, <tt>string</tt></p></td><td class="confluenceTd"> <tt>copyAttachments</tt>, <tt>copyProperties</tt> and <tt>copySubject</tt> </td></tr></table></div><h3 id="Endpointsaxonxquery">Endpoint <tt>saxon:xquery</tt></h3><p>The XQuery endpoint can be used to apply a selected XQuery to the input document.</p><div class="syntax"><div class="highlight"><pre><span class="nt
 ">&lt;saxon:xquery</span> <span class="na">service=</span><span class="s">&quot;test:xquery&quot;</span> <span class="na">endpoint=</span><span class="s">&quot;endpoint&quot;</span>&#x000A;              <span class="na">resource=</span><span class="s">&quot;classpath:query.xq&quot;</span> <span class="nt">/&gt;</span>&#x000A;</pre></div>&#x000A;</div><h4 id="Endpointproperties3">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"> configuration </td><td class="confluenceTd"> <em>net.sf.saxon.Configuration</em> </td><td class="confluenceTd"> Additional configuration for the Saxon XSL-T/XQuery processor. </td></tr><tr><td class="confluenceTd"> copyAttachments </td><td class="confluenceTd"> <em>boolean</em> </td><td class="confluenceTd"> Copy attachments into the resulting normalized message.
  Defaults to &lt;code>true&lt;/code>. </td></tr><tr><td class="confluenceTd"> copyProperties </td><td class="confluenceTd"> <em>boolean</em> </td><td class="confluenceTd"> Copy properties into the resulting normalized message. Defaults to &lt;code>true&lt;/code>. </td></tr><tr><td class="confluenceTd"> copySubject </td><td class="confluenceTd"> <em>boolean</em> </td><td class="confluenceTd"> Copy the security subject into the resulting normalized message. Defaults to &lt;code>true&lt;/code>. </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"> expression </td><td class="confluenceTd"> <em>org.apache.servicemix.expression.Expression</em> </td><td class="confluenceTd"> Expression to dynamically determine the stylesheet to use for processing the exchange. </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"> outputProperties </td><td class="confluenceTd"> <em>java.util.Properties</em> </td><td class="confluenceTd"> Configure serialization properties, in JAXP format, if the result is to be serialized. This parameter can be defaulted to null. </td></tr><tr><td class="confluenceTd"> parameters </td><td class="confluenceTd"> <em>java.util.Map</em> </td><td class="confluenceTd"> Add parameter names and values that are available during XSL/XQuery processing. </td></tr><tr><td class="confluenceTd"> query </td><td class="confluenceTd"> <em>java.lang.String</em> </td><td class="confluenceTd"> Configure the XQuery expression to evaluate. </td></tr><tr><td class="confluenceTd"> reload </td><td class="confluenceTd"> <em>boolean</em> </td><td class="confluenceTd"> Sets whether the endpoint sho
 uld reload the resource each time it is used. A value of &lt;code>true&lt;/code> will ensure that the resource is not cached which can be useful if the resource is updated regularly and is stored outside of the service unit. </td></tr><tr><td class="confluenceTd"> resource </td><td class="confluenceTd"> <em>org.springframework.core.io.Resource</em> </td><td class="confluenceTd"> Spring Resource for the XSL-T stylesheet or XQuery file to use. </td></tr><tr><td class="confluenceTd"> result </td><td class="confluenceTd"> <em>java.lang.String</em> </td><td class="confluenceTd"> The output result type, possible values are dom, bytes, string. Defaults to dom. </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"> sourceTransformer </td><td class="confluenceTd"> <em>org.apache.servicemix.jbi.
 jaxp.SourceTransformer</em> </td><td class="confluenceTd"> Set a SourceTransformer instance to use for handling XML conversions. </td></tr><tr><td class="confluenceTd"> wsdlResource </td><td class="confluenceTd"> <em>org.springframework.core.io.Resource</em> </td><td class="confluenceTd"> Resource referring to the WSDL resource that defines this endpoint. </td></tr></table></div><h4 id="Mandatoryproperties3">Mandatory properties</h4><p>You need to specify one of <tt>query</tt>, <tt>resource</tt> or <tt>expression</tt></p><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Attribute </th><th class="confluenceTh"> Type </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> <tt>query</tt> </td><td class="confluenceTd">  String </td><td class="confluenceTd"> containing the inlined XQuery expression </td></tr><tr><td class="confluenceTd"> <tt>resource</tt> </td><td class="confluenceTd"> <a href="http://springframework.o
 rg/docs/api/org/springframework/core/io/Resource.html">Spring resource</a> </td><td class="confluenceTd"> resource pointing to the XQuery </td></tr><tr><td class="confluenceTd"> <tt>expression</tt> </td><td class="confluenceTd"> <a href="http://incubator.apache.org/servicemix/dist/servicemix-3.0-incubating/site/servicemix-core/apidocs/org/apache/servicemix/expression/Expression.html">ServiceMix expression</a> </td><td class="confluenceTd"> expression to dynamically load the xquery </td></tr></table></div><h4 id="Optionalproperties3">Optional properties</h4><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Attribute </th><th class="confluenceTh"> Type </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> <tt>wsdlResource</tt> </td><td class="confluenceTd"> (<a href="http://springframework.org/docs/api/org/springframework/core/io/Resource.html">Spring resource</a>) </td><td class="confluenceTd"> WSDL describing th
 e endpoint </td></tr><tr><td class="confluenceTd"> <tt>outputProperties</tt> </td><td class="confluenceTd"> Map </td><td class="confluenceTd"> Saxon specific output properties </td></tr><tr><td class="confluenceTd"> <tt>configuration</tt> </td><td class="confluenceTd"> (<a href="http://www.saxonica.com/documentation/javadoc/net/sf/saxon/Configuration.html">Saxon configuration</a>) </td><td class="confluenceTd"> Saxon configuration object </td></tr><tr><td class="confluenceTd"> <tt>result</tt> </td><td class="confluenceTd"> (defaults to <tt>dom</tt>) </td><td class="confluenceTd"> Allows specifying the output result type, possible values are <tt>dom</tt>, <tt>bytes</tt>, <tt>string</tt> </td></tr><tr><td class="confluenceTd"> <tt>copyAttachments</tt>, <tt>copyProperties</tt> and <tt>copySubject</tt> </td><td class="confluenceTd"> (default to <tt>true</tt>) </td><td class="confluenceTd">  Configure to copy message attachments, properties and security subject over to the result
  message </td></tr></table></div><h3 id="Sampleconfigurations">Sample configurations</h3><h4 id="Dynamicstylesheetselectionsaxonxslt">Dynamic stylesheet selection (<tt>saxon:xslt</tt>)</h4><p>This endpoint configuration will dynamically load the XSL-T resource that is specified in the <tt>xslt.source</tt> property on the <tt>NormalizedMessage</tt></p><div class="syntax"><div class="highlight"><pre><span class="nt">&lt;saxon:xslt</span> <span class="na">service=</span><span class="s">&quot;test:xslt-dynamic&quot;</span> <span class="na">endpoint=</span><span class="s">&quot;endpoint&quot;</span><span class="nt">&gt;</span>&#x000A;  <span class="nt">&lt;saxon:expression&gt;</span>&#x000A;    <span class="nt">&lt;bean</span> <span class="na">class=</span><span class="s">&quot;org.apache.servicemix.expression.PropertyExpression&quot;</span><span class="nt">&gt;</span>&#x000A;      <span class="nt">&lt;property</span> <span class="na">name=</span><span class="s">&quot;property&qu
 ot;</span> <span class="na">value=</span><span class="s">&quot;xslt.source&quot;</span> <span class="nt">/&gt;</span>&#x000A;    <span class="nt">&lt;/bean&gt;</span>&#x000A;  <span class="nt">&lt;/saxon:expression&gt;</span>&#x000A;<span class="nt">&lt;/saxon:xslt&gt;</span>&#x000A;</pre></div>&#x000A;</div><h4 id="UsingparametersintheXSLTstylesheetsaxonxslt">Using parameters in the XSL-T stylesheet (<tt>saxon:xslt</tt>)</h4><p>You can define a Map of parameters on the <tt>saxon:xslt</tt> endpoint.</p><div class="syntax"><div class="highlight"><pre><span class="nt">&lt;saxon:xslt</span> <span class="na">service=</span><span class="s">&quot;test:xslt-params&quot;</span> <span class="na">endpoint=</span><span class="s">&quot;endpoint&quot;</span>&#x000A;            <span class="na">resource=</span><span class="s">&quot;classpath:parameter-test.xsl&quot;</span><span class="nt">&gt;</span>&#x000A;  <span class="nt">&lt;property</span> <span class="na">name=</span><span class="s
 ">&quot;parameters&quot;</span><span class="nt">&gt;</span>&#x000A;    <span class="nt">&lt;map&gt;</span>&#x000A;      <span class="nt">&lt;entry</span> <span class="na">key=</span><span class="s">&quot;stringParam&quot;</span> <span class="na">value=</span><span class="s">&quot;cheeseyCheese&quot;</span><span class="nt">/&gt;</span>&#x000A;      <span class="nt">&lt;entry</span> <span class="na">key=</span><span class="s">&quot;integerParam&quot;</span><span class="nt">&gt;</span>&#x000A;        <span class="nt">&lt;bean</span> <span class="na">class=</span><span class="s">&quot;java.lang.Integer&quot;</span><span class="nt">&gt;</span>&#x000A;          <span class="nt">&lt;constructor-arg</span> <span class="na">index=</span><span class="s">&quot;0&quot;</span> <span class="na">value=</span><span class="s">&quot;4002&quot;</span><span class="nt">/&gt;</span>&#x000A;        <span class="nt">&lt;/bean&gt;</span>&#x000A;      <span class="nt">&lt;/entry&gt;</span>&#x000A;   
  <span class="nt">&lt;/map&gt;</span>&#x000A;  <span class="nt">&lt;/property&gt;</span>&#x000A;<span class="nt">&lt;/saxon:xslt&gt;</span>&#x000A;</pre></div>&#x000A;</div><p>In the XSL file, you can access the parameter values with <tt>&lt;xsl:param/></tt>.  You can also access headers on the NormalizedMessage (like e.g. <tt>org.apache.servicemix.file</tt>) with the same syntax.</p><div class="syntax"><div class="highlight"><pre><span class="nt">&lt;xsl:stylesheet</span> <span class="na">xmlns:xsl=</span><span class="s">&#39;http://www.w3.org/1999/XSL/Transform&#39;</span> <span class="na">version=</span><span class="s">&#39;1.0&#39;</span><span class="nt">&gt;</span>&#x000A;  <span class="nt">&lt;xsl:param</span> <span class="na">name=</span><span class="s">&quot;stringParam&quot;</span><span class="nt">/&gt;</span>&#x000A;  <span class="nt">&lt;xsl:param</span> <span class="na">name=</span><span class="s">&quot;integerParam&quot;</span><span class="nt">/&gt;</span>&#x000
 A;  <span class="nt">&lt;xsl:param</span> <span class="na">name=</span><span class="s">&quot;org.apache.servicemix.file&quot;</span> <span class="nt">/&gt;</span>&#x000A;  ...&#x000A;<span class="nt">&lt;/xsl:stylesheet&gt;</span>&#x000A;</pre></div>&#x000A;</div><h4 id="InlinedXQueryandspecificoutputconfigurationsaxonxquery">Inlined XQuery and specific output configuration (<tt>saxon:xquery</tt>)</h4><div class="syntax"><div class="highlight"><pre><span class="nt">&lt;saxon:xquery</span> <span class="na">service=</span><span class="s">&quot;test:xquery-inline&quot;</span> <span class="na">endpoint=</span><span class="s">&quot;endpoint&quot;</span><span class="nt">&gt;</span>&#x000A;  <span class="nt">&lt;saxon:query&gt;</span>&#x000A;    for $x in /bookstore/book&#x000A;    where $x/price &gt; 30&#x000A;    return $x/title&#x000A;  <span class="nt">&lt;/saxon:query&gt;</span>&#x000A;  <span class="nt">&lt;saxon:outputProperties&gt;</span>&#x000A;    <span class="nt">&lt;sax
 on:property</span> <span class="na">key=</span><span class="s">&quot;{http://saxon.sf.net/}wrap-result-sequence&quot;</span><span class="nt">&gt;</span>yes<span class="nt">&lt;/saxon:property&gt;</span>&#x000A;  <span class="nt">&lt;/saxon:outputProperties&gt;</span>&#x000A;<span class="nt">&lt;/saxon:xquery&gt;</span>&#x000A;</pre></div>&#x000A;</div><h4 id="DynamicXQueryselectionsaxonxquery">Dynamic XQuery selection (<tt>saxon:xquery</tt>)</h4><p>This endpoint configuration will dynamically load the XQuery resource that is specified in the <tt>xquery.source</tt> property on the <tt>NormalizedMessage</tt></p><div class="syntax"><div class="highlight"><pre><span class="nt">&lt;saxon:xquery</span> <span class="na">service=</span><span class="s">&quot;test:xquery-dynamic&quot;</span> <span class="na">endpoint=</span><span class="s">&quot;endpoint&quot;</span><span class="nt">&gt;</span>&#x000A;  <span class="nt">&lt;saxon:expression&gt;</span>&#x000A;    <span class="nt">&lt;b
 ean</span> <span class="na">class=</span><span class="s">&quot;org.apache.servicemix.expression.PropertyExpression&quot;</span><span class="nt">&gt;</span>&#x000A;      <span class="nt">&lt;property</span> <span class="na">name=</span><span class="s">&quot;property&quot;</span> <span class="na">value=</span><span class="s">&quot;xquery.source&quot;</span> <span class="nt">/&gt;</span>&#x000A;    <span class="nt">&lt;/bean&gt;</span>&#x000A;  <span class="nt">&lt;/saxon:expression&gt;</span>&#x000A;<span class="nt">&lt;/saxon:xquery&gt;</span>&#x000A;</pre></div>&#x000A;</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-scripting.html
URL: http://svn.apache.org/viewvc/servicemix/site/production/docs/4.5.x/jbi/components/servicemix-scripting.html?rev=1479168&view=auto
==============================================================================
--- servicemix/site/production/docs/4.5.x/jbi/components/servicemix-scripting.html (added)
+++ servicemix/site/production/docs/4.5.x/jbi/components/servicemix-scripting.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="servicemixscripting">servicemix-scripting</h2><h3 id="Overview">Overview</h3><p>The ServiceMix Scripting component provides support for processing scripts using JSR-223 compliant scripting languages.</p><p>The component is currently shipping with:</p><ul><li><p>Groovy (1.5.6)</p></li><li><p>JRuby (1.1.2)</p></li><li><p>Rhino JavaScript (1.7R1)</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/scripting/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:scripting=</span><span class="s">&quot;http://servicemix.apache.org/scripting/1.0&quot;</span><span class="nt">&gt;</span>&#x000A;&#x000A;  <span class="c">&lt;!-- add scripting:endpoint 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-scripting component defines a single endpoint type:</p><ul style="list-style: square"><li><p><tt>scripting:endpoint</tt> :: The scripting endpoint can be used to use scripts to handle exchanges or send new exchanges</p></li></ul><h3 id="scriptingendpoint"><tt>scripting: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"> bindings </td><td class="confluenceTd"> <em>java.util.Map</em> </td><td class="confluenceTd"> A Map with additional variables that are made available during script execution. </td></tr><tr><td class="confluenceTd"> copyAttachments </td><td class="confluenceTd"> <em>boolean</em> </td><td class
 ="confluenceTd"> Copy the attachments into the 'out' message. Defaults to &lt;code>true&lt;/code>. </td></tr><tr><td class="confluenceTd"> copyProperties </td><td class="confluenceTd"> <em>boolean</em> </td><td class="confluenceTd"> Copy the properties into the 'out' message. Defaults to &lt;code>true&lt;/code>. </td></tr><tr><td class="confluenceTd"> disableOutput </td><td class="confluenceTd"> <em>boolean</em> </td><td class="confluenceTd"> Set this flag to true to &lt;code>true&lt;/code> to avoid sending back a response message. Defaults to &lt;code>false&lt;/code> </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"> 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"> language </td><td class="confluenceTd"> <em>java.lang.String</em> </td><td class="confluenceTd"> The scripting language to be used. Defaults to &lt;code>autodetect&lt;/code> to determine the language by the script file extension. </td></tr><tr><td class="confluenceTd"> logResourceBundle </td><td class="confluenceTd"> <em>java.lang.String</em> </td><td class="confluenceTd"> The resource bundle to use when logging internationalized messages. </td></tr><tr><td class="confluenceTd"> marshaler </td><td class="confluenceTd"> <em>org.apache.servicemix.scripting.ScriptingMarshalerSupport</em> </td><td class="confluenceTd"> Custom marshaler implementation to handle startup/shutdown, loading the script code and registering additional user beans. </td></tr><tr><td class="confluenceTd"> script </td><td class="confluenceTd"> <em>org.springframework.core.io.Resource</em> </td><td class="confluenceTd"> Spring Resource referring to the script location. </td></tr><
 tr><td class="confluenceTd"> scriptLogger </td><td class="confluenceTd"> <em>java.util.logging.Logger</em> </td><td class="confluenceTd"> returns the script logger </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"> targetEndpoint </td><td class="confluenceTd"> <em>java.lang.String</em> </td><td class="confluenceTd"> Target endpoint for the output exchange that is created by the script. </td></tr><tr><td class="confluenceTd"> targetInterface </td><td class="confluenceTd"> <em>javax.xml.namespace.QName</em> </td><td class="confluenceTd"> Target interface for the output exchange that is created by the script. </td></tr><tr><td class="confluenceTd"> targetOperation </td><td class="confluenceTd"> <em>javax.xml.namespace.QName</em> </td><td class="confluenceTd"> Target operation for the 
 output exchange that is created by the script. </td></tr><tr><td class="confluenceTd"> targetService </td><td class="confluenceTd"> <em>javax.xml.namespace.QName</em> </td><td class="confluenceTd"> Target service for the output exchange that is created by the script. </td></tr><tr><td class="confluenceTd"> targetUri </td><td class="confluenceTd"> <em>java.lang.String</em> </td><td class="confluenceTd"> URI for configuring target service/endpoint/interface for the exchange that is created by the script. </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-snmp.html
URL: http://svn.apache.org/viewvc/servicemix/site/production/docs/4.5.x/jbi/components/servicemix-snmp.html?rev=1479168&view=auto
==============================================================================
--- servicemix/site/production/docs/4.5.x/jbi/components/servicemix-snmp.html (added)
+++ servicemix/site/production/docs/4.5.x/jbi/components/servicemix-snmp.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="servicemixsnmp">servicemix-snmp</h2><h3 id="Overview">Overview</h3><p>The ServiceMix SNMP component provides support for receiving SNMP events via the enterprise service bus by using the SNMP4J library.</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/snmp/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:snmp=</span><span class="s">&quot;http://servicemix.apache.org/snmp/1.0&quot;</span><span class="nt">&gt;</span>&#x000A;&#x000A;  <span class="c">&lt;!-- add snmp:poller or snmp:sender 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-snmp compo
 nent defines two endpoint types:</p><ul style="list-style: square"><li><p><tt>snmp:poller</tt> :: Periodically polls a device status using SNMP and sends the OIDs as a JBI MessageExchange</p></li><li><p><tt>snmp:trap-consumer</tt> :: Consumes an SNMP trap message and sends the OIDs as a JBI MessageExchange</p></li></ul><h3 id="snmppoller"><tt>snmp:poller</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"> address </td><td class="confluenceTd"> <em>java.lang.String</em> </td><td class="confluenceTd"> &lt;p>Specifies the connection URI used to connect to a snmp capable device. &lt;br />&lt;br /> &lt;b>&lt;u>Template:&lt;/u>&lt;/b> &lt;br /> &nbsp;nbsp;&nbsp;i>&lt;rotocol&gt;&lt;ost&gt;&lt;ort&gt;/i> &lt;br />&lt;br /> &lt;b>&lt;u>Details:&lt;/u>&lt;/b>&l
 t;br />&lt;br/> &lt;table border="0" cellpadding="0" cellspacing="0"> &lt;tr> &lt;td width="40%" align="left">&lt;b>&lt;u>Name&lt;/u>&lt;/b>&lt;/td> &lt;td width="60%" align="left">&lt;b>&lt;u>Description&lt;/u>&lt;/b>&lt;/td> &lt;/tr> &lt;tr> &lt;td>protocol&lt;/td> &lt;td>the protocol to use (udp or tcp)&lt;/td> &lt;/tr> &lt;tr> &lt;td>host&lt;/td> &lt;td>the name or ip address of the snmp capable device&lt;/td> &lt;/tr> &lt;tr> &lt;td>port&lt;/td> &lt;td>the port number to use&lt;/td> &lt;/tr> &lt;/table> &lt;br/> &lt;b>&lt;u>Example:&lt;/u>&lt;/b>&lt;br /> &nbsp;nbsp;&nbsp;i>udp:192.168.2.122/161&lt;/i>&lt;/p> &lt;i>&nbsp;nbsp;&nbsp;he default value is &lt;b>null&lt;/b>&lt;/i>&lt;br/>&lt;br/> </td></tr><tr><td class="confluenceTd"> concurrentPolling </td><td class="confluenceTd"> <em>boolean</em> </td><td class="confluenceTd"> &lt;p> Sets whether more than one poll can be active at a time (true means yes). Default value is &lt;code>false&lt;/code>. &lt;/p> </td></tr><tr>
 <td class="confluenceTd"> delay </td><td class="confluenceTd"> <em>long</em> </td><td class="confluenceTd"> &lt;p> Sets the amount of time in milliseconds that the endpoint should wait before making the first poll. &lt;/p> </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"> firstTime </td><td class="confluenceTd"> <em>java.util.Date</em> </td><td class="confluenceTd"> &lt;p> Sets the date on which the first poll will be executed. If a delay is also set using &lt;code>setDelay&lt;/code>, the delay interval will be added after the date specified. &lt;/p> </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"> m
 arshaler </td><td class="confluenceTd"> <em>org.apache.servicemix.snmp.marshaler.SnmpMarshalerSupport</em> </td><td class="confluenceTd"> &lt;p>Specifies a marshaler class which provides the logic for converting a snmp response into a normalized message. This class has to implement the &lt;code>SnmpMarshalerSupport&lt;/code> interface. If you don't specify a marshaler, the &lt;code>DefaultSnmpMarshaler&lt;/code> will be used.&lt;/p> </td></tr><tr><td class="confluenceTd"> oids </td><td class="confluenceTd"> (<em>java.lang.Object</em>)\* </td><td class="confluenceTd"> &lt;p>Specifies a reference to a list of OID values which will be used for the snmp request. You have two possibilities how to specify the value: &lt;br />&lt;br /> &nbsp;i>a) referencing to a file containing a list of OID values separated by a line feed &lt;br/>&nbsp;nbsp;&nbsp;nbsp;or&lt;br/> &nbsp;i>b) defining a coma (&lt;b>,&lt;/b>) separated list of OID values &lt;br />&lt;br /> &lt;b>&lt;u>Examples:&lt;/u
 >&lt;/b>&lt;br /> &nbsp;nbsp;&nbsp;i>a) oids="classpath:myOids.txt"&lt;br /> &nbsp;nbsp;&nbsp;nbsp;&nbsp;nbsp;&nbsp;ids="file:/home/lhein/snmp/device_a/oids.txt"&lt;br/> &lt;br /> &nbsp;nbsp;&nbsp;i>b) oids="1.3.6.1.2.1.1.3.0 , 1.3.6.1.2.1.25.3.2.1.5.1 , 1.3.6.1.2.1.25.3.5.1.1.1 , 1.3.6.1.2.1.43.5.1.1.11.1"&lt;/i>&lt;/p> &lt;i>&nbsp;nbsp;&nbsp;he default value is &lt;b>null&lt;/b>&lt;/i>&lt;br/>&lt;br/> </td></tr><tr><td class="confluenceTd"> period </td><td class="confluenceTd"> <em>long</em> </td><td class="confluenceTd"> &lt;p> Sets the number of milliseconds between polling attempts. &lt;/p> </td></tr><tr><td class="confluenceTd"> retries </td><td class="confluenceTd"> <em>int</em> </td><td class="confluenceTd"> &lt;p>Specifies the connection retries.&lt;/p> &lt;i>&nbsp;nbsp;&nbsp;he default value is &lt;b>2&lt;/b>&lt;/i>&lt;br/>&lt;br/> </td></tr><tr><td class="confluenceTd"> scheduler </td><td class="confluenceTd"> <em>org.apache.servicemix.common.scheduler.Scheduler</
 em> </td><td class="confluenceTd"> &lt;p> Sets a custom scheduler implementation if you need more fine-grained control over the polling schedule. &lt;/p> </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"> snmpCommunity </td><td class="confluenceTd"> <em>java.lang.String</em> </td><td class="confluenceTd"> &lt;p>Specifies the snmp community to use.&lt;/p> &lt;i>&nbsp;nbsp;&nbsp;he default value is &lt;b>"public"&lt;/b>&lt;/i>&lt;br/>&lt;br/> </td></tr><tr><td class="confluenceTd"> snmpVersion </td><td class="confluenceTd"> <em>int</em> </td><td class="confluenceTd"> &lt;p>Specifies the snmp protocol version to use.&lt;/p> &lt;i>&nbsp;nbsp;&nbsp;he default value is &lt;b>0 (version 1)&lt;/b>&lt;/i>&lt;br/>&lt;br/> </td></tr><tr><td class="confluenceTd"> targetEndpoint </td><td class=
 "confluenceTd"> <em>java.lang.String</em> </td><td class="confluenceTd"> the name of the endpoint to which requests are sent </td></tr><tr><td class="confluenceTd"> targetInterface </td><td class="confluenceTd"> <em>javax.xml.namespace.QName</em> </td><td class="confluenceTd"> the QName of the interface to which requests are sent </td></tr><tr><td class="confluenceTd"> targetOperation </td><td class="confluenceTd"> <em>javax.xml.namespace.QName</em> </td><td class="confluenceTd"> the QName of the operation to which requests are sent </td></tr><tr><td class="confluenceTd"> targetService </td><td class="confluenceTd"> <em>javax.xml.namespace.QName</em> </td><td class="confluenceTd"> the QName of the service to which requests are sent </td></tr><tr><td class="confluenceTd"> targetUri </td><td class="confluenceTd"> <em>java.lang.String</em> </td><td class="confluenceTd"> &lt;p> Gets the target URI of the consumer endpoint. &lt;/p> </td></tr><tr><td class="confluenceTd"> timeout 
 </td><td class="confluenceTd"> <em>int</em> </td><td class="confluenceTd"> &lt;p>Specifies the connection time out in milliseconds.&lt;/p> &lt;i>&nbsp;nbsp;&nbsp;he default value is &lt;b>1500&lt;/b>&lt;/i>&lt;br/>&lt;br/> </td></tr></table></div><h3 id="vfstrapconsumer"><tt>vfs:trap-consumer</tt></h3><h4 id="Endpointproperties2">Endpoint properties</h4>
+        </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