From f5b733620a9890858b368bbc0328d113d5abf176 Mon Sep 17 00:00:00 2001 From: Timon Borter Date: Tue, 14 May 2024 15:19:03 +0200 Subject: [PATCH] fix: allow bean name access --- .../simulator/endpoint/SimulatorEndpointAutoConfiguration.java | 2 +- .../simulator/http/SimulatorRestAutoConfiguration.java | 2 +- .../simulator/jms/SimulatorJmsAutoConfiguration.java | 2 +- .../simulator/ws/SimulatorWebServiceAutoConfiguration.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/simulator-spring-boot/src/main/java/org/citrusframework/simulator/endpoint/SimulatorEndpointAutoConfiguration.java b/simulator-spring-boot/src/main/java/org/citrusframework/simulator/endpoint/SimulatorEndpointAutoConfiguration.java index 2425bc0a9..ea35c7a00 100644 --- a/simulator-spring-boot/src/main/java/org/citrusframework/simulator/endpoint/SimulatorEndpointAutoConfiguration.java +++ b/simulator-spring-boot/src/main/java/org/citrusframework/simulator/endpoint/SimulatorEndpointAutoConfiguration.java @@ -46,7 +46,7 @@ @ConditionalOnProperty(prefix = "citrus.simulator.endpoint", value = "enabled", havingValue = "true") public class SimulatorEndpointAutoConfiguration { - private static final String SIMULATOR_ENDPOINT_ADAPTER_BEAN_NAME = "simulatorEndpointAdapter"; + public static final String SIMULATOR_ENDPOINT_ADAPTER_BEAN_NAME = "simulatorEndpointAdapter"; private final ApplicationContext applicationContext; private final SimulatorConfigurationProperties simulatorConfiguration; diff --git a/simulator-spring-boot/src/main/java/org/citrusframework/simulator/http/SimulatorRestAutoConfiguration.java b/simulator-spring-boot/src/main/java/org/citrusframework/simulator/http/SimulatorRestAutoConfiguration.java index 15f1b58a2..caf41e0a3 100644 --- a/simulator-spring-boot/src/main/java/org/citrusframework/simulator/http/SimulatorRestAutoConfiguration.java +++ b/simulator-spring-boot/src/main/java/org/citrusframework/simulator/http/SimulatorRestAutoConfiguration.java @@ -68,7 +68,7 @@ @ConditionalOnProperty(prefix = "citrus.simulator.rest", value = "enabled", havingValue = "true", matchIfMissing = true) public class SimulatorRestAutoConfiguration { - private static final String REST_ENDPOINT_ADAPTER_BEAN_NAME = "simulatorRestEndpointAdapter"; + public static final String REST_ENDPOINT_ADAPTER_BEAN_NAME = "simulatorRestEndpointAdapter"; private final ApplicationContext applicationContext; private final SimulatorRestConfigurationProperties simulatorRestConfiguration; diff --git a/simulator-spring-boot/src/main/java/org/citrusframework/simulator/jms/SimulatorJmsAutoConfiguration.java b/simulator-spring-boot/src/main/java/org/citrusframework/simulator/jms/SimulatorJmsAutoConfiguration.java index 4a9b62c58..1664282c3 100644 --- a/simulator-spring-boot/src/main/java/org/citrusframework/simulator/jms/SimulatorJmsAutoConfiguration.java +++ b/simulator-spring-boot/src/main/java/org/citrusframework/simulator/jms/SimulatorJmsAutoConfiguration.java @@ -55,7 +55,7 @@ @ConditionalOnProperty(prefix = "citrus.simulator.jms", value = "enabled", havingValue = "true") public class SimulatorJmsAutoConfiguration { - private static final String JMS_ENDPOINT_ADAPTER_BEAN_NAME = "simulatorJmsEndpointAdapter"; + public static final String JMS_ENDPOINT_ADAPTER_BEAN_NAME = "simulatorJmsEndpointAdapter"; private final SimulatorConfigurationProperties simulatorConfiguration; private final SimulatorJmsConfigurationProperties simulatorJmsConfiguration; diff --git a/simulator-spring-boot/src/main/java/org/citrusframework/simulator/ws/SimulatorWebServiceAutoConfiguration.java b/simulator-spring-boot/src/main/java/org/citrusframework/simulator/ws/SimulatorWebServiceAutoConfiguration.java index 320916f66..3d2423dcc 100644 --- a/simulator-spring-boot/src/main/java/org/citrusframework/simulator/ws/SimulatorWebServiceAutoConfiguration.java +++ b/simulator-spring-boot/src/main/java/org/citrusframework/simulator/ws/SimulatorWebServiceAutoConfiguration.java @@ -60,7 +60,7 @@ @ConditionalOnProperty(prefix = "citrus.simulator.ws", value = "enabled", havingValue = "true") public class SimulatorWebServiceAutoConfiguration { - private static final String WS_ENDPOINT_ADAPTER_BEAN_NAME = "simulatorWsEndpointAdapter"; + public static final String WS_ENDPOINT_ADAPTER_BEAN_NAME = "simulatorWsEndpointAdapter"; @Autowired(required = false) private SimulatorWebServiceConfigurer configurer;