Demo One from my UK Spring User Group talk: The simplicity of Spring Integration
February 22nd, 2009
I was asked to make the code available for the demos that were part of my talk for the UK Spring User Group at Skills Matter. The video of which is here. Today I am posting the code for the first demo which demonstrates just how easy it is to get up and running with Spring Integration. The demo shows a simple application which takes requests from JMS, routes according to business logic and calls through to a Java service to process the message. The projects used in this demo can be downloaded here febSugDemo1.zip. The zip contains three Eclipse projects along with Maven poms so Eclipse is not a must.
- Application Generator: This project is there for testing and when run will create random LoanApplication instances and send them for processing over JMS. This can be started using LoanApplicationGenerator in src/main/java
- Demo 1 Quotes: Contains the Spring Integration configuration and simple service implementations used to process applications. Can be started from LoanQuoteStarter under src/test/java
- Loan Quote Domain: The LoanApplication and Quote types used by both previous proejcts
The example is that of a simple message flow which first receives a LoanApplication from a JMS queue. The loan application is then routed based on simple business rules to either a quote generating service or to a rejection queue for processing later. I will start off with a detailed walk through of the example application so if you just want to get the code up and running you can skip through to the getting it running section towards the bottom.
Loan application message flow
Filed under: Code Sample, Spring Integration | 8 Comments »
Welcome to my new online home
February 21st, 2009
Welcome to my new online home. I am currently in the process of establishing a new company with a number of like minded individuals but until we have the new site up and running I have decided to resurrect www.jonaspartner.com. The new company will be offering consultancy and development services primarily around Open Source whilst at the same time expending a lot of our time contributing to Open Source projects which we think are exciting. We will be looking to pioneer some new ways of collaborating with clients to drastically reduce the risks, both technical and financial, associated with many IT projects. We see this as the key to persuading people that technology projects can be a good investment in the current times. More on that soon.
Over the next few months I will also be putting out a number of blogs on topics I have been meaning to write something on for some time. Most of these will probably relate to Spring Integration since that is definitely what I am most excited about right now although the ability of Grails to make web development with Java exciting and fast paced is also up there for me.
Certainly the first few blogs will be follow-ups to the well received London Spring User Group talk on Spring Integration I delivered on the 12th of February at Skills Matter. The video of that talk can be found on the Skills Matter website here. Thanks to Skills Matter for hosting yet another great community event and to Cake Solutions for providing the organisation and the generous post-talk beer for everyone at the Crown. In the next few days I will be putting up the code from the samples in that talk along with a walk through of the unsuccessful Spring Integration with OSGi demo running on the SpringSource dm Server.
Filed under: Uncategorized | No Comments »
