mirror of https://github.com/apache/activemq.git
https://issues.apache.org/jira/browse/AMQ-3894 - remove requirement for destination property enforced by spring - for a default entry there is no need for a destination - fix dependants
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1415661 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fb35648f80
commit
c6cf88b836
|
@ -23,6 +23,7 @@ import java.util.HashSet;
|
|||
import java.util.Set;
|
||||
import java.util.StringTokenizer;
|
||||
|
||||
import javax.annotation.PostConstruct;
|
||||
import org.apache.activemq.filter.DestinationMapEntry;
|
||||
|
||||
/**
|
||||
|
@ -153,8 +154,12 @@ public class AuthorizationEntry extends DestinationMapEntry {
|
|||
return answer;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @org.apache.xbean.InitMethod
|
||||
*/
|
||||
@PostConstruct
|
||||
public void afterPropertiesSet() throws Exception {
|
||||
super.afterPropertiesSet();
|
||||
|
||||
if (adminRoles != null) {
|
||||
setAdminACLs(parseACLs(adminRoles));
|
||||
|
|
|
@ -44,11 +44,6 @@ public class FilteredKahaDBPersistenceAdapter extends DestinationMapEntry {
|
|||
this.persistenceAdapter = persistenceAdapter;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void afterPropertiesSet() throws Exception {
|
||||
// ok to have no destination, we default it
|
||||
}
|
||||
|
||||
public boolean isPerDestination() {
|
||||
return perDestination;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue