-
Sep 14th, 2012, 01:09 PM
#1
ESB Demo Code and Design doc for NextBus Transit Service - using Spring Integration
I thought I'd share this here.. Some time back, I built a Java adapter against the XML Web Service for NextBus.
The natural follow on activity was to build an ESB against this live data feed. I used Spring Integration and ActiveMQ to very quickly build a pumping adapter and configurable consumer.
https://sourceforge.net/projects/nex.../nextbus-docs/
The design document covers the requirements analysis and how I was able to cleanly address specialized requirements with very small amounts of custom code. 95% of the project was done with zero custom coding by using existing Spring Integration components and configuring a message flow XML. The code also demonstrates the use of Maven Shade plugin to build a packaged Executable JAR will all nested dependencies baked in (Spring, ActiveMQ client, JDBC driver, etc). The Executable JAR + External Properties Config File approach is immensely easier to work with - it's surprising to see so few people exploiting this approach for packaging.
Any feedback is welcome, particularly design approaches I may have missed that would lead to NO custom Java code! 
-- Jim Doyle (Medford, MA)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules