camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r1238229 - /camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/EndpointMessageListener.java
Date Tue, 31 Jan 2012 08:14:21 GMT
Author: davsclaus
Date: Tue Jan 31 08:14:21 2012
New Revision: 1238229

URL: http://svn.apache.org/viewvc?rev=1238229&view=rev
Log:
CAMEL-4958: Added spring errorHandler to JMS listener, to avoid Spring complaining, and allow
to configure logging levels to tune verbosity.

Modified:
    camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/EndpointMessageListener.java

Modified: camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/EndpointMessageListener.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/EndpointMessageListener.java?rev=1238229&r1=1238228&r2=1238229&view=diff
==============================================================================
--- camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/EndpointMessageListener.java
(original)
+++ camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/EndpointMessageListener.java
Tue Jan 31 08:14:21 2012
@@ -29,7 +29,6 @@ import org.apache.camel.ExchangePattern;
 import org.apache.camel.Processor;
 import org.apache.camel.RollbackExchangeException;
 import org.apache.camel.RuntimeCamelException;
-import org.apache.camel.spi.ExceptionHandler;
 import org.apache.camel.util.AsyncProcessorConverterHelper;
 import org.apache.camel.util.AsyncProcessorHelper;
 import org.apache.camel.util.ObjectHelper;
@@ -50,7 +49,6 @@ import static org.apache.camel.util.Obje
  */
 public class EndpointMessageListener implements MessageListener {
     private static final transient Logger LOG = LoggerFactory.getLogger(EndpointMessageListener.class);
-    private ExceptionHandler exceptionHandler;
     private final JmsEndpoint endpoint;
     private final AsyncProcessor processor;
     private JmsBinding binding;
@@ -259,14 +257,6 @@ public class EndpointMessageListener imp
         this.binding = binding;
     }
 
-    public ExceptionHandler getExceptionHandler() {
-        return exceptionHandler;
-    }
-
-    public void setExceptionHandler(ExceptionHandler exceptionHandler) {
-        this.exceptionHandler = exceptionHandler;
-    }
-
     public boolean isEagerLoadingOfProperties() {
         return eagerLoadingOfProperties;
     }



Mime
View raw message