qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject [2/2] qpid-jms git commit: QPIDJMS-98 Reduce logger to trace for bervity.
Date Fri, 28 Aug 2015 15:20:18 GMT
QPIDJMS-98 Reduce logger to trace for bervity. 

Project: http://git-wip-us.apache.org/repos/asf/qpid-jms/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-jms/commit/4ad5a685
Tree: http://git-wip-us.apache.org/repos/asf/qpid-jms/tree/4ad5a685
Diff: http://git-wip-us.apache.org/repos/asf/qpid-jms/diff/4ad5a685

Branch: refs/heads/master
Commit: 4ad5a685c418af23871857780a3e59fbd8bcfed7
Parents: abd8fe0
Author: Timothy Bish <tabish121@gmail.com>
Authored: Fri Aug 28 11:20:04 2015 -0400
Committer: Timothy Bish <tabish121@gmail.com>
Committed: Fri Aug 28 11:20:04 2015 -0400

----------------------------------------------------------------------
 .../consumer/JmsExpiredMessageConsumptionTest.java   | 15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/4ad5a685/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/consumer/JmsExpiredMessageConsumptionTest.java
----------------------------------------------------------------------
diff --git a/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/consumer/JmsExpiredMessageConsumptionTest.java
b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/consumer/JmsExpiredMessageConsumptionTest.java
index c7e260b..0920f38 100644
--- a/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/consumer/JmsExpiredMessageConsumptionTest.java
+++ b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/consumer/JmsExpiredMessageConsumptionTest.java
@@ -58,7 +58,7 @@ public class JmsExpiredMessageConsumptionTest extends AmqpTestSupport {
             @Override
             public void preProcessDispatch(MessageDispatch messageDispatch) {
                 if (messageDispatch.getMessage() != null) {
-                    LOG.info("Preprocessing dispatch: {}", messageDispatch.getMessage().getMessageId());
+                    LOG.trace("Preprocessing dispatch: {}", messageDispatch.getMessage().getMessageId());
                     if (messageDispatch.getMessage().getExpiration() != 0) {
                         messageDispatch.getMessage().setExpiration(System.currentTimeMillis()
- 1000);
                     }
@@ -66,19 +66,6 @@ public class JmsExpiredMessageConsumptionTest extends AmqpTestSupport {
 
                 super.preProcessDispatch(messageDispatch);
             }
-
-//            @Override
-//            public void postProcessDispatch(MessageDispatch messageDispatch) {
-//                if (messageDispatch.getMessage() != null) {
-//                    LOG.info("Postprocessing dispatch: {}", messageDispatch.getMessage().getMessageId());
-//                    if (messageDispatch.getMessage().getExpiration() != 0) {
-//                        messageDispatch.getMessage().setExpiration(System.currentTimeMillis()
- 1000);
-//                    }
-//                }
-//
-//                super.postProcessDispatch(messageDispatch);
-//            }
-
         };
 
         plugins.add(expireOutbound);


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message