Author: buildbot
Date: Wed Feb 27 16:25:06 2019
New Revision: 1041005

Log:
Production update by buildbot for activemq

Modified:
    websites/production/activemq/content/cache/main.pageCache
    websites/production/activemq/content/spring-support.html

Modified: websites/production/activemq/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/activemq/content/spring-support.html
==============================================================================
--- websites/production/activemq/content/spring-support.html (original)
+++ websites/production/activemq/content/spring-support.html Wed Feb 27 
16:25:06 2019
@@ -81,7 +81,7 @@
   <tbody>
         <tr>
         <td valign="top" width="100%">
-<div class="wiki-content maincontent"><p>We fully support Spring for 
configuration of the JMS client side as well as for configuring the JMS Message 
Broker.<br clear="none"> There is a great <a shape="rect" class="external-link" 
href="http://codedependents.com/2009/10/16/efficient-lightweight-jms-with-spring-and-activemq/";
 rel="nofollow">article</a> on using Spring with ActiveMQ - I'd recommend 
reading it first.</p><h2 id="SpringSupport-ConfiguringtheJMSclient">Configuring 
the JMS client</h2><p>To configure an ActiveMQ JMS client in Spring it is just 
a simple matter of configuring an instance of ActiveMQConnectionFactory within 
a standard Spring XML configuration file like any other bean. There are <a 
shape="rect" class="external-link" 
href="https://svn.apache.org/repos/asf/activemq/trunk/activemq-unit-tests/src/test/java/org/apache/activemq/spring/";>several
 examples and test cases</a> available and <a shape="rect" 
class="external-link" href="https://svn.apache.org/repos/asf/activem
 
q/trunk/activemq-unit-tests/src/test/resources/org/apache/activemq/xbean/spring.xml">this
 one</a> shows how to construct an ActiveMQConnectionFactory in Spring which is 
then passed into a Spring JmsTemplate for use by some POJOs.</p><p>e.g. the 
following fragment of XML shows us creating a JMS connection factory for 
ActiveMQ connecting to a remote broker on a specific host name and 
port.</p><div class="code panel pdl" style="border-width: 1px;"><div 
class="codeContent panelContent pdl">
+<div class="wiki-content maincontent"><p>We fully support Spring for 
configuration of the JMS client side as well as for configuring the JMS Message 
Broker.<br clear="none"> There is a great <a shape="rect" class="external-link" 
href="https://medium.com/@bdarfler/efficient-lightweight-jms-with-spring-and-activemq-51ff6a135946";
 rel="nofollow">article</a> on using Spring with ActiveMQ - I'd recommend 
reading it first.</p><h2 id="SpringSupport-ConfiguringtheJMSclient">Configuring 
the JMS client</h2><p>To configure an ActiveMQ JMS client in Spring it is just 
a simple matter of configuring an instance of ActiveMQConnectionFactory within 
a standard Spring XML configuration file like any other bean. There are <a 
shape="rect" class="external-link" 
href="https://svn.apache.org/repos/asf/activemq/trunk/activemq-unit-tests/src/test/java/org/apache/activemq/spring/";>several
 examples and test cases</a> available and <a shape="rect" 
class="external-link" href="https://svn.apache.org/repos/asf/act
 
ivemq/trunk/activemq-unit-tests/src/test/resources/org/apache/activemq/xbean/spring.xml">this
 one</a> shows how to construct an ActiveMQConnectionFactory in Spring which is 
then passed into a Spring JmsTemplate for use by some POJOs.</p><p>e.g. the 
following fragment of XML shows us creating a JMS connection factory for 
ActiveMQ connecting to a remote broker on a specific host name and 
port.</p><div class="code panel pdl" style="border-width: 1px;"><div 
class="codeContent panelContent pdl">
 <pre class="brush: java; gutter: false; theme: Default">&lt;bean 
id="jmsFactory" class="org.apache.activemq.ActiveMQConnectionFactory"&gt;
     &lt;property name="brokerURL"&gt;
       &lt;value&gt;tcp://localhost:61616&lt;/value&gt;


Reply via email to