You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by mgardiner <mi...@comcast.net> on 2011/09/14 23:41:58 UTC

How far behind is the Scala DSL than Java DSL?

We are investigating moving to Scala and I see that the Scala DSL is still a
work in progess as documented at http://camel.apache.org/scala-dsl.html. 
How far behind is the Scala DSL in features and EIP support?


--
View this message in context: http://camel.465427.n5.nabble.com/How-far-behind-is-the-Scala-DSL-than-Java-DSL-tp4804539p4804539.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How far behind is the Scala DSL than Java DSL?

Posted by mgardiner <mi...@comcast.net>.
I don't have any Scala experience myself at this point. The ActiveMQ Apollo
project looks very promising by adopting Scala. May be something to consider
in 3.0 as you indicated.  It would probably be worth some discussion with
the Apollo contributors and get some of their thoughts.

Thanks Christian.

-Mike-

--
View this message in context: http://camel.465427.n5.nabble.com/How-far-behind-is-the-Scala-DSL-than-Java-DSL-tp4804539p4807150.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How far behind is the Scala DSL than Java DSL?

Posted by "Preben.Asmussen" <pr...@dr.dk>.
Hi

One thing I would like to know about is the new paradigme of actors - a la
Akka.
How and where would it make sense to use something like Akka. 

I have seen Akka is using Camel to expose endpoints, but wouldn't actors fit
into Camel as component's somehow ?

Preben

--
View this message in context: http://camel.465427.n5.nabble.com/How-far-behind-is-the-Scala-DSL-than-Java-DSL-tp4804539p4807176.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How far behind is the Scala DSL than Java DSL?

Posted by Christian Schneider <ch...@die-schneider.net>.
Not really as that would be more or less a complete rewrite.  The 
question is also how much this would really improve in real world scenarios.
Currently we are preparing for beginning work on the 3.0 release. So 
this is a good time to think about improvements in the core too.
If you have any good ideas we would be interested to know. I myself do 
not know much about Scala but I am quite sure we can adapt some of the 
concepts and perhaps
also achieve some improvements in the java version.

Christian


Am 15.09.2011 16:33, schrieb mgardiner:
> That makes sense.  I would imagine that in order to see any performance and
> scalability improvements camel-core would need to be re-factored in Scala to
> take advantage of all the features and benefits Scala offers.  Have there
> been any thoughts around this effort?
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/How-far-behind-is-the-Scala-DSL-than-Java-DSL-tp4804539p4807052.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>


-- 
--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
Talend Application Integration Division http://www.talend.com


Re: How far behind is the Scala DSL than Java DSL?

Posted by mgardiner <mi...@comcast.net>.
That makes sense.  I would imagine that in order to see any performance and
scalability improvements camel-core would need to be re-factored in Scala to
take advantage of all the features and benefits Scala offers.  Have there
been any thoughts around this effort?

--
View this message in context: http://camel.465427.n5.nabble.com/How-far-behind-is-the-Scala-DSL-than-Java-DSL-tp4804539p4807052.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How far behind is the Scala DSL than Java DSL?

Posted by Christian Schneider <ch...@die-schneider.net>.
Hi Mike,

I wonder if the scala DSL would have any impact on performance as it is 
just a DSL and should create the same processors for runtime as the 
other DSLs.
As far as I understand this it is just a different way of describing the 
routes.

Christian


Am 15.09.2011 15:39, schrieb mgardiner:
> Hi Claus,
>
> Thanks for the update and the contribution link.
>
> I am starting to seriously look at moving to Scala DSL.
>
> Have you seen significant performance / scalability increases using Scala
> DSL?
> Does Scala DSL work in an OSGi container?
>
> I've been watching the ActiveMQ Apollo project and they seem to have really
> good things to say about Scala.
>
> Perhaps it's time to migrate to Scala.
>
> -Mike-
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/How-far-behind-is-the-Scala-DSL-than-Java-DSL-tp4804539p4806864.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>


-- 
--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
Talend Application Integration Division http://www.talend.com


Re: How far behind is the Scala DSL than Java DSL?

Posted by mgardiner <mi...@comcast.net>.
Hi Claus, 

Thanks for the update and the contribution link.

I am starting to seriously look at moving to Scala DSL.

Have you seen significant performance / scalability increases using Scala
DSL?
Does Scala DSL work in an OSGi container?

I've been watching the ActiveMQ Apollo project and they seem to have really
good things to say about Scala.

Perhaps it's time to migrate to Scala.

-Mike-



--
View this message in context: http://camel.465427.n5.nabble.com/How-far-behind-is-the-Scala-DSL-than-Java-DSL-tp4804539p4806864.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How far behind is the Scala DSL than Java DSL?

Posted by Claus Ibsen <cl...@gmail.com>.
On Wed, Sep 14, 2011 at 11:41 PM, mgardiner <mi...@comcast.net> wrote:
> We are investigating moving to Scala and I see that the Scala DSL is still a
> work in progess as documented at http://camel.apache.org/scala-dsl.html.
> How far behind is the Scala DSL in features and EIP support?
>

Hi

I have removed that note about work in progress, as the Scala DSL is
up to date with the Java DSL.
As far as I know we have all the EIPs in the Scala DSL.

We would love more usage and feedback on the Scala DSL as that really
helps to keep us on our toes and
improve the DSL accordingly to community needs.

Also feel free to dive into the source and help with patches and
whatnot. We love contributions
http://camel.apache.org/contributing.html



>
> --
> View this message in context: http://camel.465427.n5.nabble.com/How-far-behind-is-the-Scala-DSL-than-Java-DSL-tp4804539p4804539.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/