1.3. Fabric Migration
Overview
If you use Fuse Fabric containers to deploy your applications, you should read this section to understand the issues that affect migration to JBoss A-MQ. If you use standalone containers, however, you can ignore this section.
Fabric package has changed
In JBoss Fuse 6.1 and JBoss A-MQ 6.1, the Fabric package name has changed from
org.fusesource.fabric
to io.fabric8
, which has the following migration impact:
- Configuration PIDs for Fabric have been renamed from
org.fusesource.fabric.name
toio.fabric8.name
. For example, this affects the names of the following configuration files under theetc/
directory:io.fabric8.datastore.cfg io.fabric8.fab.osgi.url.cfg io.fabric8.maven.cfg
- If you use any Fabric APIs directly in your own application code, you must replace references to the
org.fusesource.fabric
package name byio.fabric8
. - If your Maven
pom.xml
files have any direct dependencies on Fabric artifacts, you need to change the Maven GroupId fromorg.fusesource.fabric
toio.fabric8
(as well as updating the dependency version). For example, the followingfabric-zookeeper
dependency:<dependency> <groupId>org.fusesource.fabric</groupId> <artifactId>fabric-zookeeper</artifactId> <version>7.2.0</version> </dependency>
Should be replaced by the following dependency:<dependency> <groupId>io.fabric8</groupId> <artifactId>fabric-zookeeper</artifactId> <version>1.0.0.redhat-379</version> </dependency>