activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dej...@apache.org
Subject svn commit: r1050387 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/blob/FilesystemBlobTest.java
Date Fri, 17 Dec 2010 14:00:23 GMT
Author: dejanb
Date: Fri Dec 17 14:00:22 2010
New Revision: 1050387

URL: http://svn.apache.org/viewvc?rev=1050387&view=rev
Log:
adding some logging to detect issues with file names more easily

Modified:
    activemq/trunk/activemq-core/src/test/java/org/apache/activemq/blob/FilesystemBlobTest.java

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/blob/FilesystemBlobTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/blob/FilesystemBlobTest.java?rev=1050387&r1=1050386&r2=1050387&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/blob/FilesystemBlobTest.java
(original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/blob/FilesystemBlobTest.java
Fri Dec 17 14:00:22 2010
@@ -34,10 +34,12 @@ import org.apache.activemq.BlobMessage;
 import org.apache.activemq.EmbeddedBrokerTestSupport;
 import org.apache.activemq.command.ActiveMQBlobMessage;
 import org.apache.activemq.util.IOHelper;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
 
 
 public class FilesystemBlobTest extends EmbeddedBrokerTestSupport {
-
+    private static final Log LOG = LogFactory.getLog(FilesystemBlobTest.class);
     
     private Connection connection;
     private String tmpDir =  System.getProperty("user.dir") + "/target/FilesystemBlobTest";
@@ -45,6 +47,7 @@ public class FilesystemBlobTest extends 
         super.setUp();
         // replace \ with / to let it work on windows too
         String fileUrl = "file:///" +tmpDir.replaceAll("\\\\", "/");
+        LOG.info("Using file: " + fileUrl);
         bindAddress = "vm://localhost?jms.blobTransferPolicy.defaultUploadUrl=" + fileUrl;
         
         connectionFactory = createConnectionFactory();



Mime
View raw message