jakarta-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1067245 - in /jakarta/jmeter/trunk/src: core/org/apache/jmeter/JMeter.java protocol/jms/org/apache/jmeter/protocol/jms/sampler/Receiver.java
Date Fri, 04 Feb 2011 18:03:52 GMT
Author: sebb
Date: Fri Feb  4 18:03:51 2011
New Revision: 1067245

URL: http://svn.apache.org/viewvc?rev=1067245&view=rev
Log:
I name this thread ...

Modified:
    jakarta/jmeter/trunk/src/core/org/apache/jmeter/JMeter.java
    jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/Receiver.java

Modified: jakarta/jmeter/trunk/src/core/org/apache/jmeter/JMeter.java
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/core/org/apache/jmeter/JMeter.java?rev=1067245&r1=1067244&r2=1067245&view=diff
==============================================================================
--- jakarta/jmeter/trunk/src/core/org/apache/jmeter/JMeter.java (original)
+++ jakarta/jmeter/trunk/src/core/org/apache/jmeter/JMeter.java Fri Feb  4 18:03:51 2011
@@ -1048,7 +1048,7 @@ public class JMeter implements JMeterPlu
         if (UDP_PORT > 1000){
             final DatagramSocket socket = getSocket(UDP_PORT, UDP_PORT_MAX);
             if (socket != null) {
-                Thread waiter = new Thread(){
+                Thread waiter = new Thread("UDP Listener"){
                     @Override
                     public void run() {
                         waitForSignals(engine, socket);

Modified: jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/Receiver.java
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/Receiver.java?rev=1067245&r1=1067244&r2=1067245&view=diff
==============================================================================
--- jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/Receiver.java
(original)
+++ jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/Receiver.java
Fri Feb  4 18:03:51 2011
@@ -78,7 +78,7 @@ public class Receiver implements Runnabl
             String principal, String credentials, boolean useResMsgIdAsCorrelId)
             throws JMSException {
         Receiver receiver = new Receiver(factory, receiveQueue, principal, credentials, useResMsgIdAsCorrelId);
-        Thread thread = new Thread(receiver);
+        Thread thread = new Thread(receiver, "JMS Receiever");
         thread.start();
         return receiver;
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org


Mime
View raw message