blob: 025b75dd990b98649bc481bec3252771f2cf4e60 [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:
<table><tbody><tr><th colspan="1" rowspan="1"><p> Type </p></th><th colspan="1" rowspan="1"><p> Old Name </p></th><th colspan="1" rowspan="1"><p> New Name </p></th></tr><tr><td colspan="1" rowspan="1"><p> Broker </p></td><td colspan="1" rowspan="1"><p> Type=Broker </p></td><td colspan="1" rowspan="1"><p> type=Broker </p></td></tr><tr><td colspan="1" rowspan="1"><p> Destination </p></td><td colspan="1" rowspan="1"><p> Type=Queue|Topic,Destination=&lt;destination identifier&gt; </p></td><td colspan="1" rowspan="1"><p> type=Broker,destinationType=Queue|Topic,destinationName=&lt;destination identifier&gt; </p></td></tr><tr><td colspan="1" rowspan="1"><p> Connector </p></td><td colspan="1" rowspan="1"><p> Type=Connector </p></td><td colspan="1" rowspan="1"><p> type=Broker,connector=clientConnectors </p></td></tr><tr><td colspan="1" rowspan="1"><p> NetworkConnector </p></td><td colspan="1" rowspan="1"><p> Type=NetworkConnector </p></td><td colspan="1" rowspan="1"><p> type=Broker,connector=networkConnectors </p></td></tr><tr><td colspan="1" rowspan="1"><p> Connection </p></td><td colspan="1" rowspan="1"><p> Type=Connection </p></td><td colspan="1" rowspan="1"><p> type=Broker,connector=*,connectionViewType=remoteAddress|clientId </p></td></tr></tbody></table>
</li><li>OSGi integration has changed. The full details are at <link><page ri:content-title="OSGi Integration"></page></link>. 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>