/** * Set the name of the default response queue to send response messages to. * This will be applied in case of a request message that does not carry a * "JMSReplyTo" field. * <p>Alternatively, specify a JMS Destination object as "defaultResponseDestination". * @see #setDestinationResolver * @see #setDefaultResponseDestination(javax.jms.Destination) */ public void setDefaultResponseQueueName(String destinationName) { this.defaultResponseDestination = new DestinationNameHolder(destinationName, false); }
/** * Set the name of the default response topic to send response messages to. * This will be applied in case of a request message that does not carry a * "JMSReplyTo" field. * <p>Alternatively, specify a JMS Destination object as "defaultResponseDestination". * @see #setDestinationResolver * @see #setDefaultResponseDestination(javax.jms.Destination) */ public void setDefaultResponseTopicName(String destinationName) { this.defaultResponseDestination = new DestinationNameHolder(destinationName, true); }