activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dharmendra <dharmendr...@gmail.com>
Subject Re: Migratiion of Queue data from HornetQ to Artemis 2.x
Date Tue, 23 Jan 2018 04:58:41 GMT
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

Mime
View raw message