camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henryk Konsek <hekon...@gmail.com>
Subject Re: Contributing Scomp Component (was Contributing Stomp Component)
Date Thu, 07 Feb 2013 20:20:53 GMT
> Because Camel and Camel-Extra are Java based projects, I don't think we
> should integrate this component (even if it's a cool component for Scala
> guys).

I'm afraid I must disagree :) .

We support Scala as the 1st class citizen DSL language for Camel and I
don't see any reason why we should exclude components using Scala
libraries.

Also from the end-user point of view Scala is just an another library.
I could create the following route in Java DSL and I would not be even
aware that I'm using Scala under the hood. For example:
from("jms:queue").to("someScalaComponent:foo")

The core of the Camel and the Java-related components are written in
Java, but in my humble opinion there is no reason we shouldn't provide
components written in Scala, as long as the subject of the component
is also written in Scala.

Maybe we could settle some "official policy" regarding Scala-related
code for Camel?

--
Henryk Konsek
http://henryk-konsek.blogspot.com

Mime
View raw message