Re: CDI+DS extension

2016-08-01 Thread Brad Johnson
Guillaume, I was working with Camel SCR over the week end evaluating readiness and state for my next project. So I came back to read your comments about the pax-cdi. While there's a great deal to like about Camel SCR and DS and from all the reading about the problems with service damping it appe

Re: blueprint:cm multiple bundle but same config file

2016-08-01 Thread Brad Johnson
Tim, After working with DS and SCR a little I can understand its benefits. One obvious advantage was being able to write basic JUnit tests to test my routes without having to fire up CBTS. I've always disliked working in XML so it is odd being in the position like I sound like I'm the one champi

Re: blueprint:cm multiple bundle but same config file

2016-08-01 Thread Matt Sicker
Can you even make a semi-private service in DS/SCR? What could the equivalent be to a blueprint bean that isn't exported as a service? Or is the philosophy to make all services public in DS? On 1 August 2016 at 18:12, Brad Johnson wrote: > Tim, > > After working with DS and SCR a little I can un

Re: blueprint:cm multiple bundle but same config file

2016-08-01 Thread David Jencks
if the declared DS services are non-exported classes in the bundle then even though it gets in the service registry it won’t be accessible outside the bundle. You can also use a non-feature subsystem to restrict visibility to the service, but that starts getting complicated pretty rapidly. If yo

Re: blueprint:cm multiple bundle but same config file

2016-08-01 Thread Brad Johnson
I'd thought that it was possible since the examples have a SimpleRegistry and mention using it to register beans. But when I looked at the AbstractCamelRunner it became obvious that that would not work. I'm trying something by creating a new SCRRegistry type just for the sake of experimentation.

Re: blueprint:cm multiple bundle but same config file

2016-08-01 Thread Brad Johnson
The CamelContext disambiguation obviously is a next step... On Mon, Aug 1, 2016 at 8:01 PM, Brad Johnson wrote: > I'd thought that it was possible since the examples have a SimpleRegistry > and mention using it to register beans. But when I looked at the > AbstractCamelRunner it became obvious

Re: blueprint:cm multiple bundle but same config file

2016-08-01 Thread Matt Sicker
Can you include scanning services or certain types of annotated services to inject camel things into? That way you can use DS components more easily. On 1 August 2016 at 20:03, Brad Johnson wrote: > The CamelContext disambiguation obviously is a next step... > > On Mon, Aug 1, 2016 at 8:01 PM, B