You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ch...@apache.org on 2006/07/26 22:02:21 UTC
svn commit: r425823 [9/13] - in /incubator/servicemix/site: ./ 2005/07/07/
2005/07/22/ 2005/07/25/ 2005/08/05/ 2005/08/14/ 2005/08/23/ 2005/09/13/
2005/10/26/ 2005/11/07/ 2005/11/08/ 2005/11/15/ 2005/11/23/ 2005/12/12/
Modified: incubator/servicemix/site/navigation.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/navigation.html?rev=425823&r1=425822&r2=425823&view=diff
==============================================================================
--- incubator/servicemix/site/navigation.html (original)
+++ incubator/servicemix/site/navigation.html Wed Jul 26 13:02:08 2006
@@ -169,11 +169,11 @@
<H3><A name="Navigation-Tooling"></A>Tooling</H3>
<UL class="alternate" type="square">
- <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
+ <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="eclipse-plugin.html" title="Eclipse plugin">Eclipse plugin</A></LI>
+ <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
<LI><A href="jboss-deployer.html" title="JBoss Deployer">JBoss Deployer</A></LI>
<LI><A href="war-deployment.html" title="WAR Deployment">WAR Deployment</A></LI>
- <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="maven-sar-plugin.html" title="Maven SAR plugin">Maven SAR plugin</A></LI>
</UL>
@@ -329,11 +329,11 @@
<H3><A name="Navigation-Tooling"></A>Tooling</H3>
<UL class="alternate" type="square">
- <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
+ <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="eclipse-plugin.html" title="Eclipse plugin">Eclipse plugin</A></LI>
+ <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
<LI><A href="jboss-deployer.html" title="JBoss Deployer">JBoss Deployer</A></LI>
<LI><A href="war-deployment.html" title="WAR Deployment">WAR Deployment</A></LI>
- <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="maven-sar-plugin.html" title="Maven SAR plugin">Maven SAR plugin</A></LI>
</UL>
@@ -385,8 +385,8 @@
</DIV>
<DIV id="site-footer">
Added by <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan">James Strachan</A>,
- last edited by <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan">James Strachan</A> on Jul 03, 2006
- (<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=2021&originalId=8929">view change</A>)
+ last edited by <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan">James Strachan</A> on Jul 07, 2006
+ (<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=2021&originalId=8980">view change</A>)
(<A href="http://goopen.org/confluence/pages/editpage.action?pageId=2021">edit page</A>)
</DIV>
Added: incubator/servicemix/site/nderstanding-the-soap-binding-example.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/nderstanding-the-soap-binding-example.html?rev=425823&view=auto
==============================================================================
--- incubator/servicemix/site/nderstanding-the-soap-binding-example.html (added)
+++ incubator/servicemix/site/nderstanding-the-soap-binding-example.html Wed Jul 26 13:02:08 2006
@@ -0,0 +1,282 @@
+
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<HTML>
+ <HEAD>
+<!--
+ Pier's plugin always overwrites the stylesheet so lets explicitly use another one
+ <link type="text/css" rel="stylesheet" href="autoexport:///SM/resources/space.css">
+-->
+ <LINK type="text/css" rel="stylesheet" href="resources/site.css">
+ <SCRIPT src="resources/space.js" type="text/javascript"></SCRIPT>
+ <TITLE>
+nderstanding the 'soap-binding' example
+ </TITLE>
+ <META http-equiv="Content-Type" content="text/html;charset=UTF-8"></HEAD>
+ <BODY onload="init()">
+
+ <!-- Banner -->
+ <DIV id="site-banner">
+
+ <TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
+ <TR>
+ <TD align="left" class="topbardiv" nowrap="">
+ <IMG border="0" src="http://incubator.apache.org/servicemix/images/logo.jpg">
+ </TD>
+ <TD align="right" nowrap="">
+ <IMG border="0" src="http://incubator.apache.org/images/apache-incubator-logo.png">
+ </TD>
+ </TR>
+ </TABLE>
+
+ </DIV>
+
+ <!-- Bread crumbs and Quick Links -->
+ <DIV id="site-navbar">
+ <TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
+ <TR>
+ <TD align="left" valign="middle" nowrap="">
+ <DIV id="site-breadcrumbs">
+<A href="home.html" title="ServiceMix">ServiceMix</A> > <A href="home.html" title="Home">Home</A> > <A href="documentation.html" title="Documentation">Documentation</A> > <A href="example-use-cases.html" title="Example & Use Cases">Example & Use Cases</A> > <A href="examples.html" title="Examples">Examples</A> > <A href="soap-binding-example.html" title="soap binding example">soap binding example</A> > <A href="" title="nderstanding the 'soap-binding' example">nderstanding the 'soap-binding' example</A>
+ </DIV>
+ </TD>
+ <TD align="right" valign="middle" nowrap="">
+ <DIV id="site-quicklinks">
+<P><A href="download.html" title="Download">Download</A> | <SPAN class="nobr"><A href="http://incubator.apache.org/servicemix/maven/servicemix-core/apidocs/" title="Visit page outside Confluence" rel="nofollow">JavaDocs<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> <A href="javadocs.html" title="JavaDocs">More...</A> | <A href="source.html" title="Source">Source</A> | <SPAN class="nobr"><A href="home.html" title="Visit page outside Confluence" rel="nofollow">Wiki<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> |<A href="irc.html" title="IRC">IRC</A> | <A href="mailing-lists.html" title="Mailing Lists">Mailing Lists</A> | <A href="discussion-forums.html" title="Discussion Forums">Discussion Forums</A> | <A href=
"support.html" title="Support">Support</A></P>
+ </DIV>
+ </TD>
+ </TR>
+ </TABLE>
+ </DIV>
+
+<!-- Integrate google search later.
+ <form name="search" action="http://www.google.com/search" method="get">
+ <input type="hidden" name="ie" value="UTF- 8" />
+ <input type="hidden" name="oe" value="UTF- 8" />
+ <input type="hidden" name="domains" value="" />
+ <input type="hidden" name="sitesearch" value="" />
+ <input type="text" name="q" maxlength="255" value="" />
+ <input type="submit" name="btnG" value="Google Search" />
+ </form>
+-->
+
+ <DIV id="site-content">
+ <TABLE>
+ <TR>
+ <TD valign="top">
+ <DIV id="site-navigation">
+<H3><A name="Navigation-Overview"></A>Overview</H3>
+
+<UL class="alternate" type="square">
+ <LI><A href="home.html" title="Home">Home</A></LI>
+ <LI><A href="introduction-to-esb.html" title="Introduction to ESB">Introduction to ESB</A></LI>
+ <LI><A href="background-to-servicemix.html" title="Background to ServiceMix">Background to ServiceMix</A></LI>
+ <LI><A href="news.html" title="News">News</A></LI>
+ <LI><A href="faq.html" title="FAQ">FAQ</A></LI>
+ <LI><A href="site.html" title="Site">Site</A></LI>
+ <LI><A href="download.html" title="Download">Download</A></LI>
+</UL>
+
+
+<H3><A name="Navigation-Community"></A>Community</H3>
+
+<UL class="alternate" type="square">
+ <LI><A href="support.html" title="Support">Support</A></LI>
+ <LI><A href="discussion-forums.html" title="Discussion Forums">Discussion Forums</A></LI>
+ <LI><A href="mailing-lists.html" title="Mailing Lists">Mailing Lists</A></LI>
+ <LI><SPAN class="nobr"><A href="navigation.html" title="Visit page outside Confluence" rel="nofollow">Wiki<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+ <LI><A href="contributing.html" title="Contributing">Contributing</A></LI>
+ <LI><A href="team.html" title="Team">Team</A></LI>
+ <LI><A href="users.html" title="Users">Users</A></LI>
+</UL>
+
+
+<H3><A name="Navigation-Documentation"></A>Documentation</H3>
+
+<UL class="alternate" type="square">
+ <LI><A href="getting-started.html" title="Getting Started">Getting Started</A></LI>
+ <LI><A href="running.html" title="Running">Running</A></LI>
+ <LI><A href="examples.html" title="Examples">Examples</A></LI>
+ <LI><A href="servicemix-eip.html" title="servicemix-eip">Enterprise Integration Patterns</A></LI>
+ <LI><A href="use-cases-whole.html" title="Use Cases (whole)">Use Cases (whole)</A></LI>
+ <LI><A href="configuration.html" title="Configuration">Configuration</A></LI>
+ <LI><A href="xml-reference.html" title="Xml Reference">Xml Reference</A></LI>
+ <LI><A href="management.html" title="Management">Management</A></LI>
+ <LI><A href="architecture.html" title="Architecture">Architecture</A></LI>
+ <LI><A href="clustering.html" title="Clustering">Clustering</A></LI>
+ <LI><A href="nmr-flows.html" title="NMR Flows">NMR Flows</A></LI>
+ <LI><A href="articles.html" title="Articles">Articles</A></LI>
+</UL>
+
+
+<H3><A name="Navigation-Reference"></A>Reference</H3>
+
+<UL class="alternate" type="square">
+ <LI><SPAN class="nobr"><A href="http://java.sun.com/integration/1.0/docs/sdk/api/index.html" title="Visit page outside Confluence" rel="nofollow">JBI API<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+ <LI><SPAN class="nobr"><A href="http://servicemix.goopen.org/maven/servicemix-core/apidocs/" title="Visit page outside Confluence" rel="nofollow">JavaDocs Core<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+ <LI><SPAN class="nobr"><A href="http://servicemix.goopen.org/maven/servicemix-components/apidocs/" title="Visit page outside Confluence" rel="nofollow">JavaDocs Components<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+ <LI><SPAN class="nobr"><A href="http://servicemix.goopen.org/maven/servicemix-console/apidocs/" title="Visit page outside Confluence" rel="nofollow">JavaDocs Console<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+ <LI><A href="glossary.html" title="Glossary">Glossary</A></LI>
+</UL>
+
+
+<H3><A name="Navigation-Features"></A>Features</H3>
+
+<UL class="alternate" type="square">
+ <LI><A href="components.html" title="Components">Components</A></LI>
+ <LI><A href="routing.html" title="Routing">Routing</A></LI>
+ <LI><A href="transformation.html" title="Transformation">Transformation</A></LI>
+ <LI><A href="servicemix-eip.html" title="servicemix-eip">Enterprise Integration Patterns</A></LI>
+ <LI><A href="spring-client-toolkit.html" title="Spring Client Toolkit">Spring Client Toolkit</A></LI>
+ <LI><A href="client-api.html" title="Client API">Client API</A></LI>
+ <LI><A href="beanflow.html" title="BeanFlow">BeanFlow</A></LI>
+ <LI><A href="pojo-support.html" title="POJO support">POJO support</A></LI>
+ <LI><A href="expressions.html" title="Expressions">Expressions</A></LI>
+ <LI><A href="component-helper-classes.html" title="Component helper classes">Component helper classes</A></LI>
+ <LI><A href="ant-tasks.html" title="Ant Tasks">Ant Tasks</A></LI>
+ <LI><A href="jmx-console.html" title="JMX Console">JMX Console</A></LI>
+</UL>
+
+
+<H3><A name="Navigation-Integration"></A>Integration</H3>
+
+<UL class="alternate" type="square">
+ <LI><A href="spring-support.html" title="Spring support">Spring support</A></LI>
+ <LI><A href="geronimo-integration.html" title="Geronimo Integration">Geronimo Integration</A></LI>
+ <LI><A href="jboss-deployer.html" title="JBoss Deployer">JBoss Integration</A></LI>
+ <LI><A href="tomcat-integration.html" title="Tomcat Integration">Tomcat Integration</A></LI>
+ <LI><A href="jonas-integration.html" title="JOnAS Integration">JOnAS Integration</A></LI>
+ <LI><A href="jndi-configuration.html" title="JNDI configuration">JNDI configuration</A></LI>
+</UL>
+
+
+<H3><A name="Navigation-Components"></A><A href="components.html" title="Components">Components</A></H3>
+
+<UL class="alternate" type="square">
+ <LI><A href="servicemix-http.html" title="servicemix-http">servicemix-http</A></LI>
+ <LI><A href="servicemix-jms.html" title="servicemix-jms">servicemix-jms</A></LI>
+ <LI><A href="servicemix-eip.html" title="servicemix-eip">servicemix-eip</A></LI>
+ <LI><A href="servicemix-bpe.html" title="servicemix-bpe">servicemix-bpe</A></LI>
+ <LI><A href="servicemix-jsr181.html" title="servicemix-jsr181">servicemix-jsr181</A></LI>
+ <LI><A href="servicemix-wsn2005.html" title="servicemix-wsn2005">servicemix-wsn2005</A></LI>
+</UL>
+
+
+<UL class="alternate" type="square">
+ <LI><A href="lightweight-components.html" title="Lightweight components">Lightweight components</A></LI>
+</UL>
+
+
+<H3><A name="Navigation-Tooling"></A>Tooling</H3>
+
+<UL class="alternate" type="square">
+ <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
+ <LI><A href="eclipse-plugin.html" title="Eclipse plugin">Eclipse plugin</A></LI>
+ <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
+ <LI><A href="jboss-deployer.html" title="JBoss Deployer">JBoss Deployer</A></LI>
+ <LI><A href="war-deployment.html" title="WAR Deployment">WAR Deployment</A></LI>
+ <LI><A href="maven-sar-plugin.html" title="Maven SAR plugin">Maven SAR plugin</A></LI>
+</UL>
+
+
+<H3><A name="Navigation-RelatedProjects"></A>Related Projects</H3>
+
+<UL class="alternate" type="square">
+ <LI><SPAN class="nobr"><A href="http://incubator.apache.org/activemq/" title="High Performance Message Bus" rel="nofollow">Apache ActiveMQ<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+ <LI><SPAN class="nobr"><A href="http://lingo.codehaus.org/" title="POJO Remoting using JMS" rel="nofollow">Lingo<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+ <LI><SPAN class="nobr"><A href="http://jencks.org/" title="Message Driven POJOs and pooling for JMS and JDBC" rel="nofollow">Jencks<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+ <LI><SPAN class="nobr"><A href="http://stomp.codehaus.org/" title="Simple cross language protocol for messaging" rel="nofollow">Stomp<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+ <LI><SPAN class="nobr"><A href="http://www.springframework.org/" title="Visit page outside Confluence" rel="nofollow">Spring<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+ <LI><SPAN class="nobr"><A href="http://geronimo.apache.org/" title="Visit page outside Confluence" rel="nofollow">Geronimo<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+ <LI><SPAN class="nobr"><A href="http://forge.objectweb.org/projects/celtix/" title="Visit page outside Confluence" rel="nofollow">Celtix<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+ <LI><SPAN class="nobr"><A href="http://xfire.codehaus.org/" title="Visit page outside Confluence" rel="nofollow">XFire<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+ <LI><SPAN class="nobr"><A href="http://incubator.apache.org/projects/ode.html" title="Orchestration Engine" rel="nofollow">Apache ODE<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+</UL>
+
+
+<H3><A name="Navigation-Support"></A>Support</H3>
+
+<UL class="alternate" type="square">
+ <LI><SPAN class="nobr"><A href="http://issues.apache.org/activemq/browse/SM" title="Visit page outside Confluence" rel="nofollow">Issues<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+ <LI><SPAN class="nobr"><A href="http://issues.apache.org/activemq/browse/SM?report=com.atlassian.jira.plugin.system.project:roadmap-panel" title="Visit page outside Confluence" rel="nofollow">Roadmap<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+ <LI><SPAN class="nobr"><A href="http://issues.apache.org/activemq/browse/SM?report=com.atlassian.jira.plugin.system.project:changelog-panel" title="Visit page outside Confluence" rel="nofollow">Change log<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+</UL>
+
+
+<H3><A name="Navigation-Developers"></A>Developers</H3>
+
+<UL class="alternate" type="square">
+ <LI><A href="source.html" title="Source">Source</A></LI>
+ <LI><A href="building.html" title="Building">Building</A></LI>
+ <LI><A href="ideas.html" title="Ideas">Ideas</A></LI>
+ <LI><A href="becoming-a-committer.html" title="Becoming a committer">Becoming a committer</A></LI>
+ <LI><A href="release-guide.html" title="Release Guide">Release Guide</A></LI>
+</UL>
+
+
+<H3><A name="Navigation-Toolsweuse"></A>Tools we use</H3>
+
+<P><SPAN class="nobr"><A href="http://www.yourkit.com/" title="Visit page outside Confluence" rel="nofollow"><IMG src="navigation.data/yourkit.jpg" align="absmiddle" border="0"><SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN></P>
+ </DIV>
+ </TD>
+ <TD valign="top">
+ <DIV id="site-page">
+
+<!--
+ <div class="pagetitle">nderstanding the 'soap- binding' example</div>
+-->
+ <DIV class="wiki-content"><P>The soap-binding example aims to demonstrate how one can use the Servicemix-http and servicemix-jsr181 components to invoke a pojo object as a web service over HTTP.</P>
+
+<P>Here is a breakdown of what happens when you hit the 'send' button on the client.html page.<BR>
+<IMG src="http://photos1.blogger.com/blogger/6580/2940/1600/Soap-client-request.0.jpg" align="absmiddle" border="0"></P>
+<OL>
+ <LI>When send button is clicked, a javascript function(send()) is invoked.</LI>
+ <LI>The javascript function submits an Ajax request to the http endpoint deployed using the serviceunit(binding-su.zip) on the Servicemix-http component.The soap request present in the textfield on the left hand side(see circled content in the above image) is sent a parameter to Ajax request.</LI>
+ <LI>The Httpendpoint receives the http+soap request and sends the request to the 'proxied' pojo endpoint(proxied endpoint reference configuration is shown as bolded text in the xbean.xml excerpt below) deployed using engine-su.zip over the NMR.<BR>
+Here is the excerpt from the xbean.xml file under<BR>
+[Serivemix installation directory]\servicemix-3.0-M1\examples\soap-binding\src\components\soap
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-xml"><http:endpoint service=<SPAN class="code-quote">"demo:simple-service"</SPAN>
+ endpoint=<SPAN class="code-quote">"simple-service"</SPAN>
+ role=<SPAN class="code-quote">"consumer"</SPAN>
+ locationURI=<SPAN class="code-quote">"http://localhost:8192/Service/"</SPAN>
+ defaultMep=<SPAN class="code-quote">"http://www.w3.org/2004/08/wsdl/in-out"</SPAN>
+ soap=<SPAN class="code-quote">"true"</SPAN> /></PRE>
+</DIV></DIV></LI>
+ <LI>The servicemix-jsr181 receives the request from the NMR and invokes the 'SimpleService' pojo' 'ping' method.</LI>
+ <LI>The 'SimpleService' returns the response to the 'ping' method and servicemix-jsr181 sends to response back the Httpendpoint over the NMR.<BR>
+Here is the excerpt of the implemenation for the ping method
+<DIV class="code" style="border-style: solid; "><DIV class="codeHeader" style="border-bottom-style: solid; "><B>SimpleService.java</B></DIV><DIV class="codeContent">
+<PRE class="code-java"><SPAN class="code-keyword">public</SPAN> PingResponse ping(PingRequest request)
+{ PingResponse response = <SPAN class="code-keyword">new</SPAN> PingResponse(); response.setMessage(<SPAN class="code-quote">"Ping: "</SPAN> + request.getMessage()); <SPAN class="code-keyword">return</SPAN> response; }</PRE>
+</DIV></DIV>
+<P>This method prefixes a "Ping:" to request recieved and sends it back as the response</P></LI>
+ <LI>The Servicemix-http sends the response back the browser instance from which the ajax request was sent.</LI>
+ <LI>The browser invokes java script function that sets the response field value to the response received.<BR>
+<IMG src="http://photos1.blogger.com/blogger/6580/2940/1600/Soap-client-response.0.jpg" align="absmiddle" border="0"></LI>
+</OL>
+
+
+<P>There are some subtle points to note here</P>
+<OL>
+ <LI>The proxied endpoint is configured using the service="demo:simple-service" and endpoint="simple-service" attributes in the http:endpoint configuration in the binding-su's xbeans.xml file. The values demo:simple-service and simple-service point to service name and endpoint name of the pojo endpoint configuration( service="demo:simple-service" endpoint="simple-service" attributes of jsr181:endpoint configuration) in engine-su's xbean.xml file.</LI>
+ <LI>The Servicemix-http and servicemix-jsr181 components are installed at runtime and not using the servicemix.xml file under [servicemix-home]\examples\soap-binding folder.</LI>
+</OL>
+</DIV>
+
+ </DIV>
+ </TD>
+ </TR>
+ </TABLE>
+ </DIV>
+ </DIV>
+ <DIV id="site-footer">
+ Added by <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=vamsi">Mohan Vamsi</A>,
+ last edited by <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=vamsi">Mohan Vamsi</A> on Jul 12, 2006
+ (<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=9006&originalId=9008">view change</A>)
+
+ (<A href="http://goopen.org/confluence/pages/editpage.action?pageId=9006">edit page</A>)
+ </DIV>
+
+ </BODY>
+
+</HTML>
\ No newline at end of file
Modified: incubator/servicemix/site/news.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/news.html?rev=425823&r1=425822&r2=425823&view=diff
==============================================================================
--- incubator/servicemix/site/news.html (original)
+++ incubator/servicemix/site/news.html Wed Jul 26 13:02:08 2006
@@ -72,7 +72,7 @@
<LI><A href="background-to-servicemix.html" title="Background to ServiceMix">Background to ServiceMix</A></LI>
<LI><A href="" title="News">News</A></LI>
<LI><A href="faq.html" title="FAQ">FAQ</A></LI>
- <LI><A href="sitemap.html" title="SiteMap">Site</A></LI>
+ <LI><A href="site.html" title="Site">Site</A></LI>
<LI><A href="download.html" title="Download">Download</A></LI>
</UL>
@@ -169,11 +169,11 @@
<H3><A name="Navigation-Tooling"></A>Tooling</H3>
<UL class="alternate" type="square">
- <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
+ <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="eclipse-plugin.html" title="Eclipse plugin">Eclipse plugin</A></LI>
+ <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
<LI><A href="jboss-deployer.html" title="JBoss Deployer">JBoss Deployer</A></LI>
<LI><A href="war-deployment.html" title="WAR Deployment">WAR Deployment</A></LI>
- <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="maven-sar-plugin.html" title="Maven SAR plugin">Maven SAR plugin</A></LI>
</UL>
@@ -228,6 +228,41 @@
<DIV class="blogSurtitle">
<IMG src="http://goopen.org/confluence/images/icons/blogentry_16.gif" height="16" width="16" border="0" align="absmiddle">
+ <A class="blogDate" href="http://goopen.org/confluence/pages/viewblogposts.action?key=SM&postingDate=2006%2F7%2F5&period=5">Wednesday, July 5, 2006</A>
+ </DIV>
+
+
+<DIV class="blogpost" style="margin-bottom: 30px">
+ <DIV class="blogHeading"><A href="2006/07/05/updated-maven-jbi-plugin.html">Updated Maven JBI Plugin</A></DIV>
+
+ <DIV class="pagesubheading">
+ </DIV>
+ <DIV class="wiki-content">
+ <P>Check out the updated Maven JBI plugin - offering new features such as :</P>
+<UL>
+ <LI>Creating and installing shared-libraries</LI>
+ <LI>Creating and installing components (BC/SE)</LI>
+ <LI>Creating and packaging service units</LI>
+ <LI>Creating, packaging and deploying service assemblies</LI>
+ <LI>Automatically deploying a project (and its dependencies to a running Servicemix instance)</LI>
+ <LI>Starting a ServiceMix instance under Maven and then deploying a project (with its dependencies) - great for testing!</LI>
+</UL>
+
+
+<P>For more information <A href="maven-jbi-plugin.html" title="Maven JBI plugin">check out the updated documentation</A>. </P>
+ </DIV>
+ <DIV class="endsection">
+ <B>Posted at 05 Jul @ 11:40 AM</B> by
+ <IMG src="http://goopen.org/confluence/images/icons/user_16.gif" height="16" width="16" border="0" align="absmiddle" title="User Profile: Philip Dodds">
+ <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=philip.dodds%2540gmail.com">Philip Dodds</A> |
+ <IMG src="http://goopen.org/confluence/images/icons/comment_16.gif" height="16" width="16" border="0" align="absmiddle">
+ <A href="2006/07/05/updated-maven-jbi-plugin.html#comments">0 comments</A>
+
+
+ </DIV>
+</DIV>
+ <DIV class="blogSurtitle">
+ <IMG src="http://goopen.org/confluence/images/icons/blogentry_16.gif" height="16" width="16" border="0" align="absmiddle">
<A class="blogDate" href="http://goopen.org/confluence/pages/viewblogposts.action?key=SM&postingDate=2005%2F11%2F8&period=5">Tuesday, November 8, 2005</A>
</DIV>
@@ -474,32 +509,6 @@
<A href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan">James Strachan</A> |
<IMG src="http://goopen.org/confluence/images/icons/comment_16.gif" height="16" width="16" border="0" align="absmiddle">
<A href="2005/11/23/servicemix-discussion-forum-open.html#comments">0 comments</A>
-
-
- </DIV>
-</DIV>
- <DIV class="blogSurtitle">
- <IMG src="http://goopen.org/confluence/images/icons/blogentry_16.gif" height="16" width="16" border="0" align="absmiddle">
- <A class="blogDate" href="http://goopen.org/confluence/pages/viewblogposts.action?key=SM&postingDate=2005%2F11%2F15&period=5">Tuesday, November 15, 2005</A>
- </DIV>
-
-
-<DIV class="blogpost" style="margin-bottom: 30px">
- <DIV class="blogHeading"><A href="2005/11/15/servicemix-202-release.html">ServiceMix 2.0.2 Release</A></DIV>
-
- <DIV class="pagesubheading">
- </DIV>
- <DIV class="wiki-content">
-
-<P>The ServiceMix team is pleased to announce the <A href="servicemix-20-release.html" title="ServiceMix 2.0 Release">ServiceMix 2.0.2 Release</A>.<BR>
-This release provides a few bug fixes.</P>
- </DIV>
- <DIV class="endsection">
- <B>Posted at 15 Nov @ 4:44 PM</B> by
- <IMG src="http://goopen.org/confluence/images/icons/user_16.gif" height="16" width="16" border="0" align="absmiddle" title="User Profile: $webwork.htmlEncode($action.getUserFullName($blog.creatorName))">
- <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=gnt">gnt</A> |
- <IMG src="http://goopen.org/confluence/images/icons/comment_16.gif" height="16" width="16" border="0" align="absmiddle">
- <A href="2005/11/15/servicemix-202-release.html#comments">0 comments</A>
</DIV>
Modified: incubator/servicemix/site/nmr-broker-mbean.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/nmr-broker-mbean.html?rev=425823&r1=425822&r2=425823&view=diff
==============================================================================
--- incubator/servicemix/site/nmr-broker-mbean.html (original)
+++ incubator/servicemix/site/nmr-broker-mbean.html Wed Jul 26 13:02:08 2006
@@ -72,7 +72,7 @@
<LI><A href="background-to-servicemix.html" title="Background to ServiceMix">Background to ServiceMix</A></LI>
<LI><A href="news.html" title="News">News</A></LI>
<LI><A href="faq.html" title="FAQ">FAQ</A></LI>
- <LI><A href="sitemap.html" title="SiteMap">Site</A></LI>
+ <LI><A href="site.html" title="Site">Site</A></LI>
<LI><A href="download.html" title="Download">Download</A></LI>
</UL>
@@ -169,11 +169,11 @@
<H3><A name="Navigation-Tooling"></A>Tooling</H3>
<UL class="alternate" type="square">
- <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
+ <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="eclipse-plugin.html" title="Eclipse plugin">Eclipse plugin</A></LI>
+ <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
<LI><A href="jboss-deployer.html" title="JBoss Deployer">JBoss Deployer</A></LI>
<LI><A href="war-deployment.html" title="WAR Deployment">WAR Deployment</A></LI>
- <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="maven-sar-plugin.html" title="Maven SAR plugin">Maven SAR plugin</A></LI>
</UL>
Modified: incubator/servicemix/site/nmr-flows.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/nmr-flows.html?rev=425823&r1=425822&r2=425823&view=diff
==============================================================================
--- incubator/servicemix/site/nmr-flows.html (original)
+++ incubator/servicemix/site/nmr-flows.html Wed Jul 26 13:02:08 2006
@@ -72,7 +72,7 @@
<LI><A href="background-to-servicemix.html" title="Background to ServiceMix">Background to ServiceMix</A></LI>
<LI><A href="news.html" title="News">News</A></LI>
<LI><A href="faq.html" title="FAQ">FAQ</A></LI>
- <LI><A href="sitemap.html" title="SiteMap">Site</A></LI>
+ <LI><A href="site.html" title="Site">Site</A></LI>
<LI><A href="download.html" title="Download">Download</A></LI>
</UL>
@@ -169,11 +169,11 @@
<H3><A name="Navigation-Tooling"></A>Tooling</H3>
<UL class="alternate" type="square">
- <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
+ <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="eclipse-plugin.html" title="Eclipse plugin">Eclipse plugin</A></LI>
+ <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
<LI><A href="jboss-deployer.html" title="JBoss Deployer">JBoss Deployer</A></LI>
<LI><A href="war-deployment.html" title="WAR Deployment">WAR Deployment</A></LI>
- <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="maven-sar-plugin.html" title="Maven SAR plugin">Maven SAR plugin</A></LI>
</UL>
@@ -224,15 +224,14 @@
<!--
<div class="pagetitle">NMR Flows</div>
-->
- <DIV class="wiki-content">
-<P>ServiceMix allows for different message dispatch policies within the Normalized Message Router (NMR) Broker.<BR>
+ <DIV class="wiki-content"><P>ServiceMix allows for different message dispatch policies within the Normalized Message Router (NMR) Broker.<BR>
There are three basic types, that have different characteristics and are suited to different usage cases.</P>
<P>They are as follows:</P>
<H2><A name="NMRFlows-STFlow"></A>ST Flow</H2>
-<P>Straight-throw flow. A MessageExchange is routed straight to it's destination with no staging or buffering. A straight through flow is best suited for the cases where the ServiceMix JBIContainer is deployed with simple flows (no state) or embedding, or where latency needs to be as low as possible.</P>
+<P>Straight-through flow. A MessageExchange is routed straight to it's destination with no staging or buffering. A straight through flow is best suited for the cases where the ServiceMix JBIContainer is deployed with simple flows (no state) or embedding, or where latency needs to be as low as possible.</P>
<DIV class="panel" style="border-style: solid; border-color: #ccc; "><DIV class="panelHeader" style="border-bottom-style: solid; border-bottom-color: #ccc; "><B>ST Flow</B></DIV><DIV class="panelContent">
<P><IMG src="http://servicemix.org/stflow.jpg" align="absmiddle" border="0"></P>
@@ -265,8 +264,8 @@
</DIV>
<DIV id="site-footer">
Added by <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=rajdavies">Rob Davies</A>,
- last edited by <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=gnodet">Guillaume Nodet</A> on May 11, 2006
- (<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=1986&originalId=5224">view change</A>)
+ last edited by <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=bsnyder">Bruce Snyder</A> on Jul 26, 2006
+ (<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=1986&originalId=9269">view change</A>)
(<A href="http://goopen.org/confluence/pages/editpage.action?pageId=1986">edit page</A>)
</DIV>
Modified: incubator/servicemix/site/nmr.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/nmr.html?rev=425823&r1=425822&r2=425823&view=diff
==============================================================================
--- incubator/servicemix/site/nmr.html (original)
+++ incubator/servicemix/site/nmr.html Wed Jul 26 13:02:08 2006
@@ -72,7 +72,7 @@
<LI><A href="background-to-servicemix.html" title="Background to ServiceMix">Background to ServiceMix</A></LI>
<LI><A href="news.html" title="News">News</A></LI>
<LI><A href="faq.html" title="FAQ">FAQ</A></LI>
- <LI><A href="sitemap.html" title="SiteMap">Site</A></LI>
+ <LI><A href="site.html" title="Site">Site</A></LI>
<LI><A href="download.html" title="Download">Download</A></LI>
</UL>
@@ -169,11 +169,11 @@
<H3><A name="Navigation-Tooling"></A>Tooling</H3>
<UL class="alternate" type="square">
- <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
+ <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="eclipse-plugin.html" title="Eclipse plugin">Eclipse plugin</A></LI>
+ <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
<LI><A href="jboss-deployer.html" title="JBoss Deployer">JBoss Deployer</A></LI>
<LI><A href="war-deployment.html" title="WAR Deployment">WAR Deployment</A></LI>
- <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="maven-sar-plugin.html" title="Maven SAR plugin">Maven SAR plugin</A></LI>
</UL>
Modified: incubator/servicemix/site/no-transactioncontextmanager-is-set.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/no-transactioncontextmanager-is-set.html?rev=425823&r1=425822&r2=425823&view=diff
==============================================================================
--- incubator/servicemix/site/no-transactioncontextmanager-is-set.html (original)
+++ incubator/servicemix/site/no-transactioncontextmanager-is-set.html Wed Jul 26 13:02:08 2006
@@ -72,7 +72,7 @@
<LI><A href="background-to-servicemix.html" title="Background to ServiceMix">Background to ServiceMix</A></LI>
<LI><A href="news.html" title="News">News</A></LI>
<LI><A href="faq.html" title="FAQ">FAQ</A></LI>
- <LI><A href="sitemap.html" title="SiteMap">Site</A></LI>
+ <LI><A href="site.html" title="Site">Site</A></LI>
<LI><A href="download.html" title="Download">Download</A></LI>
</UL>
@@ -169,11 +169,11 @@
<H3><A name="Navigation-Tooling"></A>Tooling</H3>
<UL class="alternate" type="square">
- <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
+ <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="eclipse-plugin.html" title="Eclipse plugin">Eclipse plugin</A></LI>
+ <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
<LI><A href="jboss-deployer.html" title="JBoss Deployer">JBoss Deployer</A></LI>
<LI><A href="war-deployment.html" title="WAR Deployment">WAR Deployment</A></LI>
- <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="maven-sar-plugin.html" title="Maven SAR plugin">Maven SAR plugin</A></LI>
</UL>
Modified: incubator/servicemix/site/overview.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/overview.html?rev=425823&r1=425822&r2=425823&view=diff
==============================================================================
--- incubator/servicemix/site/overview.html (original)
+++ incubator/servicemix/site/overview.html Wed Jul 26 13:02:08 2006
@@ -72,7 +72,7 @@
<LI><A href="background-to-servicemix.html" title="Background to ServiceMix">Background to ServiceMix</A></LI>
<LI><A href="news.html" title="News">News</A></LI>
<LI><A href="faq.html" title="FAQ">FAQ</A></LI>
- <LI><A href="sitemap.html" title="SiteMap">Site</A></LI>
+ <LI><A href="site.html" title="Site">Site</A></LI>
<LI><A href="download.html" title="Download">Download</A></LI>
</UL>
@@ -169,11 +169,11 @@
<H3><A name="Navigation-Tooling"></A>Tooling</H3>
<UL class="alternate" type="square">
- <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
+ <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="eclipse-plugin.html" title="Eclipse plugin">Eclipse plugin</A></LI>
+ <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
<LI><A href="jboss-deployer.html" title="JBoss Deployer">JBoss Deployer</A></LI>
<LI><A href="war-deployment.html" title="WAR Deployment">WAR Deployment</A></LI>
- <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="maven-sar-plugin.html" title="Maven SAR plugin">Maven SAR plugin</A></LI>
</UL>
Modified: incubator/servicemix/site/pojo-support.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/pojo-support.html?rev=425823&r1=425822&r2=425823&view=diff
==============================================================================
--- incubator/servicemix/site/pojo-support.html (original)
+++ incubator/servicemix/site/pojo-support.html Wed Jul 26 13:02:08 2006
@@ -72,7 +72,7 @@
<LI><A href="background-to-servicemix.html" title="Background to ServiceMix">Background to ServiceMix</A></LI>
<LI><A href="news.html" title="News">News</A></LI>
<LI><A href="faq.html" title="FAQ">FAQ</A></LI>
- <LI><A href="sitemap.html" title="SiteMap">Site</A></LI>
+ <LI><A href="site.html" title="Site">Site</A></LI>
<LI><A href="download.html" title="Download">Download</A></LI>
</UL>
@@ -169,11 +169,11 @@
<H3><A name="Navigation-Tooling"></A>Tooling</H3>
<UL class="alternate" type="square">
- <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
+ <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="eclipse-plugin.html" title="Eclipse plugin">Eclipse plugin</A></LI>
+ <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
<LI><A href="jboss-deployer.html" title="JBoss Deployer">JBoss Deployer</A></LI>
<LI><A href="war-deployment.html" title="WAR Deployment">WAR Deployment</A></LI>
- <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="maven-sar-plugin.html" title="Maven SAR plugin">Maven SAR plugin</A></LI>
</UL>
@@ -236,15 +236,140 @@
<H2><A name="POJOsupport-ExamplePOJOComponents"></A>Example POJO Components</H2>
<P>First here's how we configure the two components in ServiceMix. Notice that ServiceMix is doing the routing here using <B>destinationService</B>.</P>
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-xml"><beans <SPAN class="code-keyword">xmlns:sm</SPAN>=<SPAN class="code-quote">"http://servicemix.apache.org/config/1.0"</SPAN>
+ <SPAN class="code-keyword">xmlns:foo</SPAN>=<SPAN class="code-quote">"http://servicemix.org/cheese/"</SPAN>>
+
+ <SPAN class="code-tag"><sm:container id=<SPAN class="code-quote">"jbi"</SPAN> embedded=<SPAN class="code-quote">"true"</SPAN>></SPAN>
+ <SPAN class="code-tag"><sm:activationSpecs></SPAN>
+
+ <SPAN class="code-tag"><sm:activationSpec componentName=<SPAN class="code-quote">"sender"</SPAN> service=<SPAN class="code-quote">"foo:sender"</SPAN> destinationService=<SPAN class="code-quote">"foo:receiver"</SPAN>></SPAN>
+ <SPAN class="code-tag"><sm:component></SPAN><SPAN class="code-tag"><bean class=<SPAN class="code-quote">"org.apache.servicemix.components.pojo.MySender"</SPAN> /></SPAN><SPAN class="code-tag"></sm:component></SPAN>
+ <SPAN class="code-tag"></sm:activationSpec></SPAN>
+
+ <SPAN class="code-tag"><sm:activationSpec id=<SPAN class="code-quote">"receiver"</SPAN> service=<SPAN class="code-quote">"foo:receiver"</SPAN>></SPAN>
+ <SPAN class="code-tag"><sm:component></SPAN><SPAN class="code-tag"><bean class=<SPAN class="code-quote">"org.apache.servicemix.components.pojo.MyReceiver"</SPAN>/></SPAN><SPAN class="code-tag"></sm:component></SPAN>
+ <SPAN class="code-tag"></sm:activationSpec></SPAN>
+
+ <SPAN class="code-tag"></sm:activationSpecs></SPAN>
+ <SPAN class="code-tag"></sm:container></SPAN>
+<SPAN class="code-tag"></beans></SPAN></PRE>
+</DIV></DIV>
<P> </P>
<P>Now lets look at the sender POJO. The sendMessages() method will send messages onto the JBI bus to the destination service specified in the above XML.</P>
-
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-java"><SPAN class="code-keyword">public</SPAN> class MySender <SPAN class="code-keyword">implements</SPAN> ComponentLifeCycle {
+ <SPAN class="code-keyword">private</SPAN> ComponentContext context;
+ <SPAN class="code-keyword">private</SPAN> ObjectName extensionMBeanName;
+
+
+ /**
+ * Sends a number of messages
+ */
+ <SPAN class="code-keyword">public</SPAN> void sendMessages(<SPAN class="code-object">int</SPAN> count) <SPAN class="code-keyword">throws</SPAN> MessagingException {
+ DeliveryChannel deliveryChannel = context.getDeliveryChannel();
+ MessageExchangeFactory factory = deliveryChannel.createExchangeFactory();
+
+ <SPAN class="code-keyword">for</SPAN> (<SPAN class="code-object">int</SPAN> i = 0; i < count; i++) {
+ InOnly exchange = factory.createInOnlyExchange();
+ NormalizedMessage message = exchange.createMessage();
+ exchange.setInMessage(message);
+
+ message.setProperty(<SPAN class="code-quote">"id"</SPAN>, <SPAN class="code-keyword">new</SPAN> <SPAN class="code-object">Integer</SPAN>(i));
+ message.setContent(<SPAN class="code-keyword">new</SPAN> StringSource(<SPAN class="code-quote">"<example id='"</SPAN> + i + <SPAN class="code-quote">"'/>"</SPAN>));
+
+ deliveryChannel.send(exchange);
+ }
+ }
+
+ <SPAN class="code-comment">// ComponentLifeCycle <SPAN class="code-keyword">interface</SPAN>
+</SPAN> <SPAN class="code-comment">//-------------------------------------------------------------------------
+</SPAN> <SPAN class="code-keyword">public</SPAN> ObjectName getExtensionMBeanName() {
+ <SPAN class="code-keyword">return</SPAN> extensionMBeanName;
+ }
+
+ <SPAN class="code-keyword">public</SPAN> void init(ComponentContext context) <SPAN class="code-keyword">throws</SPAN> JBIException {
+ <SPAN class="code-keyword">this</SPAN>.context = context;
+ }
+
+ <SPAN class="code-keyword">public</SPAN> void shutDown() <SPAN class="code-keyword">throws</SPAN> JBIException {
+ }
+
+ <SPAN class="code-keyword">public</SPAN> void start() <SPAN class="code-keyword">throws</SPAN> JBIException {
+ }
+
+ <SPAN class="code-keyword">public</SPAN> void stop() <SPAN class="code-keyword">throws</SPAN> JBIException {
+ }
+
+
+ <SPAN class="code-comment">// Properties
+</SPAN> <SPAN class="code-comment">//-------------------------------------------------------------------------
+</SPAN> <SPAN class="code-keyword">public</SPAN> void setExtensionMBeanName(ObjectName extensionMBeanName) {
+ <SPAN class="code-keyword">this</SPAN>.extensionMBeanName = extensionMBeanName;
+ }
+}</PRE>
+</DIV></DIV>
<P> </P>
<P>Then the receiver processes inbound messages as follows.</P>
-
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-java"><SPAN class="code-keyword">public</SPAN> class MyReceiver <SPAN class="code-keyword">implements</SPAN> ComponentLifeCycle, MessageExchangeListener {
+ <SPAN class="code-keyword">private</SPAN> <SPAN class="code-keyword">static</SPAN> <SPAN class="code-keyword">final</SPAN> Log log = LogFactory.getLog(MyReceiver.class);
+
+ <SPAN class="code-keyword">private</SPAN> ComponentContext context;
+ <SPAN class="code-keyword">private</SPAN> ObjectName extensionMBeanName;
+ <SPAN class="code-keyword">private</SPAN> MessageList messageList = <SPAN class="code-keyword">new</SPAN> MessageList();
+
+
+ <SPAN class="code-comment">// ComponentLifeCycle <SPAN class="code-keyword">interface</SPAN>
+</SPAN> <SPAN class="code-comment">//-------------------------------------------------------------------------
+</SPAN> <SPAN class="code-keyword">public</SPAN> ObjectName getExtensionMBeanName() {
+ <SPAN class="code-keyword">return</SPAN> extensionMBeanName;
+ }
+
+ <SPAN class="code-keyword">public</SPAN> void init(ComponentContext context) <SPAN class="code-keyword">throws</SPAN> JBIException {
+ <SPAN class="code-keyword">this</SPAN>.context = context;
+
+ <SPAN class="code-comment">// Lets activate myself
+</SPAN> context.activateEndpoint(<SPAN class="code-keyword">new</SPAN> QName(<SPAN class="code-quote">"http:<SPAN class="code-comment">//servicemix.org/cheese/"</SPAN>, <SPAN class="code-quote">"receiver"</SPAN>), <SPAN class="code-quote">"receiver"</SPAN>);
+</SPAN> }
+
+ <SPAN class="code-keyword">public</SPAN> void shutDown() <SPAN class="code-keyword">throws</SPAN> JBIException {
+ }
+
+ <SPAN class="code-keyword">public</SPAN> void start() <SPAN class="code-keyword">throws</SPAN> JBIException {
+ }
+
+ <SPAN class="code-keyword">public</SPAN> void stop() <SPAN class="code-keyword">throws</SPAN> JBIException {
+ }
+
+ <SPAN class="code-comment">// MessageExchangeListener <SPAN class="code-keyword">interface</SPAN>
+</SPAN> <SPAN class="code-comment">//-------------------------------------------------------------------------
+</SPAN> <SPAN class="code-keyword">public</SPAN> void onMessageExchange(MessageExchange exchange) <SPAN class="code-keyword">throws</SPAN> MessagingException {
+ log.info(<SPAN class="code-quote">"Received message "</SPAN> + exchange);
+ NormalizedMessage message = exchange.getMessage(<SPAN class="code-quote">"in"</SPAN>);
+ getMessageList().addMessage(message);
+ exchange.setStatus(ExchangeStatus.DONE);
+ context.getDeliveryChannel().send(exchange);
+ }
+
+ <SPAN class="code-comment">// Properties
+</SPAN> <SPAN class="code-comment">//-------------------------------------------------------------------------
+</SPAN> <SPAN class="code-keyword">public</SPAN> void setExtensionMBeanName(ObjectName extensionMBeanName) {
+ <SPAN class="code-keyword">this</SPAN>.extensionMBeanName = extensionMBeanName;
+ }
+
+ <SPAN class="code-keyword">public</SPAN> MessageList getMessageList() {
+ <SPAN class="code-keyword">return</SPAN> messageList;
+ }
+
+ <SPAN class="code-keyword">public</SPAN> void setMessageList(MessageList messageList) {
+ <SPAN class="code-keyword">this</SPAN>.messageList = messageList;
+ }
+}</PRE>
+</DIV></DIV>
<P> </P>
<H2><A name="POJOsupport-BeingevenmorePOJO"></A>Being even more POJO</H2>
@@ -254,11 +379,48 @@
<P>Another option is to be even more POJO-like. If you just want to invoke operations on the JBI bus then there's no need for you to implement the JBI component or lifecycle contract - you can just reuse the <A href="client-api.html" title="Client API">Client API</A>.</P>
<P>For example this POJO sends messages into the JBI bus.</P>
-
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-java"><SPAN class="code-keyword">public</SPAN> class PojoSender {
+ <SPAN class="code-keyword">private</SPAN> ServiceMixClient client;
+
+ <SPAN class="code-keyword">public</SPAN> void sendMessages(<SPAN class="code-object">int</SPAN> count) <SPAN class="code-keyword">throws</SPAN> MessagingException {
+ <SPAN class="code-keyword">for</SPAN> (<SPAN class="code-object">int</SPAN> i = 0; i < count; i++) {
+ InOnly exchange = client.createInOnlyExchange();
+ NormalizedMessage message = exchange.getInMessage();
+
+ message.setProperty(<SPAN class="code-quote">"id"</SPAN>, <SPAN class="code-keyword">new</SPAN> <SPAN class="code-object">Integer</SPAN>(i));
+ message.setContent(<SPAN class="code-keyword">new</SPAN> StringSource(<SPAN class="code-quote">"<example id='"</SPAN> + i + <SPAN class="code-quote">"'/>"</SPAN>));
+
+ client.send(exchange);
+ }
+ }
+
+ <SPAN class="code-keyword">public</SPAN> ServiceMixClient getClient() {
+ <SPAN class="code-keyword">return</SPAN> client;
+ }
+
+ <SPAN class="code-keyword">public</SPAN> void setClient(ServiceMixClient client) {
+ <SPAN class="code-keyword">this</SPAN>.client = client;
+ }
+}</PRE>
+</DIV></DIV>
<P> </P>
<P>And this is a POJO receiver which just consumes the messages its given, without explicitly implementing the component or lifecycle interfaces</P>
-
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-java"><SPAN class="code-keyword">public</SPAN> class PojoReceiver <SPAN class="code-keyword">implements</SPAN> MessageExchangeListener {
+ <SPAN class="code-keyword">private</SPAN> MessageList messageList = <SPAN class="code-keyword">new</SPAN> MessageList();
+
+ <SPAN class="code-keyword">public</SPAN> void onMessageExchange(MessageExchange exchange) <SPAN class="code-keyword">throws</SPAN> MessagingException {
+ NormalizedMessage message = exchange.getMessage(<SPAN class="code-quote">"in"</SPAN>);
+ getMessageList().addMessage(message);
+ }
+
+ <SPAN class="code-keyword">public</SPAN> MessageList getMessageList() {
+ <SPAN class="code-keyword">return</SPAN> messageList;
+ }
+}</PRE>
+</DIV></DIV>
<P> </P></DIV>
</DIV>
Modified: incubator/servicemix/site/publish-and-subscribe-routing.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/publish-and-subscribe-routing.html?rev=425823&r1=425822&r2=425823&view=diff
==============================================================================
--- incubator/servicemix/site/publish-and-subscribe-routing.html (original)
+++ incubator/servicemix/site/publish-and-subscribe-routing.html Wed Jul 26 13:02:08 2006
@@ -72,7 +72,7 @@
<LI><A href="background-to-servicemix.html" title="Background to ServiceMix">Background to ServiceMix</A></LI>
<LI><A href="news.html" title="News">News</A></LI>
<LI><A href="faq.html" title="FAQ">FAQ</A></LI>
- <LI><A href="sitemap.html" title="SiteMap">Site</A></LI>
+ <LI><A href="site.html" title="Site">Site</A></LI>
<LI><A href="download.html" title="Download">Download</A></LI>
</UL>
@@ -169,11 +169,11 @@
<H3><A name="Navigation-Tooling"></A>Tooling</H3>
<UL class="alternate" type="square">
- <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
+ <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="eclipse-plugin.html" title="Eclipse plugin">Eclipse plugin</A></LI>
+ <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
<LI><A href="jboss-deployer.html" title="JBoss Deployer">JBoss Deployer</A></LI>
<LI><A href="war-deployment.html" title="WAR Deployment">WAR Deployment</A></LI>
- <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="maven-sar-plugin.html" title="Maven SAR plugin">Maven SAR plugin</A></LI>
</UL>
Modified: incubator/servicemix/site/publish-subscribe-routing.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/publish-subscribe-routing.html?rev=425823&r1=425822&r2=425823&view=diff
==============================================================================
--- incubator/servicemix/site/publish-subscribe-routing.html (original)
+++ incubator/servicemix/site/publish-subscribe-routing.html Wed Jul 26 13:02:08 2006
@@ -72,7 +72,7 @@
<LI><A href="background-to-servicemix.html" title="Background to ServiceMix">Background to ServiceMix</A></LI>
<LI><A href="news.html" title="News">News</A></LI>
<LI><A href="faq.html" title="FAQ">FAQ</A></LI>
- <LI><A href="sitemap.html" title="SiteMap">Site</A></LI>
+ <LI><A href="site.html" title="Site">Site</A></LI>
<LI><A href="download.html" title="Download">Download</A></LI>
</UL>
@@ -169,11 +169,11 @@
<H3><A name="Navigation-Tooling"></A>Tooling</H3>
<UL class="alternate" type="square">
- <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
+ <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="eclipse-plugin.html" title="Eclipse plugin">Eclipse plugin</A></LI>
+ <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
<LI><A href="jboss-deployer.html" title="JBoss Deployer">JBoss Deployer</A></LI>
<LI><A href="war-deployment.html" title="WAR Deployment">WAR Deployment</A></LI>
- <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="maven-sar-plugin.html" title="Maven SAR plugin">Maven SAR plugin</A></LI>
</UL>
Modified: incubator/servicemix/site/quartz-binding.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/quartz-binding.html?rev=425823&r1=425822&r2=425823&view=diff
==============================================================================
--- incubator/servicemix/site/quartz-binding.html (original)
+++ incubator/servicemix/site/quartz-binding.html Wed Jul 26 13:02:08 2006
@@ -72,7 +72,7 @@
<LI><A href="background-to-servicemix.html" title="Background to ServiceMix">Background to ServiceMix</A></LI>
<LI><A href="news.html" title="News">News</A></LI>
<LI><A href="faq.html" title="FAQ">FAQ</A></LI>
- <LI><A href="sitemap.html" title="SiteMap">Site</A></LI>
+ <LI><A href="site.html" title="Site">Site</A></LI>
<LI><A href="download.html" title="Download">Download</A></LI>
</UL>
@@ -169,11 +169,11 @@
<H3><A name="Navigation-Tooling"></A>Tooling</H3>
<UL class="alternate" type="square">
- <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
+ <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="eclipse-plugin.html" title="Eclipse plugin">Eclipse plugin</A></LI>
+ <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
<LI><A href="jboss-deployer.html" title="JBoss Deployer">JBoss Deployer</A></LI>
<LI><A href="war-deployment.html" title="WAR Deployment">WAR Deployment</A></LI>
- <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="maven-sar-plugin.html" title="Maven SAR plugin">Maven SAR plugin</A></LI>
</UL>
Modified: incubator/servicemix/site/quartz-example-ja.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/quartz-example-ja.html?rev=425823&r1=425822&r2=425823&view=diff
==============================================================================
--- incubator/servicemix/site/quartz-example-ja.html (original)
+++ incubator/servicemix/site/quartz-example-ja.html Wed Jul 26 13:02:08 2006
@@ -72,7 +72,7 @@
<LI><A href="background-to-servicemix.html" title="Background to ServiceMix">Background to ServiceMix</A></LI>
<LI><A href="news.html" title="News">News</A></LI>
<LI><A href="faq.html" title="FAQ">FAQ</A></LI>
- <LI><A href="sitemap.html" title="SiteMap">Site</A></LI>
+ <LI><A href="site.html" title="Site">Site</A></LI>
<LI><A href="download.html" title="Download">Download</A></LI>
</UL>
@@ -169,11 +169,11 @@
<H3><A name="Navigation-Tooling"></A>Tooling</H3>
<UL class="alternate" type="square">
- <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
+ <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="eclipse-plugin.html" title="Eclipse plugin">Eclipse plugin</A></LI>
+ <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
<LI><A href="jboss-deployer.html" title="JBoss Deployer">JBoss Deployer</A></LI>
<LI><A href="war-deployment.html" title="WAR Deployment">WAR Deployment</A></LI>
- <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="maven-sar-plugin.html" title="Maven SAR plugin">Maven SAR plugin</A></LI>
</UL>
Modified: incubator/servicemix/site/quartz.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/quartz.html?rev=425823&r1=425822&r2=425823&view=diff
==============================================================================
--- incubator/servicemix/site/quartz.html (original)
+++ incubator/servicemix/site/quartz.html Wed Jul 26 13:02:08 2006
@@ -72,7 +72,7 @@
<LI><A href="background-to-servicemix.html" title="Background to ServiceMix">Background to ServiceMix</A></LI>
<LI><A href="news.html" title="News">News</A></LI>
<LI><A href="faq.html" title="FAQ">FAQ</A></LI>
- <LI><A href="sitemap.html" title="SiteMap">Site</A></LI>
+ <LI><A href="site.html" title="Site">Site</A></LI>
<LI><A href="download.html" title="Download">Download</A></LI>
</UL>
@@ -169,11 +169,11 @@
<H3><A name="Navigation-Tooling"></A>Tooling</H3>
<UL class="alternate" type="square">
- <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
+ <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="eclipse-plugin.html" title="Eclipse plugin">Eclipse plugin</A></LI>
+ <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
<LI><A href="jboss-deployer.html" title="JBoss Deployer">JBoss Deployer</A></LI>
<LI><A href="war-deployment.html" title="WAR Deployment">WAR Deployment</A></LI>
- <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="maven-sar-plugin.html" title="Maven SAR plugin">Maven SAR plugin</A></LI>
</UL>
@@ -228,7 +228,28 @@
<P>We have a QuartzComponent which integrates with the <SPAN class="nobr"><A href="http://www.opensymphony.com/quartz/" title="Visit page outside Confluence" rel="nofollow">Quartz<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> open source scheduler library. This allows you to trigger service invocations at timed intervals to perform periodic tasks.</P>
<P>Here's an example of configuring a quartz component. You can add as many triggers as you wish to the component, at different timing intervals.</P>
-
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-xml"><SPAN class="code-tag"><sm:activationSpec componentName=<SPAN class="code-quote">"timer"</SPAN> service=<SPAN class="code-quote">"my:timer"</SPAN> destinationService=<SPAN class="code-quote">"my:receiver"</SPAN>></SPAN>
+ <SPAN class="code-tag"><sm:component></SPAN><SPAN class="code-tag"><bean class=<SPAN class="code-quote">"org.apache.servicemix.components.quartz.QuartzComponent"</SPAN>></SPAN>
+ <SPAN class="code-tag"><property name=<SPAN class="code-quote">"triggers"</SPAN>></SPAN>
+ <SPAN class="code-tag"><map></SPAN>
+ <SPAN class="code-tag"><entry></SPAN>
+ <SPAN class="code-tag"><key></SPAN>
+ <SPAN class="code-tag"><bean class=<SPAN class="code-quote">"org.quartz.SimpleTrigger"</SPAN>></SPAN>
+ <SPAN class="code-tag"><property name=<SPAN class="code-quote">"repeatInterval"</SPAN> value=<SPAN class="code-quote">"200"</SPAN>/></SPAN>
+ <SPAN class="code-tag"><property name=<SPAN class="code-quote">"repeatCount"</SPAN> value=<SPAN class="code-quote">"20"</SPAN>/></SPAN>
+ <SPAN class="code-tag"></bean></SPAN>
+ <SPAN class="code-tag"></key></SPAN>
+ <SPAN class="code-tag"><bean class=<SPAN class="code-quote">"org.quartz.JobDetail"</SPAN>></SPAN>
+ <SPAN class="code-tag"><property name=<SPAN class="code-quote">"name"</SPAN> value=<SPAN class="code-quote">"My Example Job"</SPAN>/></SPAN>
+ <SPAN class="code-tag"><property name=<SPAN class="code-quote">"group"</SPAN> value=<SPAN class="code-quote">"ServiceMix"</SPAN>/></SPAN>
+ <SPAN class="code-tag"></bean></SPAN>
+ <SPAN class="code-tag"></entry></SPAN>
+ <SPAN class="code-tag"></map></SPAN>
+ <SPAN class="code-tag"></property></SPAN>
+ <SPAN class="code-tag"></bean></SPAN><SPAN class="code-tag"></sm:component></SPAN>
+<SPAN class="code-tag"></sm:activationSpec></SPAN></PRE>
+</DIV></DIV>
<P> </P></DIV>
</DIV>
Modified: incubator/servicemix/site/quicklinks.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/quicklinks.html?rev=425823&r1=425822&r2=425823&view=diff
==============================================================================
--- incubator/servicemix/site/quicklinks.html (original)
+++ incubator/servicemix/site/quicklinks.html Wed Jul 26 13:02:08 2006
@@ -72,7 +72,7 @@
<LI><A href="background-to-servicemix.html" title="Background to ServiceMix">Background to ServiceMix</A></LI>
<LI><A href="news.html" title="News">News</A></LI>
<LI><A href="faq.html" title="FAQ">FAQ</A></LI>
- <LI><A href="sitemap.html" title="SiteMap">Site</A></LI>
+ <LI><A href="site.html" title="Site">Site</A></LI>
<LI><A href="download.html" title="Download">Download</A></LI>
</UL>
@@ -169,11 +169,11 @@
<H3><A name="Navigation-Tooling"></A>Tooling</H3>
<UL class="alternate" type="square">
- <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
+ <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="eclipse-plugin.html" title="Eclipse plugin">Eclipse plugin</A></LI>
+ <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
<LI><A href="jboss-deployer.html" title="JBoss Deployer">JBoss Deployer</A></LI>
<LI><A href="war-deployment.html" title="WAR Deployment">WAR Deployment</A></LI>
- <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="maven-sar-plugin.html" title="Maven SAR plugin">Maven SAR plugin</A></LI>
</UL>
Modified: incubator/servicemix/site/references.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/references.html?rev=425823&r1=425822&r2=425823&view=diff
==============================================================================
--- incubator/servicemix/site/references.html (original)
+++ incubator/servicemix/site/references.html Wed Jul 26 13:02:08 2006
@@ -72,7 +72,7 @@
<LI><A href="background-to-servicemix.html" title="Background to ServiceMix">Background to ServiceMix</A></LI>
<LI><A href="news.html" title="News">News</A></LI>
<LI><A href="faq.html" title="FAQ">FAQ</A></LI>
- <LI><A href="sitemap.html" title="SiteMap">Site</A></LI>
+ <LI><A href="site.html" title="Site">Site</A></LI>
<LI><A href="download.html" title="Download">Download</A></LI>
</UL>
@@ -169,11 +169,11 @@
<H3><A name="Navigation-Tooling"></A>Tooling</H3>
<UL class="alternate" type="square">
- <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
+ <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="eclipse-plugin.html" title="Eclipse plugin">Eclipse plugin</A></LI>
+ <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
<LI><A href="jboss-deployer.html" title="JBoss Deployer">JBoss Deployer</A></LI>
<LI><A href="war-deployment.html" title="WAR Deployment">WAR Deployment</A></LI>
- <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="maven-sar-plugin.html" title="Maven SAR plugin">Maven SAR plugin</A></LI>
</UL>
Modified: incubator/servicemix/site/reflection.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/reflection.html?rev=425823&r1=425822&r2=425823&view=diff
==============================================================================
--- incubator/servicemix/site/reflection.html (original)
+++ incubator/servicemix/site/reflection.html Wed Jul 26 13:02:08 2006
@@ -72,7 +72,7 @@
<LI><A href="background-to-servicemix.html" title="Background to ServiceMix">Background to ServiceMix</A></LI>
<LI><A href="news.html" title="News">News</A></LI>
<LI><A href="faq.html" title="FAQ">FAQ</A></LI>
- <LI><A href="sitemap.html" title="SiteMap">Site</A></LI>
+ <LI><A href="site.html" title="Site">Site</A></LI>
<LI><A href="download.html" title="Download">Download</A></LI>
</UL>
@@ -169,11 +169,11 @@
<H3><A name="Navigation-Tooling"></A>Tooling</H3>
<UL class="alternate" type="square">
- <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
+ <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="eclipse-plugin.html" title="Eclipse plugin">Eclipse plugin</A></LI>
+ <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
<LI><A href="jboss-deployer.html" title="JBoss Deployer">JBoss Deployer</A></LI>
<LI><A href="war-deployment.html" title="WAR Deployment">WAR Deployment</A></LI>
- <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="maven-sar-plugin.html" title="Maven SAR plugin">Maven SAR plugin</A></LI>
</UL>
@@ -232,13 +232,30 @@
<H3><A name="Reflection-InOnly"></A>InOnly</H3>
<P>This example shows an InOnly reflection component being configured. This component then creates a dynamic proxy which when a method is invoked it will be passed into the JBI container.</P>
-
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-xml"><sm:activationSpec componentName=<SPAN class="code-quote">"proxyCounter"</SPAN>
+ endpoint=<SPAN class="code-quote">"proxyCounter"</SPAN>
+ service=<SPAN class="code-quote">"foo:proxyCounter"</SPAN>
+ destinationService=<SPAN class="code-quote">"foo:reflectionCounter"</SPAN>>
+ <SPAN class="code-tag"><sm:component></SPAN><SPAN class="code-tag"><bean class=<SPAN class="code-quote">"org.apache.servicemix.components.reflection.ProxyInOnlyBinding"</SPAN>></SPAN>
+ <SPAN class="code-tag"><property name=<SPAN class="code-quote">"target"</SPAN> ref=<SPAN class="code-quote">"counter"</SPAN>/></SPAN>
+ <SPAN class="code-tag"></bean></SPAN><SPAN class="code-tag"></sm:component></SPAN>
+<SPAN class="code-tag"></sm:activationSpec></SPAN></PRE>
+</DIV></DIV>
<P> </P>
<H3><A name="Reflection-InOut"></A>InOut</H3>
<P>This example performs an InOut. So the dynamic proxy will call into the JBI container, block until a response is available and then return the unmarshalled value to the caller of the dynamic proxy's method.</P>
-
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-xml"><sm:activationSpec componentName=<SPAN class="code-quote">"reflectionCounter"</SPAN>
+ service=<SPAN class="code-quote">"foo:reflectionCounter"</SPAN>
+ endpoint=<SPAN class="code-quote">"reflectionCounter"</SPAN>>
+ <SPAN class="code-tag"><sm:component></SPAN><SPAN class="code-tag"><bean class=<SPAN class="code-quote">"org.apache.servicemix.components.reflection.ReflectionOutBinding"</SPAN>></SPAN>
+ <SPAN class="code-tag"><property name=<SPAN class="code-quote">"target"</SPAN> ref=<SPAN class="code-quote">"counter"</SPAN>/></SPAN>
+ <SPAN class="code-tag"></bean></SPAN><SPAN class="code-tag"></sm:component></SPAN>
+<SPAN class="code-tag"></sm:activationSpec></SPAN></PRE>
+</DIV></DIV>
<P> </P></DIV>
</DIV>
Modified: incubator/servicemix/site/release-guide.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/release-guide.html?rev=425823&r1=425822&r2=425823&view=diff
==============================================================================
--- incubator/servicemix/site/release-guide.html (original)
+++ incubator/servicemix/site/release-guide.html Wed Jul 26 13:02:08 2006
@@ -72,7 +72,7 @@
<LI><A href="background-to-servicemix.html" title="Background to ServiceMix">Background to ServiceMix</A></LI>
<LI><A href="news.html" title="News">News</A></LI>
<LI><A href="faq.html" title="FAQ">FAQ</A></LI>
- <LI><A href="sitemap.html" title="SiteMap">Site</A></LI>
+ <LI><A href="site.html" title="Site">Site</A></LI>
<LI><A href="download.html" title="Download">Download</A></LI>
</UL>
@@ -169,11 +169,11 @@
<H3><A name="Navigation-Tooling"></A>Tooling</H3>
<UL class="alternate" type="square">
- <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
+ <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="eclipse-plugin.html" title="Eclipse plugin">Eclipse plugin</A></LI>
+ <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
<LI><A href="jboss-deployer.html" title="JBoss Deployer">JBoss Deployer</A></LI>
<LI><A href="war-deployment.html" title="WAR Deployment">WAR Deployment</A></LI>
- <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="maven-sar-plugin.html" title="Maven SAR plugin">Maven SAR plugin</A></LI>
</UL>
Modified: incubator/servicemix/site/resources.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/resources.html?rev=425823&r1=425822&r2=425823&view=diff
==============================================================================
--- incubator/servicemix/site/resources.html (original)
+++ incubator/servicemix/site/resources.html Wed Jul 26 13:02:08 2006
@@ -72,7 +72,7 @@
<LI><A href="background-to-servicemix.html" title="Background to ServiceMix">Background to ServiceMix</A></LI>
<LI><A href="news.html" title="News">News</A></LI>
<LI><A href="faq.html" title="FAQ">FAQ</A></LI>
- <LI><A href="sitemap.html" title="SiteMap">Site</A></LI>
+ <LI><A href="site.html" title="Site">Site</A></LI>
<LI><A href="download.html" title="Download">Download</A></LI>
</UL>
@@ -169,11 +169,11 @@
<H3><A name="Navigation-Tooling"></A>Tooling</H3>
<UL class="alternate" type="square">
- <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
+ <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="eclipse-plugin.html" title="Eclipse plugin">Eclipse plugin</A></LI>
+ <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
<LI><A href="jboss-deployer.html" title="JBoss Deployer">JBoss Deployer</A></LI>
<LI><A href="war-deployment.html" title="WAR Deployment">WAR Deployment</A></LI>
- <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="maven-sar-plugin.html" title="Maven SAR plugin">Maven SAR plugin</A></LI>
</UL>
Modified: incubator/servicemix/site/rest-pojos.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/rest-pojos.html?rev=425823&r1=425822&r2=425823&view=diff
==============================================================================
--- incubator/servicemix/site/rest-pojos.html (original)
+++ incubator/servicemix/site/rest-pojos.html Wed Jul 26 13:02:08 2006
@@ -72,7 +72,7 @@
<LI><A href="background-to-servicemix.html" title="Background to ServiceMix">Background to ServiceMix</A></LI>
<LI><A href="news.html" title="News">News</A></LI>
<LI><A href="faq.html" title="FAQ">FAQ</A></LI>
- <LI><A href="sitemap.html" title="SiteMap">Site</A></LI>
+ <LI><A href="site.html" title="Site">Site</A></LI>
<LI><A href="download.html" title="Download">Download</A></LI>
</UL>
@@ -169,11 +169,11 @@
<H3><A name="Navigation-Tooling"></A>Tooling</H3>
<UL class="alternate" type="square">
- <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
+ <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="eclipse-plugin.html" title="Eclipse plugin">Eclipse plugin</A></LI>
+ <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
<LI><A href="jboss-deployer.html" title="JBoss Deployer">JBoss Deployer</A></LI>
<LI><A href="war-deployment.html" title="WAR Deployment">WAR Deployment</A></LI>
- <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="maven-sar-plugin.html" title="Maven SAR plugin">Maven SAR plugin</A></LI>
</UL>
Modified: incubator/servicemix/site/rightheader.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/rightheader.html?rev=425823&r1=425822&r2=425823&view=diff
==============================================================================
--- incubator/servicemix/site/rightheader.html (original)
+++ incubator/servicemix/site/rightheader.html Wed Jul 26 13:02:08 2006
@@ -72,7 +72,7 @@
<LI><A href="background-to-servicemix.html" title="Background to ServiceMix">Background to ServiceMix</A></LI>
<LI><A href="news.html" title="News">News</A></LI>
<LI><A href="faq.html" title="FAQ">FAQ</A></LI>
- <LI><A href="sitemap.html" title="SiteMap">Site</A></LI>
+ <LI><A href="site.html" title="Site">Site</A></LI>
<LI><A href="download.html" title="Download">Download</A></LI>
</UL>
@@ -169,11 +169,11 @@
<H3><A name="Navigation-Tooling"></A>Tooling</H3>
<UL class="alternate" type="square">
- <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
+ <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="eclipse-plugin.html" title="Eclipse plugin">Eclipse plugin</A></LI>
+ <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
<LI><A href="jboss-deployer.html" title="JBoss Deployer">JBoss Deployer</A></LI>
<LI><A href="war-deployment.html" title="WAR Deployment">WAR Deployment</A></LI>
- <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="maven-sar-plugin.html" title="Maven SAR plugin">Maven SAR plugin</A></LI>
</UL>
Modified: incubator/servicemix/site/roadmap.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/roadmap.html?rev=425823&r1=425822&r2=425823&view=diff
==============================================================================
--- incubator/servicemix/site/roadmap.html (original)
+++ incubator/servicemix/site/roadmap.html Wed Jul 26 13:02:08 2006
@@ -72,7 +72,7 @@
<LI><A href="background-to-servicemix.html" title="Background to ServiceMix">Background to ServiceMix</A></LI>
<LI><A href="news.html" title="News">News</A></LI>
<LI><A href="faq.html" title="FAQ">FAQ</A></LI>
- <LI><A href="sitemap.html" title="SiteMap">Site</A></LI>
+ <LI><A href="site.html" title="Site">Site</A></LI>
<LI><A href="download.html" title="Download">Download</A></LI>
</UL>
@@ -169,11 +169,11 @@
<H3><A name="Navigation-Tooling"></A>Tooling</H3>
<UL class="alternate" type="square">
- <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
+ <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="eclipse-plugin.html" title="Eclipse plugin">Eclipse plugin</A></LI>
+ <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
<LI><A href="jboss-deployer.html" title="JBoss Deployer">JBoss Deployer</A></LI>
<LI><A href="war-deployment.html" title="WAR Deployment">WAR Deployment</A></LI>
- <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="maven-sar-plugin.html" title="Maven SAR plugin">Maven SAR plugin</A></LI>
</UL>
Modified: incubator/servicemix/site/routing.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/routing.html?rev=425823&r1=425822&r2=425823&view=diff
==============================================================================
--- incubator/servicemix/site/routing.html (original)
+++ incubator/servicemix/site/routing.html Wed Jul 26 13:02:08 2006
@@ -72,7 +72,7 @@
<LI><A href="background-to-servicemix.html" title="Background to ServiceMix">Background to ServiceMix</A></LI>
<LI><A href="news.html" title="News">News</A></LI>
<LI><A href="faq.html" title="FAQ">FAQ</A></LI>
- <LI><A href="sitemap.html" title="SiteMap">Site</A></LI>
+ <LI><A href="site.html" title="Site">Site</A></LI>
<LI><A href="download.html" title="Download">Download</A></LI>
</UL>
@@ -169,11 +169,11 @@
<H3><A name="Navigation-Tooling"></A>Tooling</H3>
<UL class="alternate" type="square">
- <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
+ <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="eclipse-plugin.html" title="Eclipse plugin">Eclipse plugin</A></LI>
+ <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
<LI><A href="jboss-deployer.html" title="JBoss Deployer">JBoss Deployer</A></LI>
<LI><A href="war-deployment.html" title="WAR Deployment">WAR Deployment</A></LI>
- <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="maven-sar-plugin.html" title="Maven SAR plugin">Maven SAR plugin</A></LI>
</UL>
Modified: incubator/servicemix/site/rss-binding-ja.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/rss-binding-ja.html?rev=425823&r1=425822&r2=425823&view=diff
==============================================================================
--- incubator/servicemix/site/rss-binding-ja.html (original)
+++ incubator/servicemix/site/rss-binding-ja.html Wed Jul 26 13:02:08 2006
@@ -72,7 +72,7 @@
<LI><A href="background-to-servicemix.html" title="Background to ServiceMix">Background to ServiceMix</A></LI>
<LI><A href="news.html" title="News">News</A></LI>
<LI><A href="faq.html" title="FAQ">FAQ</A></LI>
- <LI><A href="sitemap.html" title="SiteMap">Site</A></LI>
+ <LI><A href="site.html" title="Site">Site</A></LI>
<LI><A href="download.html" title="Download">Download</A></LI>
</UL>
@@ -169,11 +169,11 @@
<H3><A name="Navigation-Tooling"></A>Tooling</H3>
<UL class="alternate" type="square">
- <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
+ <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="eclipse-plugin.html" title="Eclipse plugin">Eclipse plugin</A></LI>
+ <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
<LI><A href="jboss-deployer.html" title="JBoss Deployer">JBoss Deployer</A></LI>
<LI><A href="war-deployment.html" title="WAR Deployment">WAR Deployment</A></LI>
- <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="maven-sar-plugin.html" title="Maven SAR plugin">Maven SAR plugin</A></LI>
</UL>
Modified: incubator/servicemix/site/rss-binding.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/rss-binding.html?rev=425823&r1=425822&r2=425823&view=diff
==============================================================================
--- incubator/servicemix/site/rss-binding.html (original)
+++ incubator/servicemix/site/rss-binding.html Wed Jul 26 13:02:08 2006
@@ -72,7 +72,7 @@
<LI><A href="background-to-servicemix.html" title="Background to ServiceMix">Background to ServiceMix</A></LI>
<LI><A href="news.html" title="News">News</A></LI>
<LI><A href="faq.html" title="FAQ">FAQ</A></LI>
- <LI><A href="sitemap.html" title="SiteMap">Site</A></LI>
+ <LI><A href="site.html" title="Site">Site</A></LI>
<LI><A href="download.html" title="Download">Download</A></LI>
</UL>
@@ -169,11 +169,11 @@
<H3><A name="Navigation-Tooling"></A>Tooling</H3>
<UL class="alternate" type="square">
- <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
+ <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="eclipse-plugin.html" title="Eclipse plugin">Eclipse plugin</A></LI>
+ <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
<LI><A href="jboss-deployer.html" title="JBoss Deployer">JBoss Deployer</A></LI>
<LI><A href="war-deployment.html" title="WAR Deployment">WAR Deployment</A></LI>
- <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="maven-sar-plugin.html" title="Maven SAR plugin">Maven SAR plugin</A></LI>
</UL>
Modified: incubator/servicemix/site/rss.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/rss.html?rev=425823&r1=425822&r2=425823&view=diff
==============================================================================
--- incubator/servicemix/site/rss.html (original)
+++ incubator/servicemix/site/rss.html Wed Jul 26 13:02:08 2006
@@ -72,7 +72,7 @@
<LI><A href="background-to-servicemix.html" title="Background to ServiceMix">Background to ServiceMix</A></LI>
<LI><A href="news.html" title="News">News</A></LI>
<LI><A href="faq.html" title="FAQ">FAQ</A></LI>
- <LI><A href="sitemap.html" title="SiteMap">Site</A></LI>
+ <LI><A href="site.html" title="Site">Site</A></LI>
<LI><A href="download.html" title="Download">Download</A></LI>
</UL>
@@ -169,11 +169,11 @@
<H3><A name="Navigation-Tooling"></A>Tooling</H3>
<UL class="alternate" type="square">
- <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
+ <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="eclipse-plugin.html" title="Eclipse plugin">Eclipse plugin</A></LI>
+ <LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
<LI><A href="jboss-deployer.html" title="JBoss Deployer">JBoss Deployer</A></LI>
<LI><A href="war-deployment.html" title="WAR Deployment">WAR Deployment</A></LI>
- <LI><A href="maven-jbi-plugin.html" title="Maven JBI plugin">Maven JBI plugin</A></LI>
<LI><A href="maven-sar-plugin.html" title="Maven SAR plugin">Maven SAR plugin</A></LI>
</UL>
@@ -240,7 +240,27 @@
<P>This component is used to consume inbound JBI messages and write them to an RSS/Atom feed. You can then use expressions to extract the title and entry content for the items.</P>
<P>The following example shows using XPath expression</P>
-
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-xml"><sm:activationSpec componentName=<SPAN class="code-quote">"feedWriter"</SPAN>
+ service=<SPAN class="code-quote">"foo:feedWriter"</SPAN>>
+ <SPAN class="code-tag"><sm:component></SPAN><SPAN class="code-tag"><bean class=<SPAN class="code-quote">"org.apache.servicemix.components.rss.FeedWriter"</SPAN>></SPAN>
+
+ <SPAN class="code-tag"><property name=<SPAN class="code-quote">"feedFile"</SPAN> value=<SPAN class="code-quote">"file:target/serviceMixFeed.xml"</SPAN> /></SPAN>
+
+ <SPAN class="code-tag"><SPAN class="code-comment"><!-- define expressions for the entry title and value --></SPAN></SPAN>
+ <SPAN class="code-tag"><property name=<SPAN class="code-quote">"entryTitle"</SPAN>></SPAN>
+ <SPAN class="code-tag"><bean class=<SPAN class="code-quote">"org.apache.servicemix.expression.JaxenStringXPathExpression"</SPAN>></SPAN>
+ <SPAN class="code-tag"><constructor-arg value=<SPAN class="code-quote">"concat('Message ', /sample/@id, ' - ', /sample/@sent)"</SPAN> /></SPAN>
+ <SPAN class="code-tag"></bean></SPAN>
+ <SPAN class="code-tag"></property></SPAN>
+ <SPAN class="code-tag"><property name=<SPAN class="code-quote">"entryValue"</SPAN>></SPAN>
+ <SPAN class="code-tag"><bean class=<SPAN class="code-quote">"org.apache.servicemix.expression.JaxenStringXPathExpression"</SPAN>></SPAN>
+ <SPAN class="code-tag"><constructor-arg value=<SPAN class="code-quote">"concat('This is an entry with ID ', /sample/@id, ' sent: ', /sample/@sent, '. There is not much else in the message to tell :)')"</SPAN> /></SPAN>
+ <SPAN class="code-tag"></bean></SPAN>
+ <SPAN class="code-tag"></property></SPAN>
+ <SPAN class="code-tag"></bean></SPAN><SPAN class="code-tag"></sm:component></SPAN>
+<SPAN class="code-tag"></sm:activationSpec></SPAN></PRE>
+</DIV></DIV>
<P> </P></DIV>
</DIV>