I don't usually mention Scala, and I don't get a chance to work in it anymore, but I thought I would mention that Spring Integration has released the first milestone of the Scala DSL, which makes using SI very easy and readable inside a Scala program.
Monday, March 19, 2012
Thursday, March 15, 2012
TIP: Collections and "Autowire by Type"
I recently found a coworker who hadn't seen the bulk injection feature in Spring. We had a need to dispatch to one of many beans in our code based on some logic. I pointed out that with a little bit of refactoring, the selection logic can live along side the transformer that needs to be called, and the service won't need to change as we add more transformers. Here's how.
Subscribe to:
Posts (Atom)