On 17/01/2008, jvr <[EMAIL PROTECTED]> wrote:
>
>
> pplive wrote:
> >
> >               BrokerService service=BrokerFactory.createBroker(new
> > URI("xbean:activemq.xml"));
> >               service.setMessageAuthorizationPolicy(new
> > MyMessageAuthorizationPolicy());
> >
> > am I worong ??
> >
>
> Does this work yet?

Yes - its fixed in trunk now.

> 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.

Yes, its something simple - but needs to be enabled...

http://activemq.apache.org/jmsxuserid.html

-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://open.iona.com

Reply via email to