activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r883844 - in /websites/production/activemq/content: cache/main.pageCache ssl-transport-reference.html
Date Wed, 23 Oct 2013 16:22:45 GMT
Author: buildbot
Date: Wed Oct 23 16:22:45 2013
New Revision: 883844

Log:
Production update by buildbot for activemq

Modified:
    websites/production/activemq/content/cache/main.pageCache
    websites/production/activemq/content/ssl-transport-reference.html

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

Modified: websites/production/activemq/content/ssl-transport-reference.html
==============================================================================
--- websites/production/activemq/content/ssl-transport-reference.html (original)
+++ websites/production/activemq/content/ssl-transport-reference.html Wed Oct 23 16:22:45
2013
@@ -32,15 +32,6 @@
     </style>
     <![endif]-->
 
-          <link href='http://activemq.apache.org/styles/highlighter/styles/shCore.css'
rel='stylesheet' type='text/css' /> 
-      <link href='http://activemq.apache.org/styles/highlighter/styles/shThemeEclipse.css'
rel='stylesheet' type='text/css' /> 
-      <script src='http://activemq.apache.org/styles/highlighter/scripts/shCore.js' type='text/javascript'></script>

-              <script src='http://activemq.apache.org/styles/highlighter/scripts/shBrushJava.js'
type='text/javascript'></script> 
-         
-      <script type="text/javascript"> 
-        SyntaxHighlighter.defaults['toolbar'] = false; 
-        SyntaxHighlighter.all(); 
-      </script> 
     
     <title>
     Apache ActiveMQ &#8482; -- SSL Transport Reference
@@ -108,6 +99,24 @@ ssl://localhost:61616?transport.needClie
 </pre>
 </div></div> 
 
+<h4><a shape="rect" name="SSLTransportReference-Clientconfiguration"></a>Client
configuration</h4>
+<p>JMS clients can simply use the <a shape="rect" class="external-link" href="http://activemq.apache.org/maven/5.9.0/apidocs/org/apache/activemq/ActiveMQSslConnectionFactory.html">ActiveMQSslConnectionFactory</a>
together with an ssl:// broker url as the following Spring configuration illustrates</p>
+
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[

+&lt;bean id="AMQJMSConnectionFactory" class="org.apache.activemq.ActiveMQSslConnectionFactory"&gt;
+  &lt;property name="trustStore" value="/path/to/truststore.ts" /&gt;
+  &lt;property name="trustStorePassword" value="password" /&gt;
+  &lt;property name="keyStore" value="/path/to/keystore.ks" /&gt;
+  &lt;property name="keyStorePassword" value="password" /&gt;
+  &lt;property name="brokerURL" value="ssl://localhost:61616" /&gt;
+  &lt;property name="userName" value="admin" /&gt; 
+  &lt;property name="password" value="admin" /&gt;
+&lt;/bean&gt; 
+]]></script>
+</div></div>
+
+<p>Unless the broker's SSL transport is configured for transport.needClientAuth=true,
the client won't need a keystore but requires a truststore in order to validate the broker's
certificate.</p>
 
 <h4><a shape="rect" name="SSLTransportReference-OtherLinks"></a>Other Links</h4>
 



Mime
View raw message