pplive wrote: > > BrokerService service=BrokerFactory.createBroker(new > URI("xbean:activemq.xml")); > service.setMessageAuthorizationPolicy(new > MyMessageAuthorizationPolicy()); > > am I worong ?? >
Does this work yet? Either I'm not using it right, or it's still broken in 5.0.0 which is a little disappointing considering there's a bug 775 with near exact details on what's wrong and how to fix. As a side question, does anybody implement a trusted host based model for controlling access to an ActiveMQ broker? I can't find any information on how to do this. The MessageAuthorizationPolicy seemed promising, but I can't get it to work as explicitly documented. I also see no way to get the sending host from the message once delivered to the consumer, but I'm new to JMS so maybe it's something simple. -- View this message in context: http://www.nabble.com/MessageAuthorizationPolicy-does-not-work---tp12248240s2354p14913500.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.