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/27 10:35:04 UTC
svn commit: r426005 - /incubator/servicemix/site/nmr-flows.html
Author: chirino
Date: Thu Jul 27 01:35:03 2006
New Revision: 426005
URL: http://svn.apache.org/viewvc?rev=426005&view=rev
Log:
Latest export from confluence
Modified:
incubator/servicemix/site/nmr-flows.html
Modified: incubator/servicemix/site/nmr-flows.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/nmr-flows.html?rev=426005&r1=426004&r2=426005&view=diff
==============================================================================
--- incubator/servicemix/site/nmr-flows.html (original)
+++ incubator/servicemix/site/nmr-flows.html Thu Jul 27 01:35:03 2006
@@ -259,7 +259,46 @@
<P>The JCA Flow is very similar to the JMS Flow, in that it allow to cluster ServiceMix containers together.<BR>
The main difference is that it uses JCA to provide support for XA transactions when sending and receiving<BR>
-JBI exchanges. You can find more informations on transactions <A href="transactions.html" title="Transactions">here</A>.</P></DIV>
+JBI exchanges. You can find more informations on transactions <A href="transactions.html" title="Transactions">here</A>.</P>
+
+<H2><A name="NMRFlows-Configuringflows"></A>Configuring flows</H2>
+
+<P>Flows are configured on the JBI container by usually using the <B>flowNames</B> attribute on the main container element.</P>
+
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-xml"><SPAN class="code-tag"><sm:container flowNames=<SPAN class="code-quote">"seda"</SPAN>></SPAN>
+ ...
+<SPAN class="code-tag"></sm:container></SPAN></PRE>
+</DIV></DIV>
+
+<P>JMS and JCA flows should be configured with an ActiveMQ url to the broker.</P>
+
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-xml"><SPAN class="code-tag"><sm:container flowNames=<SPAN class="code-quote">"jms?jmsURL=tcp://localhost:61616/"</SPAN>></SPAN>
+ ...
+<SPAN class="code-tag"></sm:container></SPAN></PRE>
+</DIV></DIV>
+
+<P>You can defined several flows by using a comma separated list.</P>
+
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-xml"><SPAN class="code-tag"><sm:container flowNames=<SPAN class="code-quote">"seda,jms?jmsURL=tcp://localhost:61616/"</SPAN>></SPAN>
+ ...
+<SPAN class="code-tag"></sm:container></SPAN></PRE>
+</DIV></DIV>
+
+<P>For more complex configurations, you can define the flow explicitely.</P>
+
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-xml"><SPAN class="code-tag"><sm:container></SPAN>
+ <SPAN class="code-tag"><sm:flows></SPAN>
+ <SPAN class="code-tag"><sm:sedaFlow /></SPAN>
+ <sm:jcaFlow bootstrapContext=<SPAN class="code-quote">"#bootstrapContext"</SPAN>
+ connectionManager=<SPAN class="code-quote">"#connectionManager"</SPAN>
+ jmsURL=<SPAN class="code-quote">"vm://localhost"</SPAN> />
+ <SPAN class="code-tag"></sm:flows></SPAN>
+<SPAN class="code-tag"></sm:container></SPAN></PRE>
+</DIV></DIV></DIV>
</DIV>
</TD>
@@ -269,8 +308,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 Jul 26, 2006
- (<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=1986&originalId=9271">view change</A>)
+ last edited by <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=gnodet">Guillaume Nodet</A> on Jul 27, 2006
+ (<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=1986&originalId=9276">view change</A>)
(<A href="http://goopen.org/confluence/pages/editpage.action?pageId=1986">edit page</A>)
</DIV>