Sumedha, Thanks for the step by step explanation. That was helpful but that was not exactly what I was looking for. I am looking for a working JMS sample.
Thanks sumedha rubasinghe wrote: > > 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 <AXIS2_HOME>/conf/axis2.xml > > 3.Uncomment transport receiver part for JMS. > i.e. section starting with... > <transportReceiver name="jms" > > > 4.Uncomment line setting transport sender for JMS. > i.e. line starting with > <transportSender name="jms" > > 5.Start Axis Server by running <AXIS2_HOME>/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 & <JAVA_HOME>/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:/<ABCDE>?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory&java.naming.provider.url=tcp://localhost:61616"; > > //Replace <ABCDE> with you service name. > > > //and add following property to client > options.setProperty(Constants.Configuration.TRANSPORT_URL, url); > > > 10.Add <ACTIVEMQ_HOME>/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: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Axis2-JMS-samples--tf3449408.html#a9635836 Sent from the Axis - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]