activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alistair Young <>
Subject isAllowedToConsume not called on embedded broker
Date Tue, 27 Sep 2011 07:49:53 GMT
is there any reason why MessageAuthorizationPolicy::isAllowedToConsume is not called from this?

broker = new BrokerService();
broker.setMessageAuthorizationPolicy(new MessageGuard());

MessageGuard::isAllowedToConsume is never called when a message is sent to the embedded broker.
It's called fine when used on the server. Doesn't work in a JUnit test.


mov eax,1
mov ebx,0
int 80h

View raw message