Fuse 6 is no longer supported
As of February 2025, Red Hat Fuse 6 is no longer supported. If you are using Fuse 6, please upgrade to Red Hat build of Apache Camel.4.3. Using a Named Reply Destination
Overview Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
By default, Apache CXF endpoints using JMS create a temporary queue for sending replies back and forth. If you prefer to use named queues, you can configure the queue used to send replies as part of an endpoint's JMS configuration.
Setting the reply destination name Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
You specify the reply destination using either the
jmsReplyDestinationName attribute or the jndiReplyDestinationName attribute in the endpoint's JMS configuration. 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.
Example Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
Example 4.9, “JMS Consumer Specification Using a Named Reply Queue” shows the configuration for a JMS client endpoint.
Example 4.9. JMS Consumer Specification Using a Named Reply Queue