blob: b39faa88c333643b5ce66d9148f00ae7b04d4984 [file] [log] [blame]
<div class="wiki-content maincontent"><h2 id="ActiveMQ4.0Release-NewandNoteworthy">New and Noteworthy</h2>
<p>This is the 4.0 release of Apache ActiveMQ. This release of Apache ActiveMQ includes a large number of <a shape="rect" href="changes-in-40.xml">new features</a> such as <a shape="rect" href="masterslave.xml">MasterSlave</a> and <a shape="rect" href="message-groups.xml">Message Groups</a> together with numerous bug fixes.</p>
<h3 id="ActiveMQ4.0Release-Warnings">Warnings</h3>
<p>When upgrading from a previous release you are advised to clear down the journal files and persistent database first before upgrading to this jar as the binary format of messages is not compatible with 3.x or earlier 4.0 milestone releases. </p>
<h3 id="ActiveMQ4.0Release-Knownissues">Known issues</h3>
<p>Some folks have found issues with acknowledgements, particularly when using auto-ack mode. This has been fixed in 4.0.1 which will be released shortly. Until then we recommend you disable <a shape="rect" href="connection-configuration-uri.xml">optimizeAcknowledge</a>. e.g. connect via</p>
<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[
tcp://localhost:61616?jms.optimizeAcknowledge=false
]]></script>
</div></div>
<p>The source distributions do not build as is anymore due to changes in the way the maven repo is now setup at Apache. You must first apply the following <a shape="rect" href="activemq-40-release.data/amq4-build.patch?version=1&amp;modificationDate=1150318678000&amp;api=v2" data-linked-resource-id="3263" data-linked-resource-version="1" data-linked-resource-type="attachment" data-linked-resource-default-alias="amq4-build.patch" data-linked-resource-content-type="text/x-patch" data-linked-resource-container-id="36141" data-linked-resource-container-version="12">patch</a> before doing the build. You will need to download the patch and apply it using the patch command.</p>
<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[
cd ${path-to-activemq-source-distro}
patch -p 0 &lt; ${path-to-amq4-build.patch}
]]></script>
</div></div>
<h3 id="ActiveMQ4.0Release-Whathaschanged">What has changed</h3>
<p>The 4.x branch of Apache ActiveMQ has now moved to the Apache Incubator so the package names have changed from org.activemq to org.apache.activemq. For a full list see the <a shape="rect" href="changes-in-40.xml">Changes in 4.0</a>.</p>
<h2 id="ActiveMQ4.0Release-DownloadHere">Download Here</h2>
<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Download</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://people.apache.org/repository/incubator-activemq/distributions/incubator-activemq-4.0.zip">incubator-activemq-4.0.zip</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Binary Distribution in zip package</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://people.apache.org/repository/incubator-activemq/distributions/incubator-activemq-4.0-src.zip">incubator-activemq-4.0-src.zip</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Source Distribution in zip package</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://people.apache.org/repository/incubator-activemq/distributions/incubator-activemq-4.0.tar.gz">incubator-activemq-4.0.tar.gz</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Binary Distribution in gz package</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://people.apache.org/repository/incubator-activemq/distributions/incubator-activemq-4.0-src.tar.gz">incubator-activemq-4.0-src.tar.gz</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Source Distribution in gz package</p></td></tr></tbody></table></div>
<h2 id="ActiveMQ4.0Release-SVNTagCheckout">SVN Tag Checkout</h2>
<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[
svn co https://svn.apache.org/repos/asf/incubator/activemq/tags/activemq-4.0
]]></script>
</div></div>
<h2 id="ActiveMQ4.0Release-Changelog">Changelog</h2>
<p>For a more detailed view of new features and bug fixes, see the <a shape="rect" class="external-link" href="http://issues.apache.org/activemq/secure/IssueNavigator.jspa?reset=true&amp;pid=10520&amp;fixfor=11660">release notes</a></p>
<div class="aui-message warning jim-inline-block">
<span class="aui-icon icon-warning"></span>JIRA Issues Macro: Unable to locate JIRA server for this macro. It may be due to Application Link configuration.
</div>
<p>Also see the previous <a shape="rect" href="activemq-40-rc2-release.xml">ActiveMQ 4.0 RC2 Release</a></p></div>