You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by kikou1984 <hi...@atos.net> on 2015/05/20 16:14:40 UTC

How can i use CDI with CamelTestSupport

Hi, 

I have already posted a question on "http://stackoverflow.com/"

http://stackoverflow.com/questions/30351898/how-can-i-use-cdi-with-cameltestsupport
<http://stackoverflow.com/questions/30351898/how-can-i-use-cdi-with-cameltestsupport>  

Can anybody help me please.

Should i detail the probleme at this forum or keep my post on stackOverFlow
?

Thanks.



--
View this message in context: http://camel.465427.n5.nabble.com/How-can-i-use-CDI-with-CamelTestSupport-tp5767328.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How can i use CDI with CamelTestSupport

Posted by Willem Jiang <wi...@gmail.com>.
I just added a comment on your issue.

"I think you may need to extends the CdiTestSupport instead of CamelTestSupport. The key point is find the right CdiContainer to use, as I didn't see the code of EJBContainerRunner, you may need to the work there if the CdiTestSupport doesn't work."


--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem



On May 21, 2015 at 3:58:00 PM, kikou1984 (hichem.oueslati@atos.net) wrote:
> I found a Camel-cdi.jar contains a CdiBeanRegistry with method lookup, how
> can we use it please in the context ?
>  
>  
>  
> --
> View this message in context: http://camel.465427.n5.nabble.com/How-can-i-use-CDI-with-CamelTestSupport-tp5767328p5767370.html  
> Sent from the Camel - Users mailing list archive at Nabble.com.
>  


Re: How can i use CDI with CamelTestSupport

Posted by kikou1984 <hi...@atos.net>.
I found a Camel-cdi.jar contains a CdiBeanRegistry with method lookup, how
can we use it please in the context ?



--
View this message in context: http://camel.465427.n5.nabble.com/How-can-i-use-CDI-with-CamelTestSupport-tp5767328p5767370.html
Sent from the Camel - Users mailing list archive at Nabble.com.