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,
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
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
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.
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
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
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
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
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
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
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:
11 matches
Mail list logo