You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by gt...@apache.org on 2012/11/30 14:46:40 UTC
svn commit: r1415633 -
/activemq/trunk/activemq-client/src/main/java/org/apache/activemq/filter/DestinationMapEntry.java
Author: gtully
Date: Fri Nov 30 13:46:39 2012
New Revision: 1415633
URL: http://svn.apache.org/viewvc?rev=1415633&view=rev
Log:
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
Modified:
activemq/trunk/activemq-client/src/main/java/org/apache/activemq/filter/DestinationMapEntry.java
Modified: activemq/trunk/activemq-client/src/main/java/org/apache/activemq/filter/DestinationMapEntry.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-client/src/main/java/org/apache/activemq/filter/DestinationMapEntry.java?rev=1415633&r1=1415632&r2=1415633&view=diff
==============================================================================
--- activemq/trunk/activemq-client/src/main/java/org/apache/activemq/filter/DestinationMapEntry.java (original)
+++ activemq/trunk/activemq-client/src/main/java/org/apache/activemq/filter/DestinationMapEntry.java Fri Nov 30 13:46:39 2012
@@ -72,18 +72,6 @@ public abstract class DestinationMapEntr
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;
}