You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2023/09/11 06:55:53 UTC
[camel] branch jcache-tests created (now 1387475659e)
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a change to branch jcache-tests
in repository https://gitbox.apache.org/repos/asf/camel.git
at 1387475659e Camel-Jcache: Fixed tests after CAMEL-19833
This branch includes the following new commits:
new 1387475659e Camel-Jcache: Fixed tests after CAMEL-19833
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[camel] 01/01: Camel-Jcache: Fixed tests after CAMEL-19833
Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch jcache-tests
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 1387475659e4e52441747d12c2cb808517d1d9d3
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Sep 11 08:55:27 2023 +0200
Camel-Jcache: Fixed tests after CAMEL-19833
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
.../org/apache/camel/component/jcache/JCacheConfigurationTest.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/JCacheConfigurationTest.java b/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/JCacheConfigurationTest.java
index 4c3c3f0cc2c..047f3ad38b5 100644
--- a/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/JCacheConfigurationTest.java
+++ b/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/JCacheConfigurationTest.java
@@ -43,11 +43,11 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
public class JCacheConfigurationTest extends JCacheComponentTestSupport {
@BindToRegistry("myExpiryPolicyFactory")
- private static final Factory<ExpiryPolicy> EXPIRY_POLICY_FACTORY = AccessedExpiryPolicy.factoryOf(Duration.ONE_MINUTE);
+ public static final Factory<ExpiryPolicy> EXPIRY_POLICY_FACTORY = AccessedExpiryPolicy.factoryOf(Duration.ONE_MINUTE);
@BindToRegistry("myCacheWriterFactory")
- private static final Factory<CacheWriter<Object, Object>> CACHE_WRITER_FACTORY = MyCacheWriter.factory();
+ public static final Factory<CacheWriter<Object, Object>> CACHE_WRITER_FACTORY = MyCacheWriter.factory();
@BindToRegistry("myCacheLoaderFactory")
- private static final Factory<CacheLoader<Object, Object>> CACHE_LOADER_FACTORY = MyCacheLoader.factory();
+ public static final Factory<CacheLoader<Object, Object>> CACHE_LOADER_FACTORY = MyCacheLoader.factory();
@EndpointInject(value = "jcache://test-cache" + "?expiryPolicyFactory=#myExpiryPolicyFactory"
+ "&cacheWriterFactory=#myCacheWriterFactory"