WebSphere Application Server Network Deployment, Version 6.1
             Operating Systems: AIX, HP-UX, i5/OS, Linux, Solaris, Windows, z/OS

             Personalize the table of contents and search results

Configuring a permanent replyTo queue for JAX-RPC Web services using SOAP over JMS

When using two-way Web service communications using SOAP over JMS, it can be beneficial to configure a permanent replyTo queue on a JAX-RPC Web services client to prevent the client from having to create a temporary reply queue each time a Web service request is made.

About this task

A permanent replyTo queue is configured on the Web service client in one of the following ways:
  • Specify the optional replyToDestination property in the JMS endpoint URL.
  • Set the replyTo queue programmatically on the client JAX-RPC Stub or Call object. Setting the replyTo queue as a Stub or a Call property affects all requests that are invoked using that Stub or Call object.
  • Set the replyTo queue as a JVM System property. Setting the replyTo queue as a JVM System property affects all of your SOAP over JMS clients running in the particular JVM. If there are multiple clients in the same application that need to use a different replyTO queue, then the best option is to set the property programmatically.
Note: To set the permanent replyTo queue using any of these options, only client-side configuration is necessary. There is no configuration necessary on the Web service provider side.

Procedure

Results

Your Web services client can now receive SOAP/JMS messages to a permanent replyTo queue.



In this information ...


Related information

IBM Redbooks, demos, education, and more


Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

IBM Suggests
Task topic    

Terms of Use | Feedback

Last updated: Feb 25, 2009 9:32:38 AM CST
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.nd.multiplatform.doc/info/ae/ae/twbs_jmspermreplyto.html