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/20 11:34:35 UTC
svn commit: r415584 - /incubator/servicemix/site/jms.html
Author: jstrachan
Date: Tue Jun 20 02:34:35 2006
New Revision: 415584
URL: http://svn.apache.org/viewvc?rev=415584&view=rev
Log:
Latest export from confluence
Modified:
incubator/servicemix/site/jms.html
Modified: incubator/servicemix/site/jms.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/jms.html?rev=415584&r1=415583&r2=415584&view=diff
==============================================================================
--- incubator/servicemix/site/jms.html (original)
+++ incubator/servicemix/site/jms.html Tue Jun 20 02:34:35 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="site.html" title="Site">Site</A></LI>
+ <LI><A href="sitemap.html" title="SiteMap">Site</A></LI>
<LI><A href="download.html" title="Download">Download</A></LI>
</UL>
@@ -234,15 +234,9 @@
<H3><A name="JMS-ReceivingJMSmessages"></A>Receiving JMS messages</H3>
<P>The JmsReceiverComponent subscribes to the given destination using Spring's JmsTemplate and dispatches the message into the JBI container. Here's an <SPAN class="nobr"><A href="http://svn.apache.org/repos/asf/incubator/servicemix/trunk/servicemix-components/src/test/resources/org/apache/servicemix/components/xslt/example.xml" title="Visit page outside Confluence" rel="nofollow">example<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> of subscribing to a JMS destination (in this case a topic) and forwarding the JBI message onto another JBI component - which in this case is the <EM>foo:transformer</EM> service.</P>
-
-<P>If you wish to use JCA or some other mechanism to subscribe to JMS you can use the JmsInBinding.</P>
-
-<H3><A name="JMS-SendingJMSmessages"></A>Sending JMS messages</H3>
-
-<P>The JmsSenderComponent will send JMS messages from the input message exchange. This component uses Spring's JmsTemplate to perform the sending. The following <SPAN class="nobr"><A href="http://svn.apache.org/repos/asf/incubator/servicemix/trunk/servicemix-components/src/test/resources/org/apache/servicemix/components/xslt/example.xml" title="Visit page outside Confluence" rel="nofollow">example<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> demonstrates a component which when invoked will send a message to a given JMS topic</P>
<DIV class="code"><DIV class="codeContent">
-<PRE class="code-xml"><SPAN class="code-tag"><sm:activationSpec componentName=<SPAN class="code-quote">"myJmsSender"</SPAN> service=<SPAN class="code-quote">"foo:myJmsSender"</SPAN>></SPAN>
- <SPAN class="code-tag"><sm:component></SPAN><SPAN class="code-tag"><bean class=<SPAN class="code-quote">"org.apache.servicemix.components.jms.JmsSenderComponent"</SPAN>></SPAN>
+<PRE class="code-xml"><SPAN class="code-tag"><sm:activationSpec componentName=<SPAN class="code-quote">"myJmsReceiver"</SPAN> service=<SPAN class="code-quote">"foo:myJmsReceiver"</SPAN> destinationService=<SPAN class="code-quote">"foo:transformer"</SPAN>></SPAN>
+ <SPAN class="code-tag"><sm:component></SPAN><SPAN class="code-tag"><bean class=<SPAN class="code-quote">"org.apache.servicemix.components.jms.JmsReceiverComponent"</SPAN>></SPAN>
<SPAN class="code-tag"><property name=<SPAN class="code-quote">"template"</SPAN>></SPAN>
<SPAN class="code-tag"><bean class=<SPAN class="code-quote">"org.springframework.jms.core.JmsTemplate"</SPAN>></SPAN>
<SPAN class="code-tag"><property name=<SPAN class="code-quote">"connectionFactory"</SPAN>></SPAN>
@@ -255,6 +249,12 @@
<SPAN class="code-tag"></bean></SPAN><SPAN class="code-tag"></sm:component></SPAN>
<SPAN class="code-tag"></sm:activationSpec></SPAN></PRE>
</DIV></DIV>
+<P>If you wish to use JCA or some other mechanism to subscribe to JMS you can use the JmsInBinding.</P>
+
+<H3><A name="JMS-SendingJMSmessages"></A>Sending JMS messages</H3>
+
+<P>The JmsSenderComponent will send JMS messages from the input message exchange. This component uses Spring's JmsTemplate to perform the sending. The following <SPAN class="nobr"><A href="http://svn.apache.org/repos/asf/incubator/servicemix/trunk/servicemix-components/src/test/resources/org/apache/servicemix/components/xslt/example.xml" title="Visit page outside Confluence" rel="nofollow">example<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> demonstrates a component which when invoked will send a message to a given JMS topic</P>
+
<H3><A name="JMS-JMSbridges"></A>JMS bridges</H3>