You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Sri <sr...@googlemail.com> on 2012/07/06 17:31:08 UTC
Choosing DSL Java or Spring
Hi All,
Which id DSL is good for project. Java DSL or Spring. I have used java
earlier how ever want to try Spring DSL in the current project. is there any
disadvantages using Spring DSL.
Regards
Sri
--
View this message in context: http://camel.465427.n5.nabble.com/Choosing-DSL-Java-or-Spring-tp5715633.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Choosing DSL Java or Spring
Posted by James Carman <ja...@carmanconsulting.com>.
I would second that. I like to provide superclasses for all of my
routebuilders. This way, I can "bake in" logic that all my routes get
for free. This doesn't work with Spring DSL.
On Fri, Jul 6, 2012 at 1:41 PM, thomas barker <th...@gmail.com> wrote:
> I much prefer java dsl for maintainability. Spring DSL is fine for small,
> simple routes that will never grow. As a response to the previous, I am
> not sure I would use Camel if maintenance was done by non-devs.
>
> On Fri, Jul 6, 2012 at 11:35 AM, Sam (Stephen Samuel)
> <sa...@gmail.com>wrote:
>
>> IMO
>>
>> Pro Spring:
>>
>> Can edit it "outside" the build, and by non-devs
>>
>> Pro DSL:
>>
>> Code completion / type checking
>> Easier refactoring.
>>
>> BTW We just switched from spring to dsl.
>>
>> On Fri, Jul 6, 2012 at 4:31 PM, Sri <sr...@googlemail.com> wrote:
>>
>> > Hi All,
>> >
>> > Which id DSL is good for project. Java DSL or Spring. I have used java
>> > earlier how ever want to try Spring DSL in the current project. is there
>> > any
>> > disadvantages using Spring DSL.
>> >
>> > Regards
>> > Sri
>> >
>> > --
>> > View this message in context:
>> >
>> http://camel.465427.n5.nabble.com/Choosing-DSL-Java-or-Spring-tp5715633.html
>> > Sent from the Camel - Users mailing list archive at Nabble.com.
>> >
>>
>>
>>
>> --
>> -Sam
>>
Re: Choosing DSL Java or Spring
Posted by thomas barker <th...@gmail.com>.
I much prefer java dsl for maintainability. Spring DSL is fine for small,
simple routes that will never grow. As a response to the previous, I am
not sure I would use Camel if maintenance was done by non-devs.
On Fri, Jul 6, 2012 at 11:35 AM, Sam (Stephen Samuel)
<sa...@gmail.com>wrote:
> IMO
>
> Pro Spring:
>
> Can edit it "outside" the build, and by non-devs
>
> Pro DSL:
>
> Code completion / type checking
> Easier refactoring.
>
> BTW We just switched from spring to dsl.
>
> On Fri, Jul 6, 2012 at 4:31 PM, Sri <sr...@googlemail.com> wrote:
>
> > Hi All,
> >
> > Which id DSL is good for project. Java DSL or Spring. I have used java
> > earlier how ever want to try Spring DSL in the current project. is there
> > any
> > disadvantages using Spring DSL.
> >
> > Regards
> > Sri
> >
> > --
> > View this message in context:
> >
> http://camel.465427.n5.nabble.com/Choosing-DSL-Java-or-Spring-tp5715633.html
> > Sent from the Camel - Users mailing list archive at Nabble.com.
> >
>
>
>
> --
> -Sam
>
Re: Choosing DSL Java or Spring
Posted by "Sam (Stephen Samuel)" <sa...@gmail.com>.
IMO
Pro Spring:
Can edit it "outside" the build, and by non-devs
Pro DSL:
Code completion / type checking
Easier refactoring.
BTW We just switched from spring to dsl.
On Fri, Jul 6, 2012 at 4:31 PM, Sri <sr...@googlemail.com> wrote:
> Hi All,
>
> Which id DSL is good for project. Java DSL or Spring. I have used java
> earlier how ever want to try Spring DSL in the current project. is there
> any
> disadvantages using Spring DSL.
>
> Regards
> Sri
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Choosing-DSL-Java-or-Spring-tp5715633.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
--
-Sam