Re: How can i use CDI with CamelTestSupport

2015-05-21 Thread Willem Jiang
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.ouesl...@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.
  



How can i use CDI with CamelTestSupport

2015-05-20 Thread kikou1984
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.