Re: [I] camel-quarkus-spring-redis doesn't autowire RedisTemplate so it cannot be used for e.g. RedisIdempotentRepository [camel-quarkus]

2024-04-11 Thread via GitHub
jamesnetherton closed issue #5962: camel-quarkus-spring-redis doesn't autowire RedisTemplate so it cannot be used for e.g. RedisIdempotentRepository URL: https://github.com/apache/camel-quarkus/issues/5962 -- This is an automated message from the Apache Git Service. To respond to the message,

Re: [I] camel-quarkus-spring-redis doesn't autowire RedisTemplate so it cannot be used for e.g. RedisIdempotentRepository [camel-quarkus]

2024-04-11 Thread via GitHub
jamesnetherton commented on issue #5962: URL: https://github.com/apache/camel-quarkus/issues/5962#issuecomment-2049448519 I made some changes that should fix the `ClassNotFoundException` issues: https://github.com/apache/camel-quarkus/pull/5989 I'll follow up with another issue

Re: [I] camel-quarkus-spring-redis doesn't autowire RedisTemplate so it cannot be used for e.g. RedisIdempotentRepository [camel-quarkus]

2024-04-10 Thread via GitHub
jamesnetherton commented on issue #5962: URL: https://github.com/apache/camel-quarkus/issues/5962#issuecomment-2047483573 > I'm thinking that these dependencies really shouldn't be necessary and perhaps should be included in the `camel-quarkus-spring-redis artifact`?? It's likely due

Re: [I] camel-quarkus-spring-redis doesn't autowire RedisTemplate so it cannot be used for e.g. RedisIdempotentRepository [camel-quarkus]

2024-04-10 Thread via GitHub
JesperBerggren commented on issue #5962: URL: https://github.com/apache/camel-quarkus/issues/5962#issuecomment-2047457958 Ok, I have it running but had to make two unexpected dependencies in the pom. First it complained about: `java.lang.ClassNotFoundException: org.springframework.

Re: [I] camel-quarkus-spring-redis doesn't autowire RedisTemplate so it cannot be used for e.g. RedisIdempotentRepository [camel-quarkus]

2024-04-09 Thread via GitHub
JesperBerggren commented on issue #5962: URL: https://github.com/apache/camel-quarkus/issues/5962#issuecomment-2044658945 I wonder what I'm missing. When I produce a bean of type RedisTemplate with this simple code: ``` public class Producers { @Produces @Applicatio

Re: [I] camel-quarkus-spring-redis doesn't autowire RedisTemplate so it cannot be used for e.g. RedisIdempotentRepository [camel-quarkus]

2024-04-05 Thread via GitHub
davsclaus commented on issue #5962: URL: https://github.com/apache/camel-quarkus/issues/5962#issuecomment-2039505936 I created a ticket to see if we can make something generic https://issues.apache.org/jira/browse/CAMEL-20654 It will be useful for other components where you need to

Re: [I] camel-quarkus-spring-redis doesn't autowire RedisTemplate so it cannot be used for e.g. RedisIdempotentRepository [camel-quarkus]

2024-04-05 Thread via GitHub
davsclaus commented on issue #5962: URL: https://github.com/apache/camel-quarkus/issues/5962#issuecomment-2039499831 Yeah would be nice if quarkus could allow configuration form application properties - its very common and handy for setting this kind of stuff - instead of writing code all t

Re: [I] camel-quarkus-spring-redis doesn't autowire RedisTemplate so it cannot be used for e.g. RedisIdempotentRepository [camel-quarkus]

2024-04-05 Thread via GitHub
jamesnetherton commented on issue #5962: URL: https://github.com/apache/camel-quarkus/issues/5962#issuecomment-2039487972 > works quite differently in Quarkus than Spring Boot Yes. The 'spring' part of the extension name is a little misleading. It gives you the means to interact

Re: [I] camel-quarkus-spring-redis doesn't autowire RedisTemplate so it cannot be used for e.g. RedisIdempotentRepository [camel-quarkus]

2024-04-05 Thread via GitHub
JesperBerggren commented on issue #5962: URL: https://github.com/apache/camel-quarkus/issues/5962#issuecomment-2039477088 Thanks for a quick reply! Ok, then it works quite differently in Quarkus than Spring Boot. In Spring Boot it enough to set something like this in application.pr

Re: [I] camel-quarkus-spring-redis doesn't autowire RedisTemplate so it cannot be used for e.g. RedisIdempotentRepository [camel-quarkus]

2024-04-04 Thread via GitHub
jamesnetherton commented on issue #5962: URL: https://github.com/apache/camel-quarkus/issues/5962#issuecomment-2037264953 In order to `@Inject` `RedisTemplate` you need to [produce](https://quarkus.io/guides/cdi-reference#simplified-producer-method-declaration) a bean of that type somewhere

[I] camel-quarkus-spring-redis doesn't autowire RedisTemplate so it cannot be used for e.g. RedisIdempotentRepository [camel-quarkus]

2024-04-04 Thread via GitHub
JesperBerggren opened a new issue, #5962: URL: https://github.com/apache/camel-quarkus/issues/5962 ### Bug description The extension _camel-quarkus-spring-redis_ doesn't seem to autowire _RedisTemplate_ which is needed for _RedisIdempotentRepository_. I've got this dependency: