camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kalber <Karlheinz.Al...@swslt.com>
Subject CDI.current() with 2.17.0
Date Tue, 26 Apr 2016 12:18:16 GMT
Hi,

i must create 'FileIdempotentRepository' as managed named beans
programmaticly.


For this i tried to use CDI.current().getBeanManager().createBean, but
CDI.current is null.


This are dependencies i set:
   <dependency>
            <groupId>org.apache.deltaspike.cdictrl</groupId>
            <artifactId>deltaspike-cdictrl-weld</artifactId>
            <version>1.6.0</version>
        </dependency>
        <dependency>
            <groupId>org.jboss.weld.se</groupId>
            <artifactId>weld-se</artifactId>
            <version>2.3.3.Final</version>
        </dependency>

It's possible to use javax.enterprise.inject.spi.CDI ?




-----
kh
--
View this message in context: http://camel.465427.n5.nabble.com/CDI-current-with-2-17-0-tp5781717.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message