how to enable Scala/Groovy route definition in camel web console

2017-04-07 Thread Fatima Sajjad
i am using came-web-standalone jars (2.15.4 and 2.15.6) as mentioned here http://camel.apache.org/web-console.html when i try to create routes on web console there is only option to create route in XML. I can't find options for other languages like Groovy and Scala in the following pages: http://l

Re: how to enable Scala/Groovy route definition in camel web console

2017-04-07 Thread Claus Ibsen
Hi This web console is deprecated and removed in newer releases - do not use it. And it can only edit routes in XML. For groovy/scala use your IDE editor such as IDEA or Eclipse. On Fri, Apr 7, 2017 at 7:37 AM, Fatima Sajjad wrote: > i am using came-web-standalone jars (2.15.4 and 2.15.6) as me

Re: how to enable Scala/Groovy route definition in camel web console

2017-04-07 Thread Fatima Sajjad
Thank you for your reply. Can you please answer one more question? Is there any way to define or add new routes in camel context without recompiling the project, Like run time route addition? Does any of the DSLs (Spring, Scala , Groovy or Java) provide that ? -- View this message in context:

Re: how to enable Scala/Groovy route definition in camel web console

2017-04-07 Thread Claus Ibsen
You can use the apis on CamelContext to add new routes / remove routes etc. However its all standard Java and how you can add dynamic new code to a running JVM is outside the scope of Apache Camel and you need to look elsewhere how to do that. Groovy allows scripting so you can have it load some

Re: how to enable Scala/Groovy route definition in camel web console

2017-04-07 Thread Fatima Sajjad
yeah i understand this its harder to do this is java. with reference to your following statement which is infact true .is there any standard camel project /sample having done this thing already ? "Groovy allows scripting so you can have it load some .groovy source code and compile and run that in

Getting BeanIOConfigurationException when calling osgi service which has beanio implementation

2017-04-07 Thread partha006
I am using blueprint DSL and I have osgi service which has beanio implementation In my beanio mapping file , I am referring the class in the different package or the same package of my interface service class. Like mapping file: http://www.beanio.org/2012/03";>

Re: how to enable Scala/Groovy route definition in camel web console

2017-04-07 Thread Quinn Stevenson
The only was I’ve seen routes added and removed from a Camel context dynamically is using OGSi and some sort of a service factory - here’s one example ( https://blog.avisi.nl/2014/06/05/creating-camel-routes-on-the-fly-using-osgi/

Camel route not working after update from Camel 2.13.0 to 2.17.2

2017-04-07 Thread njssferreira
Hi everyone, after upgrading the Java implementation of Camel from 2.13.0 to 2.17.2 (and cxf-rt-frontend-jaxrs from 2.7.10 to 3.1.5, and spring framework from 3.2.8 to 4.3.2), the webapp that is serving as a proxy stopped working correctly. The app is supposed to intercept a webservice request,

RE: Camel Http vs Camel Http4 - Content Type Header

2017-04-07 Thread Goyal, Arpit
Hi Souciance, Any luck in solving the puzzle? Regards, Arpit. -Original Message- From: souciance [mailto:souciance.eqdam.ras...@gmail.com] Sent: Wednesday, April 5, 2017 11:06 PM To: users@camel.apache.org Subject: RE: Camel Http vs Camel Http4 - Content Type Header Hi, I can take a lo