Re: PropertyPlaceholder with Java DSL in OSGi Blueprint

2016-08-25 Thread Mark
Good advice. Thanks for your help Brad. On Thu, Aug 25, 2016 at 8:09 PM, Brad Johnson wrote: > Duh. I should have remembered that but it was awhile ago when I ran into > it. I now keep all the names exactly the same in my bundles and then > export them via he features to the final name. For

Re: PropertyPlaceholder with Java DSL in OSGi Blueprint

2016-08-25 Thread Brad Johnson
Duh. I should have remembered that but it was awhile ago when I ran into it. I now keep all the names exactly the same in my bundles and then export them via he features to the final name. For the final name I generally use the group Id and artifactId. On Thu, Aug 25, 2016 at 7:07 PM, Mark wrot

Re: PropertyPlaceholder with Java DSL in OSGi Blueprint

2016-08-25 Thread Mark
Found the problem. You can't have a dash "=" in your config file. Once I removed it, everything worked. On Thu, Aug 25, 2016 at 12:32 PM, Mark wrote: > Neither. Maybe that's the problem. > > > On Wed, Aug 24, 2016 at 3:18 PM, Brad Johnson < > brad.john...@mediadriver.com> wrote: > >> Hmm. I'

Re: PropertyPlaceholder with Java DSL in OSGi Blueprint

2016-08-25 Thread Mark
Neither. Maybe that's the problem. On Wed, Aug 24, 2016 at 3:18 PM, Brad Johnson wrote: > Hmm. I'll have to give it a shot and see if it works for me in Fuse. Are > you using PropertyInject for that or just getter/setter? > > Brad > > On Wed, Aug 24, 2016 at 10:33 AM, Mark wrote: > > > I ag

Re: PropertyPlaceholder with Java DSL in OSGi Blueprint

2016-08-24 Thread Brad Johnson
Hmm. I'll have to give it a shot and see if it works for me in Fuse. Are you using PropertyInject for that or just getter/setter? Brad On Wed, Aug 24, 2016 at 10:33 AM, Mark wrote: > I agree. Its working, leave it alone. Maybe someday I'll port the Java > DSL to XML. > > I did check and I'm

Re: PropertyPlaceholder with Java DSL in OSGi Blueprint

2016-08-24 Thread Mark
I agree. Its working, leave it alone. Maybe someday I'll port the Java DSL to XML. I did check and I'm using version 1.1 of the blueprint CM. Thanks, Mark On Wed, Aug 24, 2016 at 10:11 AM, Brad Johnson wrote: > If the update strategy is working you shouldn't have to reload the bundle > and

Re: PropertyPlaceholder with Java DSL in OSGi Blueprint

2016-08-24 Thread Brad Johnson
If the update strategy is working you shouldn't have to reload the bundle and shouldn't have to specify ext:location. But if specifying the location works then what the heck. But the blueprint-cm version should fix the problems for you. Brad On Tue, Aug 23, 2016 at 10:25 PM, Brad Johnson wrote

Re: PropertyPlaceholder with Java DSL in OSGi Blueprint

2016-08-23 Thread Brad Johnson
Check your blueprint cm version in the XML. The update stragegy didn't work before version 1.1. xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0";> On Tue, Aug 23, 2016 at 9:56 PM, Mark wrote: > I did just figure out that if I change the blueprint to the following > prope

Re: PropertyPlaceholder with Java DSL in OSGi Blueprint

2016-08-23 Thread Mark
I did just figure out that if I change the blueprint to the following property-placeholder declaration: file:etc/my-config.cfg http://camel.apache. org/schema/blueprint"> com.a.b.c.d The values get reloaded when I restart the bundle. My guess is that the Java DSL route(s) aren't getti

Re: PropertyPlaceholder with Java DSL in OSGi Blueprint

2016-08-23 Thread Mark
yes it is. On Tue, Aug 23, 2016 at 10:41 PM, Brad Johnson wrote: > Is the my-config in the etc directory? As my-config.cfg? > > Brad > > On Tue, Aug 23, 2016 at 9:17 PM, Mark wrote: > > > I have a PropertyPlaceholder defined in my Blueprint file and in my > > blueprint file I define the packa

Re: PropertyPlaceholder with Java DSL in OSGi Blueprint

2016-08-23 Thread Brad Johnson
Is the my-config in the etc directory? As my-config.cfg? Brad On Tue, Aug 23, 2016 at 9:17 PM, Mark wrote: > I have a PropertyPlaceholder defined in my Blueprint file and in my > blueprint file I define the package that contains my Java DSL routes. It > looks something like this: > > > upda

PropertyPlaceholder with Java DSL in OSGi Blueprint

2016-08-23 Thread Mark
I have a PropertyPlaceholder defined in my Blueprint file and in my blueprint file I define the package that contains my Java DSL routes. It looks something like this: http://camel.apache.org/schema/blueprint";> com.a.b.c.d My routes connects to an external system, so