camel-guice and injecting the CamelContext into a @Provides method in the module

2016-06-07 Thread Steve973
Hello! I am attempting to convert my Camel application to Guice, and there are some things that I am missing when I read the documentation. Most of the examples that I see make use of a jndi.properties file and they use this along with something like a CamelModuleWithMatchingRoutes extension to b

Camel Guice and JNDi and Hibernate SessionFactory

2016-05-19 Thread sathi...@gmail.com
Trying to integrate Camel Guice and JNDI. I have configured DataSource as provider binding in Guice Module. This module is bootstrapped through jndi.properties file in classpath @Provides @JndiBind("jdbc/dbName") @Singleton public DataSource createDataSource() { //Actual code fo

Re: camel-guice

2012-12-21 Thread lleclerc
I removed reference to com.google.inject.internal here : http://speedy.sh/NqCJ3/Removed-reference-to-com-google-inject-internal.patch , this patch include Josep code. I removed some functionality while doing so, that might lead to strange behavior. But the current tests in camel-guice are running

Re: camel-guice

2012-12-20 Thread lleclerc
I tried the patch https://issues.apache.org/jira/secure/attachment/12561884/camel_guice_3.0.diff A pom.xml had problems, I simply removed the lines and build it and tried the camel-guice in an OSGI container. I could not get it to be active, needing com.google.common.collect and

Re: Camel :: Guice integration is inconsistent with Spring integration

2012-02-28 Thread Chris Narburgh
Hi surya, JSR-250 is indeed very helpful, and a proper port of camel would likely have to implement some handling for this as Guice has not yet done so. See: http://code.google.com/p/google-guice/issues/detail?id=62 There is probably an existing version that is compatible with Guice 3.0 as well, s

Re: Camel :: Guice integration is inconsistent with Spring integration

2012-02-28 Thread surya aditya
@Claus It is disheartening to hear guiceyfruit is dead..I remember James/team saying somewhere that he will pick up when possible and make it Guice 3.0 compatible, so is it not going to happen? I really like @JndiBind and Jsr250 support offered by guiceyfruit with camel. May I suggest not droppin

Re: Camel :: Guice integration is inconsistent with Spring integration

2012-02-28 Thread Tim
https://issues.apache.org/jira/browse/CAMEL-4466 https://issues.apache.org/jira/browse/CAMEL-4209 On Tue, Feb 28, 2012 at 10:36 AM, Claus Ibsen wrote: > On Tue, Feb 28, 2012 at 5:35 PM, Chris Narburgh > wrote: > > I would wholeheartedly agree. Guice 3.0 is the latest release with lots > of > >

Re: Camel :: Guice integration is inconsistent with Spring integration

2012-02-28 Thread Claus Ibsen
On Tue, Feb 28, 2012 at 5:35 PM, Chris Narburgh wrote: > I would wholeheartedly agree. Guice 3.0 is the latest release with lots of > new useful features. > > Is there already a ticket for doing this? > No feel free to create a ticket, and if possible work on contributions. > Thanks, > - Chris

Re: Camel :: Guice integration is inconsistent with Spring integration

2012-02-28 Thread Chris Narburgh
I would wholeheartedly agree. Guice 3.0 is the latest release with lots of new useful features. Is there already a ticket for doing this? Thanks, - Chris On Tue, Feb 28, 2012 at 10:33 AM, Claus Ibsen wrote: > On Tue, Feb 28, 2012 at 5:30 PM, Chris Narburgh > wrote: > > Hi all, > > > > I came

Re: Camel :: Guice integration is inconsistent with Spring integration

2012-02-28 Thread Claus Ibsen
On Tue, Feb 28, 2012 at 5:30 PM, Chris Narburgh wrote: > Hi all, > > I came across an annoying problem today regarding Camel + Guiceyfruit. > Camel 2.9.0, Guiceyfruit 2.0. > > The way that Guiceyfruit creates a GuiceCamelContext does not automatically > use the Injector in the registry, as the Spr

Camel :: Guice integration is inconsistent with Spring integration

2012-02-28 Thread Chris Narburgh
Hi all, I came across an annoying problem today regarding Camel + Guiceyfruit. Camel 2.9.0, Guiceyfruit 2.0. The way that Guiceyfruit creates a GuiceCamelContext does not automatically use the Injector in the registry, as the SpringCamelContext does with its ApplicationContextRegistry. Could thi

Re: camel-guice

2011-07-11 Thread Tim
3:41 AM, Willem Jiang wrote: > Hi, > > I just created a JIRA[1] to trace this issue. > > [1]https://issues.apache.org/**jira/browse/CAMEL-4209<https://issues.apache.org/jira/browse/CAMEL-4209> > > > On 7/9/11 12:42 AM, Tim wrote: > >> camel guice is usin

Re: camel-guice

2011-07-11 Thread Willem Jiang
Hi, I just created a JIRA[1] to trace this issue. [1]https://issues.apache.org/jira/browse/CAMEL-4209 On 7/9/11 12:42 AM, Tim wrote: camel guice is using guice 2.0 Which wouldn't be so bad except that it uses things from the guice internal packages. This makes it impossible to u

Re: camel-guice

2011-07-08 Thread Tim
23 AM, Claus Ibsen > wrote: > > Is guice 3.0 in any maven repository? > > > > > > On Fri, Jul 8, 2011 at 6:42 PM, Tim wrote: > >> camel guice is using guice 2.0 > >> Which wouldn't be so bad except that it uses things from the guice > internal &g

Re: camel-guice

2011-07-08 Thread Larry Meadors
It's in the central repo, I believe. com.google.inject guice 3.0 Larry On Fri, Jul 8, 2011 at 11:23 AM, Claus Ibsen wrote: > Is guice 3.0 in any maven repository? > > > On Fri, Jul 8, 2011 at 6:42 PM, Tim wrote: >> camel guice is using guice 2.0 >

Re: camel-guice

2011-07-08 Thread Claus Ibsen
Is guice 3.0 in any maven repository? On Fri, Jul 8, 2011 at 6:42 PM, Tim wrote: > camel guice is using guice 2.0 > Which wouldn't be so bad except that it uses things from the guice internal > packages. > This makes it impossible to use it alongside guice 3.0 > > I can&#

camel-guice

2011-07-08 Thread Tim
camel guice is using guice 2.0 Which wouldn't be so bad except that it uses things from the guice internal packages. This makes it impossible to use it alongside guice 3.0 I can't see any new version of guice 3. I realize this isn't a 'camel' problem but the committer

Re: Camel Guice Integration

2009-04-21 Thread Willem Jiang
stop methods of the ActiveMQ broker in Guice? Willem adambender wrote: > I am working on a project with heavy Guice integration and we are now > developing a messaging system and have decided to go with > ActiveMQ+Camel+Guice. I have a good understanding of the producer, consumer >

Camel Guice Integration

2009-04-20 Thread adambender
I am working on a project with heavy Guice integration and we are now developing a messaging system and have decided to go with ActiveMQ+Camel+Guice. I have a good understanding of the producer, consumer and JMSComponent injection, but I haven't been able to figure out the Guice way of bri