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

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1415633 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2012-11-30 13:46:39 +00:00
parent 915d66dec5
commit fb35648f80
1 changed files with 0 additions and 12 deletions

View File

@ -72,18 +72,6 @@ public abstract class DestinationMapEntry<T> implements Comparable<T> {
this.destination = destination;
}
/**
*
* @throws Exception
* @org.apache.xbean.InitMethod
*/
@PostConstruct
public void afterPropertiesSet() throws Exception {
if (destination == null) {
throw new IllegalArgumentException("You must specify the 'destination' property");
}
}
public Comparable<T> getValue() {
return this;
}