-
1. When implementing configuration ...
beve May 11, 2011 4:15 AM (in response to kcbabo)Hmm, I think I might be guilty of some of the above when implementing components. I'll take a look through the Camel and Clojure components and create jiras for the issues I find.
-
2. When implementing configuration ...
kcbabo May 11, 2011 6:33 AM (in response to beve)We didn't have an established approach in place previously, so you're not really guilty of anything. :-) That said, if you agree with the approach in the original post then it would be nice if we could update the existing configurations up to form. So yes, please file JIRAs if you can. :-)
-
3. When implementing configuration ...
dward May 11, 2011 8:10 AM (in response to kcbabo)I really want to get this done before we end up with a mess of config models strewn all over the place:
https://issues.jboss.org/browse/SWITCHYARD-152
Here's the forum reference:
-
4. When implementing configuration ...
tfennelly May 11, 2011 8:20 AM (in response to dward)I think the idea of generated code is good in theory, but in my experience, generated models end up looking like a dogs dinner in practice e.g. XJC generated JAXB code. Couldn't we use a custom config on one of those static code analysis tools (PMD, FindBugs etc) to look for unwanted patterns in the model code?
-
5. When implementing configuration ...
tfennelly May 11, 2011 8:21 AM (in response to tfennelly)Also... I think you could sink a huge amount of time into something like this.
-
6. When implementing configuration ...
dward May 11, 2011 8:25 AM (in response to tfennelly)- We wouldn't need convention if we had this.
- There's a significant (not huge, but significant) cummulative amount of time in everyone having to write their own config models.
- This would eliminate config model errors.
-
7. When implementing configuration ...
kcbabo May 11, 2011 8:56 AM (in response to dward)You always need convention, that's what guides the implementation of the auto-generation feature. We are just now discussing what those conventions should be. I agree that auto-generation is a desirable end state, but it's not something that we should undertake at this point.