Sorry about that. And it looks like you fixed it. Thanks. Dave Davanum Srinivas wrote: > > James, Sonic-folks, > > PLEASE run "ant clean all-tests" before checking anything in. > > -- dims > > PS: See http://marc.theaimsgroup.com/?l=axis-dev&m=103229260327235&w=2 > > --- [EMAIL PROTECTED] wrote: > > jmsnell 2002/09/17 09:50:36 > > > > Modified: java buildSamples.xml .cvsignore build.xml > > java/xmls targets.xml > > Added: java/src/org/apache/axis/transport/jms > > SimpleJMSListener.java JMSConnector.java > > SonicConstants.java TopicConnector.java > > JMSEndpoint.java MapUtils.java Subscription.java > > JMSConstants.java InvokeTimeoutException.java > > JMSTransport.java InvokeException.java > > QueueConnector.java JMSConnectorFactory.java > > SimpleJMSWorker.java JMSSender.java > > java/samples/jms server-config.wsdd JMSTest.java > > client_deploy.wsdd build.xml > > Log: > > Adding Sonic's JMS transport to the main source > > > > Revision Changes Path > > 1.13 +4 -0 xml-axis/java/buildSamples.xml > > > > Index: buildSamples.xml > > =================================================================== > > RCS file: /home/cvs/xml-axis/java/buildSamples.xml,v > > retrieving revision 1.12 > > retrieving revision 1.13 > > diff -u -r1.12 -r1.13 > > --- buildSamples.xml 11 Sep 2002 14:35:38 -0000 1.12 > > +++ buildSamples.xml 17 Sep 2002 16:50:35 -0000 1.13 > > @@ -103,6 +103,10 @@ > > <ant inheritAll="true" antfile="${axis.home}/samples/jaxrpc/build.xml"/> > > </target> > > > > + <target name="jms" depends="setenv"> > > + <ant inheritAll="true" antfile="${axis.home}/samples/jms/build.xml"/> > > + </target> > > + > > <!-- >=========================================================================== --> > > <target name="copy"/> > > > > > > > > > > 1.7 +3 -0 xml-axis/java/.cvsignore > > > > Index: .cvsignore > > =================================================================== > > RCS file: /home/cvs/xml-axis/java/.cvsignore,v > > retrieving revision 1.6 > > retrieving revision 1.7 > > diff -u -r1.6 -r1.7 > > --- .cvsignore 16 Aug 2002 22:51:21 -0000 1.6 > > +++ .cvsignore 17 Sep 2002 16:50:35 -0000 1.7 > > @@ -7,3 +7,6 @@ > > bin > > .project > > .classpath > > +buildit.bat > > +testit.bat > > +GetQuote.wsdl > > > > > > > > 1.188 +1 -0 xml-axis/java/build.xml > > > > Index: build.xml > > =================================================================== > > RCS file: /home/cvs/xml-axis/java/build.xml,v > > retrieving revision 1.187 > > retrieving revision 1.188 > > diff -u -r1.187 -r1.188 > > --- build.xml 12 Sep 2002 21:04:24 -0000 1.187 > > +++ build.xml 17 Sep 2002 16:50:35 -0000 1.188 > > @@ -106,6 +106,7 @@ > > <exclude >name="**/org/apache/axis/transport/http/ServletEndpointContextImpl.java" > > unless="servlet.present"/> > > <exclude > > >name="**/org/apache/axis/transport/configuration/EngineConfigurationFactoryServlet.java" > > unless="servlet.present"/> > > <exclude name="**/org/apache/axis/transport/http/CommonsHTTPSender.java" > > unless="commons-httpclient.present"/> > > + <exclude name="**/org/apache/axis/transport/jms/*" unless="jms.present"/> > > <exclude name="**/org/apache/axis/server/JNDIAxisServerFactory.java" > > unless="servlet.present"/> > > <exclude name="**/org/apache/axis/security/servlet/*" >unless="servlet.present"/> > > <exclude name="**/javax/xml/soap/*.java" unless="attachments.present"/> > > > > > > > > 1.1 >xml-axis/java/src/org/apache/axis/transport/jms/SimpleJMSListener.java > > > > Index: SimpleJMSListener.java > > =================================================================== > > /* > > * The Apache Software License, Version 1.1 > > * > > * > > * Copyright (c) 2001, 2002 The Apache Software Foundation. All rights > > * reserved. > > * > > * Redistribution and use in source and binary forms, with or without > > * modification, are permitted provided that the following conditions > > * are met: > > * > > * 1. Redistributions of source code must retain the above copyright > > * notice, this list of conditions and the following disclaimer. > > * > > * 2. Redistributions in binary form must reproduce the above copyright > > * notice, this list of conditions and the following disclaimer in > > * the documentation and/or other materials provided with the > > * distribution. > > * > > * 3. The end-user documentation included with the redistribution, > > * if any, must include the following acknowledgment: > > * "This product includes software developed by the > > * Apache Software Foundation (http://www.apache.org/)." > > * Alternately, this acknowledgment may appear in the software itself, > > * if and wherever such third-party acknowledgments normally appear. > > * > > * 4. The names "Axis" and "Apache Software Foundation" must > > * not be used to endorse or promote products derived from this > > * software without prior written permission. For written > > * permission, please contact [EMAIL PROTECTED] > > * > > * 5. Products derived from this software may not be called "Apache", > > * nor may "Apache" appear in their name, without prior written > > * permission of the Apache Software Foundation. > > * > > * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED > > * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES > > * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE > > * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR > > * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, > > * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT > > * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF > > * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND > > * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, > > * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT > > * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF > > * SUCH DAMAGE. > > * ==================================================================== > > * > > * This software consists of voluntary contributions made by many > > * individuals on behalf of the Apache Software Foundation. For more > > * information on the Apache Software Foundation, please see > > * <http://www.apache.org/>. > > */ > > > > package org.apache.axis.transport.jms; > > > > import java.io.InputStream; > > import java.io.ByteArrayInputStream; > > import java.io.ByteArrayOutputStream; > > > > import java.util.HashMap; > > > > import javax.jms.MessageListener; > > import javax.jms.BytesMessage; > > import javax.jms.Destination; > > import javax.jms.JMSException; > > > > import org.apache.axis.Message; > > import org.apache.axis.MessageContext; > > import org.apache.axis.AxisFault; > > > > import org.apache.axis.server.AxisServer; > > > > import org.apache.axis.utils.Options; > > import org.apache.axis.utils.Messages; > > > > import org.apache.commons.logging.Log; > > import org.apache.axis.components.logger.LogFactory; > > > > /** > > * SimpleJMSListener implements the javax.jms.MessageListener interface. Its > > * basic purpose is listen asynchronously for messages and to pass them off > > * to SimpleJMSWorker for processing. > > * > > * Note: This is a simple JMS listener that does not pool worker threads and > > * is not otherwise tuned for performance. As such, its intended use is not > > * for production code, but for demos, debugging, and performance profiling. > > * > > * @author Jaime Meritt ([EMAIL PROTECTED]) > > * @author Richard Chung ([EMAIL PROTECTED]) > > * @author Dave Chappell ([EMAIL PROTECTED]) > > */ > > public class SimpleJMSListener implements MessageListener > > { > > protected static Log log = > > LogFactory.getLog(SimpleJMSListener.class.getName()); > > > > // Do we use (multiple) threads to process incoming messages? > > private static boolean doThreads = true; > > > > private JMSConnector connector; > > private JMSEndpoint endpoint; > > private AxisServer server; > > > > public SimpleJMSListener(Options options) > > throws Exception > > { > > HashMap cfMap = new HashMap(); > > > === message truncated === > > ===== > Davanum Srinivas - http://xml.apache.org/~dims/ > > __________________________________________________ > Do you Yahoo!? > Yahoo! News - Today's headlines > http://news.yahoo.com
-- Sonic Software - Backbone of the Extended Enterprise -- David Chappell <[EMAIL PROTECTED]> Office: (781)999-7099 Mobile: (617)510-6566 Vice President and Chief Technology Evangelist, Sonic Software co-author,"Java Web Services", (O'Reilly 2002) "The Java Message Service", (O'Reilly 2000) "Professional ebXML Foundations", (Wrox 2001) --
begin:vcard n:Chappell;Dave tel;cell:617-510-6566 tel;work:781-999-7099 x-mozilla-html:FALSE url:www.sonicsoftware.com org:Sonic Software Corp. <BR><IMG SRC="http://www.sonicsoftware.com/media/general/logos/sonic_logo1.gif" VSPACE="10"> adr:;;14 Oak Park;Bedford;MA;01730;USA version:2.1 email;internet:[EMAIL PROTECTED] title:vice president & chief technology evangelist fn:Dave Chappell end:vcard