Red Hat JBoss A-MQ 6.3

Similar documents
Red Hat JBoss A-MQ 6.0

Red Hat CloudForms 4.0

Red Hat JBoss Fuse 6.1

Red Hat Developer Studio 12.0

Red Hat AMQ 7.2 Introducing Red Hat AMQ 7

Red Hat JBoss Fuse 6.1

Red Hat CloudForms 4.5 Integration with AWS CloudFormation and OpenStack Heat

Red Hat JBoss Developer Studio 11.1

Red Hat JBoss Fuse 6.1

Red Hat JBoss Enterprise Application Platform 7.1

Red Hat JBoss Fuse 6.3

.NET Core 2.0 Release Notes for Containers

Red Hat OpenStack Platform 13

Red Hat JBoss Enterprise Application Platform 7.2

Red Hat CloudForms 4.1

Red Hat CloudForms 4.0

Red Hat JBoss Data Grid 7.1 Feature Support Document

Red Hat Satellite 6.3

Red Hat Application Migration Toolkit 4.0

Red Hat JBoss Enterprise Application Platform 7.2

Red Hat OpenStack Platform 13

Red Hat Container Development Kit 3.0 Release Notes and Known Issues

Red Hat 3scale 2.3 Accounts

Red Hat Virtualization 4.1 Hardware Considerations for Implementing SR-IOV

Red Hat 3Scale 2.0 Terminology

Red Hat Process Automation Manager 7.0 Planning a Red Hat Process Automation Manager installation

Red Hat Enterprise Virtualization 3.6

Red Hat OpenStack Platform 13

Red Hat JBoss Enterprise Application Platform 7.0

Red Hat Cloud Infrastructure 1.1

Red Hat Application Migration Toolkit 4.2

Red Hat JBoss Developer Studio Integration Stack 9.0 Installation Guide

Red Hat JBoss Data Grid 6.4

Red Hat JBoss Developer Studio Integration Stack 10.0 Installation Guide

Red Hat OpenStack Platform 13

Red Hat JBoss Fuse 6.3

Red Hat Decision Manager 7.0 Migrating from Red Hat JBoss BRMS 6.4 to Red Hat Decision Manager 7.0

Red Hat Enterprise Linux OpenStack Platform 7 Fujitsu ETERNUS Back End Guide

Red Hat OpenStack Platform 8 Configure firewall rules for Red Hat OpenStack Platform director

Red Hat OpenStack Platform 9 Introduction to the OpenStack Dashboard

Red Hat Virtualization 4.0

Red Hat Cloud Suite 1.1

Red Hat JBoss Data Virtualization 6.2 Using the Dashboard Builder. David Sage

Red Hat JBoss BRMS 6.0

Red Hat Process Automation Manager 7.0 Executing a business process in Business Central

Red Hat JBoss Data Virtualization 6.3 Getting Started Guide

Red Hat Decision Manager 7.0 Migrating from Red Hat JBoss BRMS 6.4 to Red Hat Decision Manager 7.0

Red Hat Process Automation Manager 7.0 Managing and monitoring business processes in Business Central

Red Hat Development Suite 1.1 Installation Guide

Red Hat OpenStack Platform 12

Red Hat Development Suite 2.2

Red Hat Mobile Application Platform Hosted 3

Red Hat Virtualization 4.1 Product Guide

Red Hat Developer Studio 12.9

Red Hat Enterprise Virtualization 3.6

Red Hat Ceph Storage 2 Using Keystone to Authenticate Ceph Object Gateway Users

Red Hat Fuse 7.0 Installing on Apache Karaf

Red Hat Ceph Storage 3

Red Hat JBoss Data Grid 7.1 Migration Guide

JBoss Enterprise Application Platform 5

Red Hat Ceph Storage 3

Red Hat Virtualization 4.2

Red Hat OpenStack Platform 10 CephFS Back End Guide for the Shared File System Service

Red Hat JBoss BRMS 6.4

Red Hat Development Suite 2.1

Red Hat Network Satellite 5.4

Red Hat CloudForms 4.6

Red Hat Fuse 7.1 Installing on JBoss EAP

Red Hat JBoss Developer Studio 9.1

Red Hat Decision Manager 7.0 Designing a decision service using guided rules

Red Hat OpenStack Platform 14

Red Hat JBoss Developer Studio Integration Stack 8.0

Red Hat Decision Manager 7.0

Red Hat Fuse 7.2 Fuse Online Sample Integration Tutorials

Red Hat Security Data API 1.0

Red Hat CloudForms 4.5

Red Hat Developer Studio 12.0

Red Hat CloudForms 4.5 Introduction to the Self Service User Interface

OpenShift Dedicated 3 Release Notes

Red Hat JBoss Developer Studio 9.0

Red Hat Fuse 7.0 Installing on JBoss EAP

Red Hat Fuse 7.1 Fuse Online Sample Integration Tutorials

Red Hat OpenStack Platform 13

Red Hat OpenStack Platform 10

Red Hat JBoss BPM Suite 6.4

Red Hat Process Automation Manager 7.0 Migrating from Red Hat JBoss BPM Suite 6.4 to Red Hat Process Automation Manager 7.0

Red Hat OpenShift Application Runtimes 1

Red Hat CloudForms 4.6

Edition 0.1. real scenarios for managing EAP instances. Last Updated:

Red Hat JBoss BRMS 6.1

Red Hat OpenStack Platform 11 Monitoring Tools Configuration Guide

3.6. How to Use the Reports and Data Warehouse Capabilities of Red Hat Enterprise Virtualization. Last Updated:

Red Hat JBoss Fuse 7.0-TP

Red Hat JBoss Fuse 6.0

Red Hat JBoss Data Virtualization 6.4 Quick Starts Guide

Red Hat JBoss Data Grid 7.0

Red Hat Development Suite 1.3 Installation Guide

For Red Hat JBoss BPM Suite

Red Hat Ceph Storage Release Notes

Red Hat OpenStack Platform 10 Product Guide

Transcription:

Red Hat JBoss A-MQ 6.3 Migration Guide Migrating to Red Hat JBoss A-MQ 6.3 Last Updated: 2018-02-08

Red Hat JBoss A-MQ 6.3 Migration Guide Migrating to Red Hat JBoss A-MQ 6.3 JBoss A-MQ Docs Team Content Services fuse-docs-support@redhat.com

Legal Notice Copyright 2016 Red Hat. The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at http://creativecommons.org/licenses/by-sa/3.0/. In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version. Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section d of CC-BY-SA to the fullest extent permitted by applicable law. Red Hat, Red Hat Enterprise Linux, the Shadowman logo, JBoss, OpenShift, Fedora, the Infinity logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries. Linux is the registered trademark of Linus Torvalds in the United States and other countries. Java is a registered trademark of Oracle and/or its affiliates. XFS is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries. MySQL is a registered trademark of MySQL AB in the United States, the European Union and other countries. Node.js is an official trademark of Joyent. Red Hat Software Collections is not formally related to or endorsed by the official Joyent Node.js open source or commercial project. The OpenStack Word Mark and OpenStack logo are either registered trademarks/service marks or trademarks/service marks of the OpenStack Foundation, in the United States and other countries and are used with the OpenStack Foundation's permission. We are not affiliated with, endorsed or sponsored by the OpenStack Foundation, or the OpenStack community. All other trademarks are the property of their respective owners. Abstract This guide lays out the issues a user will encounter when upgrading to the latest version of Red Hat JBoss A-MQ.

Table of Contents Table of Contents. CHAPTER......... 1... MIGRATION........... OVERVIEW...................................................................... 3. 1.1. UPGRADED COMPONENTS. CHAPTER......... 2... DEPRECATED............. AND.... REMOVED.......... FEATURES....................................................... OPENWIRE JMS IS THE ONLY OPENWIRE CLIENT THAT WILL CONTINUE TO BE SUPPORTED IN THE NEXT MAJOR RELEASE OF JBOSS A-MQ SUPPORT FOR KAHADB AND LEVELDB WILL BE DROPPED IN THE NEXT MAJOR RELEASE OF JBOSS A- MQ THE IMPLEMENTATION OF THE JDBC PERSISTENCE ADAPTER WILL CHANGE IN THE NEXT MAJOR RELEASE OF JBOSS A-MQ SUPPORT FOR APACHE KARAF (OSGI) CONTAINER WILL BE DROPPED IN THE NEXT MAJOR RELEASE OF JBOSS A-MQ SUPPORT FOR FABRIC8 1.X WILL BE DROPPED IN THE NEXT MAJOR RELEASE OF JBOSS A-MQ BIN/DELETEFABRIC8 SCRIPT HAS BEEN REMOVED TANUKI BASED WRAPPER FOR INSTALLING JBOSS A-MQ AS A SERVICE IS DEPRECATED BIN/PATCH SCRIPT IS DEPRECATED SPRING DYNAMIC MODULES (SPRING-DM) IS DEPRECATED REST API IS NOT SUPPORTED. CHAPTER......... 3... APACHE........ ACTIVEMQ.......... ISSUES............................................................... 6. 3.1. MIGRATING CLIENTS 3.2. DEPENDENCY UPGRADES. CHAPTER............ MIGRATE......... DATA..... STORE................................................................... 7. OVERVIEW MIGRATE THE KAHADB DATA STORE 3 5 5 5 6 6 7 7 1

Red Hat JBoss A-MQ 6.3 Migration Guide 2

CHAPTER 1. MIGRATION OVERVIEW CHAPTER 1. MIGRATION OVERVIEW Abstract This chapter highlights some of the key points that might affect your applications, when migrating to JBoss A-MQ 6.3. 1.1. UPGRADED COMPONENTS Version upgrades Some of the major components in JBoss Fuse and JBoss A-MQ 6.3 have been upgraded. The following versions are used in JBoss A-MQ: Table 1.1. Component Versions Component Version for 6.3 Apache ActiveMQ 5.11.0 Apache Karaf 2..0 Fabric8 (was Fuse Fabric) 1.2.0 3

Red Hat JBoss A-MQ 6.3 Migration Guide CHAPTER 2. DEPRECATED AND REMOVED FEATURES OPENWIRE JMS IS THE ONLY OPENWIRE CLIENT THAT WILL CONTINUE TO BE SUPPORTED IN THE NEXT MAJOR RELEASE OF JBOSS A-MQ In the next major release of JBoss A-MQ (JBoss A-MQ 7.0), support for most of the OpenWire clients will be dropped. The only OpenWire client that will continue to be supported is OpenWire JMS. SUPPORT FOR KAHADB AND LEVELDB WILL BE DROPPED IN THE NEXT MAJOR RELEASE OF JBOSS A-MQ In the next major release of JBoss A-MQ (JBoss A-MQ 7.0), both the KahaDB message store and the LevelDB message store will be dropped. JBoss AMQ 7 has its own message store implementation and data model. THE IMPLEMENTATION OF THE JDBC PERSISTENCE ADAPTER WILL CHANGE IN THE NEXT MAJOR RELEASE OF JBOSS A-MQ While JBoss AMQ 7 will support a JDBC adapter, the JBoss A-MQ 6.x JBDC adapter will not be supported on JBoss AMQ 7. A new JDBC store will need to be created. SUPPORT FOR APACHE KARAF (OSGI) CONTAINER WILL BE DROPPED IN THE NEXT MAJOR RELEASE OF JBOSS A-MQ In the next major release of JBoss A-MQ (JBoss A-MQ 7.0), the Apache Karaf (OSGi) container will be dropped. JBoss A-MQ 7.0 will be packaged as a standalone application, without any container technology. SUPPORT FOR FABRIC8 1.X WILL BE DROPPED IN THE NEXT MAJOR RELEASE OF JBOSS A-MQ In the next major release of JBoss A-MQ (planned as JBoss A-MQ 7.0), Fabric8 version 1 will be dropped, to be replaced by Fabric8 version 2. The Fabric8 version 2 upgrade is a new generation of distributed container technology that is entirely cloud-based and leverages the OpenShift technology stack to provide the foundation for containerized JBoss A-MQ applications. BIN/DELETEFABRIC8 SCRIPT HAS BEEN REMOVED The bin/deletefabric8 script has been removed in this release. TANUKI BASED WRAPPER FOR INSTALLING JBOSS A-MQ AS A SERVICE IS DEPRECATED The Tanuki based wrapper scripts generated using the wrapper:install Karaf console command for installing JBoss A-MQ as a service are deprecated since JBoss A-MQ 6.3 and will be removed in a future release of JBoss A-MQ. To install the Apache Karaf container as a service, it is recommended that you use the new karaf-service-*.sh scripts from the bin/contrib directory instead.

CHAPTER 2. DEPRECATED AND REMOVED FEATURES BIN/PATCH SCRIPT IS DEPRECATED The bin/patch script (bin\patch.bat on Windows O/S) is deprecated and will be removed in a future release. SPRING DYNAMIC MODULES (SPRING-DM) IS DEPRECATED Spring-DM (which integrates Spring XML with the OSGi service layer) is deprecated since 6.2.1 and you should use the Blueprint framework instead. Using Blueprint does not prevent you from using the Java libraries from the Spring framework: the latest version of Spring is compatible with Blueprint. REST API IS NOT SUPPORTED REST API is not supported in JBoss A-MQ 6.x and never has been. The REST API described in the Apache ActiveMQ community documentation, http://activemq.apache.org/rest.html, is only a demonstration, not a fully-developed feature. It cannot be used with JBoss A-MQ 6.x and has multiple gaps in its functionality that make it unsuitable for production use. 5

Red Hat JBoss A-MQ 6.3 Migration Guide CHAPTER 3. APACHE ACTIVEMQ ISSUES Abstract JBoss A-MQ 6.3 still uses Apache ActiveMQ 5.11.0. 3.1. MIGRATING CLIENTS Migrating Apache ActiveMQ clients In general, it is recommended that you update your Apache ActiveMQ clients at the same time that you update the brokers, in order to guarantee compatibility between clients and brokers. It is possible, in some cases, that older client versions might be interoperable with later broker versions. The Openwire protocol supports version negotiation, such that an old client can negotiate the lowest common version with its peer and use that version. But JBoss A-MQ does not have a comprehensive test suite for testing compatibility between all of the different versions of Apache ActiveMQ. Hence, to be sure of compatibility, it is recommended that you upgrade your clients along with your brokers to use the same version. 3.2. DEPENDENCY UPGRADES Apache Karaf JBoss A-MQ and JBoss Fuse use Apache Karaf version 2..0. 6

CHAPTER. MIGRATE DATA STORE CHAPTER. MIGRATE DATA STORE OVERVIEW JBoss A-MQ on Apache Karaf uses a KahaDB data store. There is an automatic migration facility that enables the KahaDB data store to be migrated to the new JBoss A-MQ version. The Aries transaction module must be installed and enabled before it can be used. See Fuse Transaction Guide for more details. Ignore the Aries transaction files instructions below if you do not have Aries installed. MIGRATE THE KAHADB DATA STORE NOTE When migrating or patching JBoss A-MQ, always back up the KahaDB files and Aries transaction files. 1. Backup the KhahaDB files and Aries transaction files from the old container. The files can be found at: KahaDB files - InstallDir/data/amq/kahadb/*.* Aries transaction files - InstallDir/data/txlog/*.* 2. Manually copy all of the KahaDB files from the old container to the same location in the new container. 3. Manually copy all Aries transaction log files from the same location in the sold container to the new container. Auto-migration will take place when the new container is started. 7