You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by se...@apache.org on 2005/08/04 23:15:48 UTC

cvs commit: jakarta-jmeter/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler JMSSampler.java

sebb        2005/08/04 14:15:48

  Modified:    src/protocol/jms/org/apache/jmeter/protocol/jms/sampler
                        JMSSampler.java
  Log:
  Change to use new ThreadListener interface
  
  Revision  Changes    Path
  1.10      +4 -5      jakarta-jmeter/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/JMSSampler.java
  
  Index: JMSSampler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jmeter/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/JMSSampler.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- JMSSampler.java	12 Jul 2005 20:50:50 -0000	1.9
  +++ JMSSampler.java	4 Aug 2005 21:15:48 -0000	1.10
  @@ -41,6 +41,7 @@
   import org.apache.jmeter.samplers.AbstractSampler;
   import org.apache.jmeter.samplers.Entry;
   import org.apache.jmeter.samplers.SampleResult;
  +import org.apache.jmeter.testelement.ThreadListener;
   import org.apache.jmeter.testelement.property.BooleanProperty;
   import org.apache.jmeter.testelement.property.TestElementProperty;
   import org.apache.jorphan.logging.LoggingManager;
  @@ -50,10 +51,10 @@
    * Sampler for JMS Communication. <br>
    * Created on: October 28, 2004
    * 
  - * @author Martijn Blankestijn
  + * author Martijn Blankestijn
    * @version $Id$
    */
  -public class JMSSampler extends AbstractSampler {
  +public class JMSSampler extends AbstractSampler implements ThreadListener {
   
   	public static final String JNDI_INITIAL_CONTEXT_FACTORY = "JMSSampler.initialContextFactory";
   
  @@ -257,7 +258,6 @@
   	 */
   	public void threadStarted() {
   		logThreadStart();
  -		super.threadStarted();
   
   		Context context = null;
   		try {
  @@ -392,7 +392,6 @@
   	 */
   	public void threadFinished() {
   		LOGGER.debug("Thread ended " + new Date());
  -		super.threadFinished();
   
   		if (session != null)
   			try {
  
  
  

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