As you have found out you shouldn't try and use the JMS client api from inside the broker, as that is for client code. I'm not entirely sure I understand why you can't use advisory topics but if you want to send a message to another destination from inside the broker there are lots of good examples inside the broker itself. One good example in particular is the Statistics Broker class, StatisticsBroker.java <https://github.com/apache/activemq/blob/activemq-5.11.1/activemq-broker/src/main/java/org/apache/activemq/plugin/StatisticsBroker.java>
If you take a look at the send and sendStats methods, you can see how a new message can be sent to a destination. In your case the key is that you would want to create a message using ActiveMQTextMessage and a destination using the ActiveMQDestination class and then configure a ProducerBrokerExchange so you can send your new message to the destination you want. Hopefully this helps. -- View this message in context: http://activemq.2283324.n4.nabble.com/put-a-message-in-queue-using-org-apache-activemq-broker-Broker-tp4697413p4697452.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.