From f527025256b574a24f3f98f205944562d50deaba Mon Sep 17 00:00:00 2001 From: abilan Date: Mon, 17 Jul 2023 11:07:24 -0400 Subject: [PATCH] Fix placeholder in `JmsChannelParser` for `cache` Looks like spring JMS does not uppercase the `cacheLevelName` before assigning anymore. * Remove `toUpperCase()` for `cache` in the `JmsChannelParser` logic. * Perform `toUpperCase()` in the `JmsChannelFactoryBean.setCacheLevelName()` instead --- .../integration/jms/config/JmsChannelFactoryBean.java | 5 +++-- .../integration/jms/config/JmsChannelParser.java | 10 ++++++---- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/spring-integration-jms/src/main/java/org/springframework/integration/jms/config/JmsChannelFactoryBean.java b/spring-integration-jms/src/main/java/org/springframework/integration/jms/config/JmsChannelFactoryBean.java index 531155d0de..e904cdfe81 100644 --- a/spring-integration-jms/src/main/java/org/springframework/integration/jms/config/JmsChannelFactoryBean.java +++ b/spring-integration-jms/src/main/java/org/springframework/integration/jms/config/JmsChannelFactoryBean.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2021 the original author or authors. + * Copyright 2002-2023 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -203,9 +203,10 @@ public class JmsChannelFactoryBean extends AbstractFactoryBean