I don't know how to discard a message in BrokerFilter... class MyBrokerFilter extends BrokerFilter { public void send(ProducerBrokerExchange producerExchange, Message messageSend) throws Exception { if("discardQueueName".equals(messageSend.getDestination().getPhysicalName())){ //do nothing? Or throw a Exception? return; } } }
It seems wrong... -- View this message in context: http://activemq.2283324.n4.nabble.com/How-to-filter-message-in-virtual-destinations-tp4668296p4668406.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.