axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajika Kumarasiri <raj...@wso2.com>
Subject RE: Axis2 + jms
Date Wed, 29 Oct 2008 08:11:52 GMT
On Wed, 2008-10-29 at 15:57 +0800, Shen, Chunxia wrote:
> Hi asankha,
> 
> Thanks a lot for your help.
> 
> Now my axis2 server is listen to the queue, and How can I write a client to call the
service?
According to your client code, you should have a service named
"myjmsqueue", do you have that service deployed ? 

> 
> I attached my TestClient and below attached my axis2.xml snippt:
> 
> 
>   <transportReceiver name="jms" class="org.apache.axis2.transport.jms.JMSListener">
>        <parameter name="myjmsfactoryTest" locked="false">                
>         <parameter name="java.naming.factory.initial" locked="false">weblogic.jndi.WLInitialContextFactory</parameter>
>         <parameter name="java.naming.provider.url" locked="false">t3://localhost:80</parameter>
       
>         <parameter name="transport.jms.ConnectionFactoryJNDIName" locked="false">myjmsfactory</parameter>
>       </parameter>
>     </transportReceiver>
> 
You'll need to add the Transport sender as well.

 <transportSender name="jms"
class="org.apache.axis2.transport.jms.JMSSender"/>

-Rajika

 

-- 
http://wso2.org
http://llvm.org
http://www.osdev.org


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message