You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by Claus Ibsen <cl...@gmail.com> on 2017/02/22 08:51:23 UTC

[DISCUSS] - Deprecate camel-scala and camel-groovy DSL ?

Hi

99% of Camel users are using Java / Java8 / XML DSLs. And they are all
up to date and aligned.

We have camel-groovy with a little Camel DSL that adds a bit of
integration with groovy closures etc - but they are not really much in
use / maintained etc.

For camel-scala the DSL is overly complex to maintain and it was
created many years ago when Scala became hot, and some developers want
to use every nifty feature in Scala as an experiment - and created the
initial camel-scala module.

Scala or Groovy users can just as well use the standard DSL from Java
/ Java8 as well as these languages are inter-operable with regular
Java.


Should we deprecate these and drop them from Camel 3.0 onwards?

If we do so and if there are some users whom want to maintain them, we
can move the code to camel-extra or some place on github etc.


Any comments?



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Re: [DISCUSS] - Deprecate camel-scala and camel-groovy DSL ?

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

I logged a ticket
https://issues.apache.org/jira/browse/CAMEL-10909

On Wed, Feb 22, 2017 at 9:51 AM, Claus Ibsen <cl...@gmail.com> wrote:
> Hi
>
> 99% of Camel users are using Java / Java8 / XML DSLs. And they are all
> up to date and aligned.
>
> We have camel-groovy with a little Camel DSL that adds a bit of
> integration with groovy closures etc - but they are not really much in
> use / maintained etc.
>
> For camel-scala the DSL is overly complex to maintain and it was
> created many years ago when Scala became hot, and some developers want
> to use every nifty feature in Scala as an experiment - and created the
> initial camel-scala module.
>
> Scala or Groovy users can just as well use the standard DSL from Java
> / Java8 as well as these languages are inter-operable with regular
> Java.
>
>
> Should we deprecate these and drop them from Camel 3.0 onwards?
>
> If we do so and if there are some users whom want to maintain them, we
> can move the code to camel-extra or some place on github etc.
>
>
> Any comments?
>
>
>
> --
> Claus Ibsen
> -----------------
> http://davsclaus.com @davsclaus
> Camel in Action 2: https://www.manning.com/ibsen2



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Re: [DISCUSS] - Deprecate camel-scala and camel-groovy DSL ?

Posted by Grzegorz Grzybek <gr...@gmail.com>.
+1 for removing camel-scala DSL, +0.95 for removing camel-groovy DSL as well.

regards
Grzegorz Grzybek

2017-02-22 9:53 GMT+01:00 Andrea Cosentino <an...@yahoo.com.invalid>:
> +1 from my side.
>  --
> Andrea Cosentino
> ----------------------------------
> Apache Camel PMC Member
> Apache Karaf Committer
> Apache Servicemix Committer
> Email: ancosen1985@yahoo.com
> Twitter: @oscerd2
> Github: oscerd
>
>
>
> On Wednesday, February 22, 2017 9:51 AM, Claus Ibsen <cl...@gmail.com> wrote:
> Hi
>
> 99% of Camel users are using Java / Java8 / XML DSLs. And they are all
> up to date and aligned.
>
> We have camel-groovy with a little Camel DSL that adds a bit of
> integration with groovy closures etc - but they are not really much in
> use / maintained etc.
>
> For camel-scala the DSL is overly complex to maintain and it was
> created many years ago when Scala became hot, and some developers want
> to use every nifty feature in Scala as an experiment - and created the
> initial camel-scala module.
>
> Scala or Groovy users can just as well use the standard DSL from Java
> / Java8 as well as these languages are inter-operable with regular
> Java.
>
>
> Should we deprecate these and drop them from Camel 3.0 onwards?
>
> If we do so and if there are some users whom want to maintain them, we
> can move the code to camel-extra or some place on github etc.
>
>
> Any comments?
>
>
>
> --
> Claus Ibsen
> -----------------
> http://davsclaus.com @davsclaus
> Camel in Action 2: https://www.manning.com/ibsen2

Re: [DISCUSS] - Deprecate camel-scala and camel-groovy DSL ?

Posted by Andrea Cosentino <an...@yahoo.com.INVALID>.
+1 from my side.
 --
Andrea Cosentino 
----------------------------------
Apache Camel PMC Member
Apache Karaf Committer
Apache Servicemix Committer
Email: ancosen1985@yahoo.com
Twitter: @oscerd2
Github: oscerd



On Wednesday, February 22, 2017 9:51 AM, Claus Ibsen <cl...@gmail.com> wrote:
Hi

99% of Camel users are using Java / Java8 / XML DSLs. And they are all
up to date and aligned.

We have camel-groovy with a little Camel DSL that adds a bit of
integration with groovy closures etc - but they are not really much in
use / maintained etc.

For camel-scala the DSL is overly complex to maintain and it was
created many years ago when Scala became hot, and some developers want
to use every nifty feature in Scala as an experiment - and created the
initial camel-scala module.

Scala or Groovy users can just as well use the standard DSL from Java
/ Java8 as well as these languages are inter-operable with regular
Java.


Should we deprecate these and drop them from Camel 3.0 onwards?

If we do so and if there are some users whom want to maintain them, we
can move the code to camel-extra or some place on github etc.


Any comments?



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Re: [DISCUSS] - Deprecate camel-scala and camel-groovy DSL ?

Posted by sohrab <so...@gmail.com>.
This is a bit of a coincidence but recently I was also thinking about how
little Groovy DSL actually gives us over Java DSL, since I moved my team
from Blueprint DSL to the Groovy one. I primarily chose Groovy because it
makes payload transformation so much easier and the language itself has a
gentler learning curve for Java developers. (I've set things up so both
routes and transformation are in Groovy and compile down to bytecode with as
much static compiling as we can.)

After seeing the guys who are so used to XML DSLs struggle with Java DSL
some, it occurred to me that this can be a lot more developer-friendly for
Groovy users since the language offers a lot more when it comes to DSLs.

I also happy with deprecation of current camel-groovy for not contributing
much. However I earnestly feel we could do this much better. So last night I
had a crack at a Groovier DSL for Camel:
http://camel.465427.n5.nabble.com/Camel-Groovier-DSL-td5794343.html


Cheers
Sohrab



--
View this message in context: http://camel.465427.n5.nabble.com/DISCUSS-Deprecate-camel-scala-and-camel-groovy-DSL-tp5794234p5794368.html
Sent from the Camel Development mailing list archive at Nabble.com.

Re: [DISCUSS] - Deprecate camel-scala and camel-groovy DSL ?

Posted by Onder SEZGIN <on...@gmail.com>.
imho, +1 to move to camel-extra


On Thu, 23 Feb 2017 at 12:31, Edoardo Causarano <ed...@gmail.com>
wrote:

> +1 move to extra. The Scala DSL is overly complex and full of unexpected
> traps (IMHO) but it would be a shame to remove it completely
>
> On Thu, Feb 23, 2017 at 10:27 AM, Luca Burgazzoli <lb...@gmail.com>
> wrote:
>
> > +1 to move them on camel-extra
> >
> > ---
> > Luca Burgazzoli
> >
> >
> > On Thu, Feb 23, 2017 at 9:12 AM, Christian Müller
> > <ch...@gmail.com> wrote:
> > > +1
> > >
> > > Best,
> > > Christian
> > >
> > > Am 22.02.2017 9:51 vorm. schrieb "Claus Ibsen" <claus.ibsen@gmail.com
> >:
> > >
> > >> Hi
> > >>
> > >> 99% of Camel users are using Java / Java8 / XML DSLs. And they are all
> > >> up to date and aligned.
> > >>
> > >> We have camel-groovy with a little Camel DSL that adds a bit of
> > >> integration with groovy closures etc - but they are not really much in
> > >> use / maintained etc.
> > >>
> > >> For camel-scala the DSL is overly complex to maintain and it was
> > >> created many years ago when Scala became hot, and some developers want
> > >> to use every nifty feature in Scala as an experiment - and created the
> > >> initial camel-scala module.
> > >>
> > >> Scala or Groovy users can just as well use the standard DSL from Java
> > >> / Java8 as well as these languages are inter-operable with regular
> > >> Java.
> > >>
> > >>
> > >> Should we deprecate these and drop them from Camel 3.0 onwards?
> > >>
> > >> If we do so and if there are some users whom want to maintain them, we
> > >> can move the code to camel-extra or some place on github etc.
> > >>
> > >>
> > >> Any comments?
> > >>
> > >>
> > >>
> > >> --
> > >> Claus Ibsen
> > >> -----------------
> > >> http://davsclaus.com @davsclaus
> > >> Camel in Action 2: https://www.manning.com/ibsen2
> > >>
> >
>
>
>
> --
> A Motto
> Smile a while, and while you smile
>    another smiles
> And soon there's miles and miles
>    of smiles
> And life's worth while because
>    you smile
>
-- 
Sent from my iPhone

Re: [DISCUSS] - Deprecate camel-scala and camel-groovy DSL ?

Posted by Edoardo Causarano <ed...@gmail.com>.
+1 move to extra. The Scala DSL is overly complex and full of unexpected
traps (IMHO) but it would be a shame to remove it completely

On Thu, Feb 23, 2017 at 10:27 AM, Luca Burgazzoli <lb...@gmail.com>
wrote:

> +1 to move them on camel-extra
>
> ---
> Luca Burgazzoli
>
>
> On Thu, Feb 23, 2017 at 9:12 AM, Christian Müller
> <ch...@gmail.com> wrote:
> > +1
> >
> > Best,
> > Christian
> >
> > Am 22.02.2017 9:51 vorm. schrieb "Claus Ibsen" <cl...@gmail.com>:
> >
> >> Hi
> >>
> >> 99% of Camel users are using Java / Java8 / XML DSLs. And they are all
> >> up to date and aligned.
> >>
> >> We have camel-groovy with a little Camel DSL that adds a bit of
> >> integration with groovy closures etc - but they are not really much in
> >> use / maintained etc.
> >>
> >> For camel-scala the DSL is overly complex to maintain and it was
> >> created many years ago when Scala became hot, and some developers want
> >> to use every nifty feature in Scala as an experiment - and created the
> >> initial camel-scala module.
> >>
> >> Scala or Groovy users can just as well use the standard DSL from Java
> >> / Java8 as well as these languages are inter-operable with regular
> >> Java.
> >>
> >>
> >> Should we deprecate these and drop them from Camel 3.0 onwards?
> >>
> >> If we do so and if there are some users whom want to maintain them, we
> >> can move the code to camel-extra or some place on github etc.
> >>
> >>
> >> Any comments?
> >>
> >>
> >>
> >> --
> >> Claus Ibsen
> >> -----------------
> >> http://davsclaus.com @davsclaus
> >> Camel in Action 2: https://www.manning.com/ibsen2
> >>
>



-- 
A Motto
Smile a while, and while you smile
   another smiles
And soon there's miles and miles
   of smiles
And life's worth while because
   you smile

Re: [DISCUSS] - Deprecate camel-scala and camel-groovy DSL ?

Posted by Luca Burgazzoli <lb...@gmail.com>.
+1 to move them on camel-extra

---
Luca Burgazzoli


On Thu, Feb 23, 2017 at 9:12 AM, Christian Müller
<ch...@gmail.com> wrote:
> +1
>
> Best,
> Christian
>
> Am 22.02.2017 9:51 vorm. schrieb "Claus Ibsen" <cl...@gmail.com>:
>
>> Hi
>>
>> 99% of Camel users are using Java / Java8 / XML DSLs. And they are all
>> up to date and aligned.
>>
>> We have camel-groovy with a little Camel DSL that adds a bit of
>> integration with groovy closures etc - but they are not really much in
>> use / maintained etc.
>>
>> For camel-scala the DSL is overly complex to maintain and it was
>> created many years ago when Scala became hot, and some developers want
>> to use every nifty feature in Scala as an experiment - and created the
>> initial camel-scala module.
>>
>> Scala or Groovy users can just as well use the standard DSL from Java
>> / Java8 as well as these languages are inter-operable with regular
>> Java.
>>
>>
>> Should we deprecate these and drop them from Camel 3.0 onwards?
>>
>> If we do so and if there are some users whom want to maintain them, we
>> can move the code to camel-extra or some place on github etc.
>>
>>
>> Any comments?
>>
>>
>>
>> --
>> Claus Ibsen
>> -----------------
>> http://davsclaus.com @davsclaus
>> Camel in Action 2: https://www.manning.com/ibsen2
>>

Re: [DISCUSS] - Deprecate camel-scala and camel-groovy DSL ?

Posted by Christian Müller <ch...@gmail.com>.
+1

Best,
Christian

Am 22.02.2017 9:51 vorm. schrieb "Claus Ibsen" <cl...@gmail.com>:

> Hi
>
> 99% of Camel users are using Java / Java8 / XML DSLs. And they are all
> up to date and aligned.
>
> We have camel-groovy with a little Camel DSL that adds a bit of
> integration with groovy closures etc - but they are not really much in
> use / maintained etc.
>
> For camel-scala the DSL is overly complex to maintain and it was
> created many years ago when Scala became hot, and some developers want
> to use every nifty feature in Scala as an experiment - and created the
> initial camel-scala module.
>
> Scala or Groovy users can just as well use the standard DSL from Java
> / Java8 as well as these languages are inter-operable with regular
> Java.
>
>
> Should we deprecate these and drop them from Camel 3.0 onwards?
>
> If we do so and if there are some users whom want to maintain them, we
> can move the code to camel-extra or some place on github etc.
>
>
> Any comments?
>
>
>
> --
> Claus Ibsen
> -----------------
> http://davsclaus.com @davsclaus
> Camel in Action 2: https://www.manning.com/ibsen2
>

Re: [DISCUSS] - Deprecate camel-scala and camel-groovy DSL ?

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
+0

I would not drop for the codebase (or maybe eventually move to 
camel-extra): if some people are interested to maintain and contribution 
of those DSLs, they should be able to do so.

Regards
JB

On 02/22/2017 09:51 AM, Claus Ibsen wrote:
> Hi
>
> 99% of Camel users are using Java / Java8 / XML DSLs. And they are all
> up to date and aligned.
>
> We have camel-groovy with a little Camel DSL that adds a bit of
> integration with groovy closures etc - but they are not really much in
> use / maintained etc.
>
> For camel-scala the DSL is overly complex to maintain and it was
> created many years ago when Scala became hot, and some developers want
> to use every nifty feature in Scala as an experiment - and created the
> initial camel-scala module.
>
> Scala or Groovy users can just as well use the standard DSL from Java
> / Java8 as well as these languages are inter-operable with regular
> Java.
>
>
> Should we deprecate these and drop them from Camel 3.0 onwards?
>
> If we do so and if there are some users whom want to maintain them, we
> can move the code to camel-extra or some place on github etc.
>
>
> Any comments?
>
>
>

-- 
Jean-Baptiste Onofr�
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com