This content has been marked as final.
Show 2 replies
-
1. Re: Java DSL vs. Spring DSL
davsclaus Jan 13, 2012 5:13 AM (in response to labo32_delaboe)Yeah the Java DSL have stretched the boundaries how far you can do a DSL in regular Java language.
So when you use certain EIP patterns inside a for example Content Based Router, you would need to use .end() or .endChoice() to tell the DSL when the embedded EIP is "done". In this example the .end() should be added where you would have the </split> in the XML route.
There is a variation of .end() which is .endChoice() which should be used, so you get the scope of the Content Based Router.
-
2. Re: Java DSL vs. Spring DSL
labo32_delaboe Jan 16, 2012 3:21 AM (in response to davsclaus)Thanks ! That's it.....
labo