문제

We have a use case where we would like to get a certain messages in a queue distributed into other queues after we browse the queue and get the message properties. Can that be done with JMS API for hornetq or should we use a JMX client as that seems to be a possible operation in jvisualvm?

도움이 되었습니까?

해결책 2

It seems that org.hornetq.api.jms.management.JMSQueueControl from the HornetQ Management API will do the trick. I was hoping for some generic JMS API that would allow that as well but this will work.

다른 팁

I don't know if I understand You correctly but if You would like to copy from one queue to another only filtered messages You can use bridge.

http://docs.jboss.org/hornetq/2.3.0.CR2/docs/user-manual/html/core-bridges.html

In bridge configuration You can define which messages should be copied from one queue to another

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top