Re: Property placeholder causes an error

2020-01-28 Thread Jean-Baptiste Onofré
Hi Gerald, You should better use blueprint-cm for the placeholder or directly Camel property placeholder (which supports blueprint behind the hood). See https://camel.apache.org/manual/latest/using-propertyplaceholder.html#UsingPropertyPlaceholder-UsingBlueprintPropertyPlaceholderwithCamelRoutes

Re: java.lang.NoClassDefFoundError: groovy/lang/Script

2020-01-28 Thread Jean-Baptiste Onofré
Hi Alex, It's what I thought, you are welcome ;) Not sure if we consider this as an issue in camel-groovy or in usage. Can you reopen CAMEL-4171 and assign to me ? I will improve the current state. Thanks, Regards JB On 28/01/2020 19:51, Alex Soto wrote: > Adding: > > DynamicImport-Pack

Re: Property placeholder causes an error

2020-01-28 Thread Claus Ibsen
Hi You should NOT use spring stuff with blueprint, eg do not use BridgePropertyPlaceholderConfigurer, its only for camel-spring. On Tue, Jan 28, 2020 at 8:47 PM Gerald Kallas wrote: > > Dear community, > > I'm using Camel 3.0.0 and have following snippet .. > > http://www.osgi.org/xmlns/bluepri

Property placeholder causes an error

2020-01-28 Thread Gerald Kallas
Dear community, I'm using Camel 3.0.0 and have following snippet .. http://www.osgi.org/xmlns/blueprint/v1.0.0";> ... While deploying I'm getting the following error org.osgi.service.blueprint.container.ComponentDefinitionException: Name bridgePropertyPlaceholder is already instanciated as

Re: java.lang.NoClassDefFoundError: groovy/lang/Script

2020-01-28 Thread Alex Soto
Maybe ticket https://issues.apache.org/jira/browse/CAMEL-4171 should be reopened, or a new one created, not sure. Will leave it to somebody that knows better. Best regards, Alex soto > On Jan 28, 2020, at 1:51 PM, Alex Soto wrote: > > Ad

Re: java.lang.NoClassDefFoundError: groovy/lang/Script

2020-01-28 Thread Alex Soto
Adding: DynamicImport-Package: groovy.*, org.codehaus.groovy.* To my bundle seems to work. So I suppose this should be added somewhere in a Camel bundle? Best regards, Alex soto > On Jan 28, 2020, at 1:29 PM, Alex Soto wrote: > > This appears to be a regression, as I remember seei

Re: java.lang.NoClassDefFoundError: groovy/lang/Script

2020-01-28 Thread Andrea Cosentino
Camel-script has been removed Il mar 28 gen 2020, 19:29 Alex Soto ha scritto: > This appears to be a regression, as I remember seeing this problem in the > past: > > https://issues.apache.org/jira/browse/CAMEL-4171 < > https://issues.apache.org/jira/browse/CAMEL-4171> > > I will try your suggest

Re: java.lang.NoClassDefFoundError: groovy/lang/Script

2020-01-28 Thread Alex Soto
This appears to be a regression, as I remember seeing this problem in the past: https://issues.apache.org/jira/browse/CAMEL-4171 I will try your suggestion Best regards, Alex soto > On Jan 28, 2020, at 1:24 PM, Jean-Baptiste Onofré wrote:

Re: java.lang.NoClassDefFoundError: groovy/lang/Script

2020-01-28 Thread Jean-Baptiste Onofré
Hi Alex, It sounds like a classloader issue (two classloaders, the one of camel-groovy bundle and the one of your bundle). I guess the camel-groovy is actually missing the groovy import. Can you try to enable dynamic import for camel-groovy and your bundle to see if it helps ? If not, can you pl

java.lang.NoClassDefFoundError: groovy/lang/Script

2020-01-28 Thread Alex Soto
Hello, With Camel 3.0.1, I am experiencing this error: java.lang.RuntimeException: java.lang.NoClassDefFoundError: groovy/lang/Script at org.codehaus.groovy.control.CompilationUnit.convertUncaughtExceptionToCompilationError(CompilationUnit.java:1107) at org.codehaus.groovy.contr

HTTP session handling sample on Context level

2020-01-28 Thread Tom Coudyzer
Hi, I'm in need of some session handling in Camel. I found this info https://camel.apache.org/manual/latest/http-session-handling.html I'm looking to implement session handling on context level but it's not clear how I can do this in the Java DSL What I have is a login url which would give me