You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by js...@apache.org on 2006/06/14 14:39:32 UTC
svn commit: r414225 [1/3] - in /incubator/servicemix/site: ./
jms-binding.data/
Author: jstrachan
Date: Wed Jun 14 05:39:31 2006
New Revision: 414225
URL: http://svn.apache.org/viewvc?rev=414225&view=rev
Log:
Latest export from confluence
Modified:
incubator/servicemix/site/drools.html
incubator/servicemix/site/jms-binding.data/jmsflow.jpg
incubator/servicemix/site/jms-binding.data/jmsflow.jpg.jpeg
incubator/servicemix/site/jms-binding.html
incubator/servicemix/site/navigation-lisa.html
incubator/servicemix/site/navigation-tree.html
incubator/servicemix/site/quartz-example-ja.html
incubator/servicemix/site/rss-binding-ja.html
incubator/servicemix/site/scripting.html
incubator/servicemix/site/using-a-jmx-console.html
Modified: incubator/servicemix/site/drools.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/drools.html?rev=414225&r1=414224&r2=414225&view=diff
==============================================================================
--- incubator/servicemix/site/drools.html (original)
+++ incubator/servicemix/site/drools.html Wed Jun 14 05:39:31 2006
@@ -80,9 +80,10 @@
<H3><A name="Navigation-Community"></A>Community</H3>
<UL class="alternate" type="square">
- <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="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>
@@ -180,7 +181,7 @@
<H3><A name="Navigation-RelatedProjects"></A>Related Projects</H3>
<UL class="alternate" type="square">
- <LI><SPAN class="nobr"><A href="http://activemq.codehaus.org/" 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://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>
@@ -227,14 +228,7 @@
<P>We support Rules based routing using the <SPAN class="nobr"><A href="http://drools.codehaus.org/" title="Visit page outside Confluence" rel="nofollow">Drools<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> rule engine. The basic idea is you expose a DroolsComponent at some service/interface/operation endpoint in ServiceMix then let it perform rules based routing, or other actions as required.</P>
<P>You can deploy a DroolsComponent with a rule base which will be fired when it is invoked. The rule base is then in complete control over messge dispatching.</P>
-<DIV class="code"><DIV class="codeContent">
-<PRE class="code-xml"><sm:activationSpec componentName=<SPAN class="code-quote">"droolsRouter"</SPAN>
- service=<SPAN class="code-quote">"foo:droolsRouter"</SPAN>>
- <SPAN class="code-tag"><sm:component></SPAN><SPAN class="code-tag"><bean class=<SPAN class="code-quote">"org.apache.servicemix.components.drools.DroolsComponent"</SPAN>></SPAN>
- <SPAN class="code-tag"><property name=<SPAN class="code-quote">"ruleBaseResource"</SPAN> value=<SPAN class="code-quote">"classpath:org/apache/servicemix/components/drools/rulebase.xml"</SPAN> /></SPAN>
- <SPAN class="code-tag"></bean></SPAN><SPAN class="code-tag"></sm:component></SPAN>
-<SPAN class="code-tag"></sm:activationSpec></SPAN></PRE>
-</DIV></DIV>
+
<P>Then you can create your Drools rule base using whatever Drools mechanism you wish. For example here's the default Java semantic module to perform custom routing</P>
<DIV class="code"><DIV class="codeContent">
<PRE class="code-xml"><rule-set name=<SPAN class="code-quote">"cheese rules"</SPAN>
Modified: incubator/servicemix/site/jms-binding.data/jmsflow.jpg
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/jms-binding.data/jmsflow.jpg?rev=414225&r1=414224&r2=414225&view=diff
==============================================================================
Binary files - no diff available.
Modified: incubator/servicemix/site/jms-binding.data/jmsflow.jpg.jpeg
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/jms-binding.data/jmsflow.jpg.jpeg?rev=414225&r1=414224&r2=414225&view=diff
==============================================================================
Binary files - no diff available.
Modified: incubator/servicemix/site/jms-binding.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/jms-binding.html?rev=414225&r1=414224&r2=414225&view=diff
==============================================================================
--- incubator/servicemix/site/jms-binding.html (original)
+++ incubator/servicemix/site/jms-binding.html Wed Jun 14 05:39:31 2006
@@ -9,7 +9,7 @@
<LINK type="text/css" rel="stylesheet" href="resources/site.css">
<SCRIPT src="resources/space.js" type="text/javascript"></SCRIPT>
<TITLE>
-jms-binding
+JMS Binding
</TITLE>
<META http-equiv="Content-Type" content="text/html;charset=UTF-8"></HEAD>
<BODY onload="init()">
@@ -36,7 +36,7 @@
<TR>
<TD align="left" valign="middle" nowrap="">
<DIV id="site-breadcrumbs">
-<A href="home.html" title="ServiceMix">ServiceMix</A> > <A href="home.html" title="Home">Home</A> > <A href="documentation.html" title="Documentation">Documentation</A> > <A href="example-use-cases.html" title="Example & Use Cases">Example & Use Cases</A> > <A href="examples.html" title="Examples">Examples</A> > <A href="" title="jms-binding">jms-binding</A>
+<A href="home.html" title="ServiceMix">ServiceMix</A> > <A href="sandbox.html" title="Sandbox">Sandbox</A> > <A href="" title="JMS Binding">JMS Binding</A>
</DIV>
</TD>
<TD align="right" valign="middle" nowrap="">
@@ -80,9 +80,10 @@
<H3><A name="Navigation-Community"></A>Community</H3>
<UL class="alternate" type="square">
- <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="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>
@@ -180,7 +181,7 @@
<H3><A name="Navigation-RelatedProjects"></A>Related Projects</H3>
<UL class="alternate" type="square">
- <LI><SPAN class="nobr"><A href="http://activemq.codehaus.org/" 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://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>
@@ -221,10 +222,10 @@
<DIV id="site-page">
<!--
- <div class="pagetitle">jms- binding</div>
+ <div class="pagetitle">JMS Binding</div>
-->
<DIV class="wiki-content">
-<H3><A name="jms-binding-OverviewoftheServiceMix2.xJMSBindingExample"></A>Overview of the ServiceMix 2.x <EM>JMS Binding</EM> Example</H3>
+<H3><A name="JMSBinding-OverviewoftheServiceMix2.xJMSBindingExample"></A>Overview of the ServiceMix 2.x <EM>JMS Binding</EM> Example</H3>
<P>The following procedure describes how to run the <EM>JMS Binding</EM> example and provides details regarding what it does. For information on the business use case, please refer to: <SPAN class="nobr"><A href="http://www.servicemix.org/Use%20Cases" title="Visit page outside Confluence" rel="nofollow">Use Case for JMS Binding<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>.
<BR clear="all">
@@ -245,7 +246,7 @@
<BR clear="all">
This example shows how to connect the JMS bindings to a simple service component. One component listens for a JMS message on topic 'demo.org.servicemix.source' while another publishes processed messages to topic 'demo.org.servicemix.result'. A simple JMS client is provided so that messages can be sent and received to and from the ServiceMix Container.</P>
-<H3><A name="jms-binding-RunningtheJMSBindingExample"></A>Running the <EM>JMS Binding</EM> Example</H3>
+<H3><A name="JMSBinding-RunningtheJMSBindingExample"></A>Running the <EM>JMS Binding</EM> Example</H3>
<OL>
<LI>From a command shell, go to the JMS Binding example directory:
@@ -264,18 +265,15 @@
</DIV></DIV>
<P><BR clear="all">
Ant will compile and run the simple JMS client, <EM>JMSClient</EM>, which performs a JMS based request-response into the ServiceMix container before returning the results to the console.
-<BR clear="all">
-<BR clear="all"></P>
-<TABLE cellpadding="5" width="85%" cellspacing="8px" class="tipMacro" border="0" align="center"><COLGROUP><COL width="24"><COL></COLGROUP><TR><TD valign="top"><IMG src="http://goopen.org/confluence/images/icons/emoticons/check.gif" width="16" height="16" align="absmiddle" alt="" border="0"></TD><TD><B class="strong">Handy Hint</B><BR>
-<P>Add <EM>$SERVICEMIX_HOME\bin</EM> directory to <EM>$PATH</EM> variable to simplify execution of the example.</P></TD></TR></TABLE></LI>
+<BR clear="all"></P></LI>
</OL>
-<H3><A name="jms-binding-StoppingtheJMSBindingExample"></A>Stopping the <EM>JMS Binding</EM> Example</H3>
+<H3><A name="JMSBinding-StoppingtheJMSBindingExample"></A>Stopping the <EM>JMS Binding</EM> Example</H3>
<P>To terminate the <EM>JMS Binding</EM> example, type "CTRL-C" in the command shell in which it is running and answer "y" to the "Terminate batch job (y/n)?" question.
<BR clear="all"></P>
-<H3><A name="jms-binding-HowitWorks"></A>How it Works</H3>
+<H3><A name="JMSBinding-HowitWorks"></A>How it Works</H3>
<P>The diagram below illustrates the flow of messages through the <EM>JMS Binding</EM> components:
<BR clear="all">
<BR clear="all"></P>
@@ -361,7 +359,7 @@
Socket[addr=/127.0.0.1,port=1863,localport=61616]</PRE>
</DIV></DIV>
-<H3><A name="jms-binding-Details"></A>Details</H3>
+<H3><A name="JMSBinding-Details"></A>Details</H3>
<P>The following table provides more details about the function of each component and bean in the servicemix.xml file.
<BR clear="all">
@@ -403,7 +401,7 @@
<P>1. <EM>jmsTemplate:</EM> JmsTemplate is a Spring component which hides the low level details when sending JMS messages. For additional information see: <SPAN class="nobr"><A href="http://docs.codehaus.org/display/ACTIVEMQ/Spring%20Support" title="Visit page outside Confluence" rel="nofollow">JmsTemplate<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>. jmsTemplate is not a component in the <EM>jbi</EM> container. It is used by <EM>inputSender</EM> and <EM>outputSender</EM>.</P>
-<H3><A name="jms-binding-RelatedDocumentation"></A>Related Documentation</H3>
+<H3><A name="JMSBinding-RelatedDocumentation"></A>Related Documentation</H3>
<P>For more information on the following topics please see:</P>
<UL>
@@ -421,17 +419,9 @@
</UL>
-<P><BR clear="all">
-For a brief explanation of the XML tags in the <TT>servicemi.xml</TT> file, please see:</P>
-
-<UL>
- <LI><SPAN class="nobr"><A href="http://servicemix.codehaus.org/maven/servicemix.xsd.html" title="Visit page outside Confluence" rel="nofollow">XSD<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>
-
-
-
+<P><BR clear="all"></P>
-<P>.</P></DIV>
+</DIV>
</DIV>
</TD>
@@ -440,11 +430,11 @@
</DIV>
</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=lmalgeri">Lisa Malgeri</A> on Dec 18, 2005
- (<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=2073&originalId=3622">view change</A>)
+ Added by <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=mjarillas">mjarillas</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=2094&originalId=5202">view change</A>)
- (<A href="http://goopen.org/confluence/pages/editpage.action?pageId=2073">edit page</A>)
+ (<A href="http://goopen.org/confluence/pages/editpage.action?pageId=2094">edit page</A>)
</DIV>
</BODY>
Modified: incubator/servicemix/site/navigation-lisa.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/navigation-lisa.html?rev=414225&r1=414224&r2=414225&view=diff
==============================================================================
--- incubator/servicemix/site/navigation-lisa.html (original)
+++ incubator/servicemix/site/navigation-lisa.html Wed Jun 14 05:39:31 2006
@@ -80,9 +80,10 @@
<H3><A name="Navigation-Community"></A>Community</H3>
<UL class="alternate" type="square">
- <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="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>
@@ -180,7 +181,7 @@
<H3><A name="Navigation-RelatedProjects"></A>Related Projects</H3>
<UL class="alternate" type="square">
- <LI><SPAN class="nobr"><A href="http://activemq.codehaus.org/" 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://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>