Re: [I] Infinispan with dev services enabled can lead to jakarta.enterprise.inject.CreationException [camel-quarkus]

2024-04-05 Thread via GitHub
karesti commented on issue #5965: URL: https://github.com/apache/camel-quarkus/issues/5965#issuecomment-2039547259 @jamesnetherton I'm going to implement the liked issue (to be backported) then I would suggest making use of spinning a server with Quarkus and adding extra config with

Re: [I] Infinispan with dev services enabled can lead to jakarta.enterprise.inject.CreationException [camel-quarkus]

2024-04-05 Thread via GitHub
karesti commented on issue #5965: URL: https://github.com/apache/camel-quarkus/issues/5965#issuecomment-2039524264 In the Infinispan extesion, I do have this code as well: ```java // dev mode client name for default if

Re: [I] Infinispan with dev services enabled can lead to jakarta.enterprise.inject.CreationException [camel-quarkus]

2024-04-05 Thread via GitHub
karesti commented on issue #5965: URL: https://github.com/apache/camel-quarkus/issues/5965#issuecomment-2039473661 something like ```java public class InfinispanDevServicesConfigBuilderCustomizer implements SmallRyeConfigBuilderCustomizer { @Override public void

Re: [I] Infinispan with dev services enabled can lead to jakarta.enterprise.inject.CreationException [camel-quarkus]

2024-04-05 Thread via GitHub
jamesnetherton commented on issue #5965: URL: https://github.com/apache/camel-quarkus/issues/5965#issuecomment-2039467338 > @jamesnetherton maybe this can provide in the camel infinispan quarkus extension something like this Yes, I was thinking about something like that. I need to

Re: [I] Infinispan with dev services enabled can lead to jakarta.enterprise.inject.CreationException [camel-quarkus]

2024-04-05 Thread via GitHub
karesti commented on issue #5965: URL: https://github.com/apache/camel-quarkus/issues/5965#issuecomment-2039451270 @jamesnetherton maybe you can provide in the camel infinispan quarkus extension something like this

Re: [I] Infinispan with dev services enabled can lead to jakarta.enterprise.inject.CreationException [camel-quarkus]

2024-04-05 Thread via GitHub
karesti commented on issue #5965: URL: https://github.com/apache/camel-quarkus/issues/5965#issuecomment-2039448901 @jamesnetherton in the Infinispan extension, I already enable and so stuff depending on extensions that might be present. I have an idea that might be done in the camel

Re: [I] Infinispan with dev services enabled can lead to jakarta.enterprise.inject.CreationException [camel-quarkus]

2024-04-05 Thread via GitHub
karesti commented on issue #5965: URL: https://github.com/apache/camel-quarkus/issues/5965#issuecomment-2039443811 I afraid that having dev services not enabled by default is the dev services default behaviour, I can't change that for Infinispan. But I can do that if I detect the use of

Re: [I] Infinispan with dev services enabled can lead to jakarta.enterprise.inject.CreationException [camel-quarkus]

2024-04-05 Thread via GitHub
jamesnetherton commented on issue #5965: URL: https://github.com/apache/camel-quarkus/issues/5965#issuecomment-2039308842 > My question is: do you need to use dev services AND this bean not to be created but being provided by camel quarkus ? The problem is that devservices is enabled

Re: [I] Infinispan with dev services enabled can lead to jakarta.enterprise.inject.CreationException [camel-quarkus]

2024-04-05 Thread via GitHub
karesti commented on issue #5965: URL: https://github.com/apache/camel-quarkus/issues/5965#issuecomment-2039277207 @jamesnetherton yes, the dev services creates a default remote cache manager without any configuration and then when we use a cache in the code, the cache is also created by