Fix JMS and JMX module to the latest SF
* Fix `ControlBusParserTests` test to pass `Object.class` to the `MessageConverter` since we can't use `null` there any more * Fix `JmsOutboundGateway` for empty string for the `replyDestinationName` since we can't pass `null` there any more
This commit is contained in:
@@ -600,6 +600,10 @@ public class JmsOutboundGateway extends AbstractReplyProducingMessageHandler imp
|
||||
if (StringUtils.hasText(this.replyDestinationName)) {
|
||||
container.setDestinationName(this.replyDestinationName);
|
||||
}
|
||||
else {
|
||||
// to be resolved to the TemporaryQueue
|
||||
container.setDestinationName("");
|
||||
}
|
||||
if (this.destinationResolver != null) {
|
||||
container.setDestinationResolver(this.destinationResolver);
|
||||
}
|
||||
@@ -1399,7 +1403,7 @@ public class JmsOutboundGateway extends AbstractReplyProducingMessageHandler imp
|
||||
@Override
|
||||
protected String getDestinationDescription() {
|
||||
if (this.replyDestination instanceof TemporaryQueue) {
|
||||
return "Temporary queue:" + this.replyDestination.toString();
|
||||
return "Temporary queue: " + this.replyDestination.toString();
|
||||
}
|
||||
else if (super.getDestination() != null) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user