activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clebert Suconic <clebert.suco...@gmail.com>
Subject Re: Migratiion of Queue data from HornetQ to Artemis 2.x
Date Wed, 24 Jan 2018 03:58:28 GMT
An option is to use the importer from hornetq towards artemis.  The
importer connects to the broker using simple producers.

On Tue, Jan 23, 2018 at 8:42 AM Clebert Suconic <clebert.suconic@gmail.com>
wrote:

> This was fixed on master.
>
> On Mon, Jan 22, 2018 at 11:58 PM dharmendra <dharmendra2u@gmail.com>
> wrote:
>
>> We try to import hornetQ queue messages dump in xml and import into
>> artemis
>>
>> C:\apache-artemis-2.5.0-SNAPSHOT\bin\broker\bin>artemis data imp --port
>> 5445
>> --input "C:\sg\hq_msg_migration\hq-exported-msg\hq_msg_GlobalIn2.xml"
>> --verbose
>> Executing
>> org.apache.activemq.artemis.cli.commands.tools.xml.XmlDataImporter
>> data imp --port 5445 --input
>> C:\sg\hq_msg_migration\hq-exported-msg\hq_msg_GlobalIn2.xml --verbose
>>
>> Home::C:\sg\activemq-artemis-master\activemq-artemis-master\artemis-distribution\target\apache-artemis-2.5.0-SNAPSHOT-bin\apache-artemis-2.5.0-SNAPSHOT,
>>
>> Instance::C:\sg\activemq-artemis-master\activemq-artemis-master\artemis-distribution\target\apache-artemis-2.5.0-SNAPSHOT-bin\apache-artemis-2.5.0-SNAPSHOT\bin\broker
>> 2018-01-22 16:35:21,307 INFO [org.apache.activemq.artemis.core.client]
>> AMQ211002: Started NIO Netty Connector version 4.1.19.Final to
>> localhost:5445
>>
>> It allows to import but When reading message:
>>
>> *****************************************************
>> ObjectMessage with JMSMessageID =ID:239d193b-ff64-11e7-9472-ea2aea4af47f
>>
>> Property : JMSXDeliveryCount = 1
>> Property : __HQ_CID = 317ae782-f501-11e7-9adb-27c0af9778f4
>>
>> Content:
>>     <null> object
>> *****************************************************
>> The message available on <body> tag which is not readable and only gives
>> <null> . I am not able to understand why messages is not being extract
>> from
>> encoded message. Is there any mechanism change while decoding/encoding
>> message which may be causing <null>. Please have a look.
>>
>>
>>
>>
>> -----
>> DKumar
>> --
>> Sent from:
>> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
>>
> --
> Clebert Suconic
>
-- 
Clebert Suconic

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message