Ok. I had my JMS platform, now it was just a matter of getting the data into and out of those queues. Enter the JMS Plugin. This plugin rocks so hard! Define a service that has an expose = ['jms'] and life will be good for you. To listen on the queue, just define an onMessage closure. All the messages I pass around are normal java.util.Map objects, which makes it easy to ship a bunch of payload at once. Once that's done, anything that ends up on the thumbnailResponse queue will get automatically passed to my onMessage routine. Awesome! But what about putting the thumbnail request on the queue? It's a snack
- berkay
There are some Groovy/Grails guys in the area, I'm sure something could be put up. Also, early October, there will be the Groovy / Grails eXchange conference in San Jose.
- Guillaume Laforge
I loved the article because it's very informative, but isn't the general idea in scala to avoid nulls propagating within a program by using Option? I guess this approach could be useful for handling uncertain inputs from java libaries.
- Robin Barooah