Good morning,

I am using ActiveMQ Classic 5.18.5 on 2 separate brokers on Windows 
(unfortunately).  One broker is using the default kahaDB, and the other broker 
has been configured with database persistence using Microsoft SQL Server.  I am 
migrating messages from the old broker using kahaDB to the new broker setup 
with database persistence.

I have a Camel Route that drains all of the queues and topics (excluding 
Advisory Topics) from the old broker to the new broker.  I am using XPath on 
the to get all the queues and topics using these 2 URLs on the old ActiveMQ 
broker:

http://xxx:8161/admin/xml/queues.jsp
http://xxx:8161/admin/xml/topics.jsp

What I have noticed is that queues that have no pending messages in them are 
not created on the new broker.  I always have to put a small stub message in 
the queue in order for it to be migrated over to the new broker.

A few questions on this:

1) Am I approaching this wrong?  Is there a way to just create the queue or 
topic on the new broker with Camel without creating this stub message?

2) I do not want to migrate the Advisory topics over to the new broker because 
those will get created anyway when the topics and queues are moved over.  Is 
this assumption correct?

Thank you in advance,

William Crowell


This e-mail may contain information that is privileged or confidential. If you 
are not the intended recipient, please delete the e-mail and any attachments 
and notify us immediately.

Reply via email to