You can use the management
method 
org.apache.activemq.artemis.api.core.management.QueueControl#moveMessages(java.lang.String,
java.lang.String) which takes a "filter" as the first parameter.  You can
use the filter:

  AMQUserID='<jmsMessageId>'

Where <jmsMessageId> is the JMS message ID of the message you want to
move.  This is what the JMSQueueControl did behind the scenes in the first
place.


Justin

On Thu, Aug 24, 2017 at 5:26 PM, ipolevoy <i...@expresspigeon.com> wrote:

> Hi, all.
>
> I was migrating JavaLite to Artemis 2.20, but ran into a problem that
> JMSQueueControl was removed in this commit:
> https://github.com/apache/activemq-artemis/commit/
> 0189f156ec951824e7a0f0ca93f1d7ae28db754c
>
> by Andy Taylor.
>
> I documented details and the question on SO:
> https://stackoverflow.com/questions/45871689/apache-
> artemis-how-to-move-jms-messages-to-a-different-queue,
> but if anyone here can shed light how I can proceed, it would be really
> nice!
>
> thanks
> igor
>
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.
> nabble.com/JMSQueueControl-deleted-what-now-tp4729992.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Reply via email to