Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 54832 invoked from network); 22 Mar 2007 20:34:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Mar 2007 20:34:12 -0000 Received: (qmail 71790 invoked by uid 500); 22 Mar 2007 20:34:09 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 71774 invoked by uid 500); 22 Mar 2007 20:34:09 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 71763 invoked by uid 99); 22 Mar 2007 20:34:09 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Mar 2007 13:34:09 -0700 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [209.68.3.43] (HELO wbm2.pair.net) (209.68.3.43) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Mar 2007 13:34:00 -0700 Received: by wbm2.pair.net (Postfix, from userid 65534) id 6160D1178B; Thu, 22 Mar 2007 16:33:37 -0400 (EDT) Received: from 124.43.218.86 ([124.43.218.86]) (SquirrelMail authenticated user sumedha@wso2.com) by webmail2.pair.com with HTTP; Thu, 22 Mar 2007 16:33:37 -0400 (EDT) Message-ID: <3726.124.43.218.86.1174595617.squirrel@webmail2.pair.com> In-Reply-To: <9621016.post@talk.nabble.com> References: <9621016.post@talk.nabble.com> Date: Thu, 22 Mar 2007 16:33:37 -0400 (EDT) Subject: Re: Axis2 JMS samples? From: sumedha@wso2.com To: axis-user@ws.apache.org User-Agent: SquirrelMail/1.4.5 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Checked: Checked by ClamAV on apache.org Hi, Try the following steps.(All these are mentioned in the url you mentioned, but check & see if you have missed anything ;-) ) 1.Download & start ActiveMQ from apache.(Do not change default ports) 2.Open /conf/axis2.xml 3.Uncomment transport receiver part for JMS. i.e. section starting with... /bin/axis2server.(bat|sh) (If you get a binding exception,change the port of axis server) 6.Type 'jconsole' on a new command/shell window. (i.e. assuming your using jdk 1.5 & /bin is in your path) 7.This will open up a GUI. 8.On left hand side of the UI check for jms queues created with service names you have deployed under axis2. 9.Once the queues are there(this means the link between the axis server & JMS server is established),change you client code with following. String url = "jms:/?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory&java.naming.provider.url=tcp://localhost:61616"; //Replace with you service name. //and add following property to client options.setProperty(Constants.Configuration.TRANSPORT_URL, url); 10.Add /lib/*.jar to classpath & run the client. Good luck!!!!! Happy messaging with JMS ;-) /sumedha > > Are there any samples for JMS with Axis2. Also can some one point some > useful > links on this topic. I could not find anything other than the > http://ws.apache.org/axis2/1_1_1/jms-transport.html Axis2/Java - JMS > transport. > > Thanks > Nishant > -- > View this message in context: > http://www.nabble.com/Axis2-JMS-samples--tf3449408.html#a9621016 > Sent from the Axis - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-user-help@ws.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org