+

Search Tips   |   Advanced Search

Configure a permanent reply queue for web services using SOAP over JMS

When using two-way web service communications using the industry standard SOAP over JMS protocol, we can benefit from configuring a permanent reply queue on a JAX-WS or JAX-RPC web services client. The use of a permanent reply queue can improve performance because this reply queue prevents the client from having to create a temporary reply queue each time a web services request is invoked.

A permanent reply queue is configured on the web services client in one of the following ways:

To set the permanent reply queue using any of these options, only client-side configuration is necessary. There is no configuration necessary for the web service provider.

Use the typical administrative functions of the JMS messaging provider to create the permanent reply queue prior to configuring the reply queue with the web services client.

Configure the JNDI name of the permanent reply queue using one of the following ways:


Results

Your web services client can now receive SOAP over JMS messages from a permanent reply queue.


Related tasks

  • Use SOAP over JMS to transport web services
  • Task overview: Implement web services applications
  • Java virtual machine custom properties

  • SOAP over JMS protocol
  • JMS endpoint URL syntax