Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

By default, CXF endpoints using JMS create a temporary queue for sending replies back and forth. You can change this behavior by setting the jndiReplyDestinationName attribute in the endpoint's contract. A client endpoint will listen for replies on the specified destination and it will specify the value of the attribute in the ReplyTo field of all outgoing requests. A service endpoint will use the value of the jndiReplyDestinationName attribute as the location for placing replies if there is no destination specified in the request's ReplyTo field.

As of CXF 2.1.3 and 2.0.9 a static reply queue can not be shared by several instances of the service client. Please use a dynamic reply queue or different queue names per instance instead. (See discussion on the mailing list)

The following example shows an example of a JMS WSDL port specification.

...