activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r1415633 - /activemq/trunk/activemq-client/src/main/java/org/apache/activemq/filter/DestinationMapEntry.java
Date Fri, 30 Nov 2012 13:46:40 GMT
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;
     }



Mime
View raw message