camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John D. Ament" <johndam...@apache.org>
Subject Re: CDI.current() with 2.17.0
Date Wed, 27 Apr 2016 00:58:07 GMT
So here's a simple project.  Its working fine when I run it, so if you can
point out whats different about your setup.

https://github.com/johnament/camel-cdi-annotated

John

On Tue, Apr 26, 2016 at 6:34 PM John D. Ament <johndament@apache.org> wrote:

> Could you provide a bit more context about how you're calling
> CDI.current?  Like maybe the full class or an example class?
>
> I'll try to put together an example to show it working, may be something
> to work through.  I suspect that the bean-discovery-mode=annotated is the
> problem, if you're calling within a static method in SE mode that may not
> resolve properly.
>
> John
>
>
> On Tue, Apr 26, 2016 at 9:21 AM kalber <Karlheinz.Alber@swslt.com> wrote:
>
>> yes,
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <beans xmlns="http://xmlns.jcp.org/xml/ns/javaee"
>>        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>        xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
>>
>> http://xmlns.jcp.org/xml/ns/javaee/beans_1_2.xsd"
>>        version="1.2" bean-discovery-mode="annotated">
>> </beans>
>>
>>
>>
>> -----
>> kh
>> --
>> View this message in context:
>> http://camel.465427.n5.nabble.com/CDI-current-with-2-17-0-tp5781717p5781724.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message