blob: 834c07108921a90062ea326a3c70024a771afab7 [file] [log] [blame]
<div class="wiki-content maincontent"><p>There are some changes in 5.8 that may require some code change</p>
<ol><li>New modules may effect your maven pom dependencies<br clear="none">
<code>activemq-core</code> has been replaced with <code>activemq-client</code> and <code>activemq-broker</code>. The various message stores have their own activemq-xx-store module. The uber module <code>activemq-all</code> remains.</li><li>Changed JMX Mbean ObjectNames will effect scripts or tools that directly reference Mbean names<br clear="none">
All mbeans now share the type=Broker attribute, which gives them containment. In this way, consumers hang off of destinations, which hang off the broker.<br clear="none">
The different Mbean types are identified by the presence of specific identifiers in their ObjectNames. The mapping from old to new ObjectName is as follows:
<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p> Type </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> Old Name </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> New Name </p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> Broker </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Type=Broker </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> type=Broker </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> Destination </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Type=Queue|Topic,Destination=&lt;destination identifier&gt; </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> type=Broker,destinationType=Queue|Topic,destinationName=&lt;destination identifier&gt; </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> Connector </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Type=Connector </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> type=Broker,connector=clientConnectors </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> NetworkConnector </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Type=NetworkConnector </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> type=Broker,connector=networkConnectors </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> Connection </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Type=Connection </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> type=Broker,connector=*,connectionViewType=remoteAddress|clientId </p></td></tr></tbody></table></div>
</li><li>OSGi integration has changed. The full details are at <a shape="rect" href="osgi-integration.html">OSGi Integration</a>. In summary:
<ol><li>There is a single uber OSGI bundle</li><li>The broker and webconsole are now configured via config admin pid files through an OSGi managed service factory.</li></ol>
</li><li>The ActiveMQ binary file <code>bin/run.jar</code> has been renamed to <code>bin/activemq.jar</code>.</li></ol></div>