Permalink
Browse files

apache license

  • Loading branch information...
1 parent 5cbc026 commit 5738a2003b230e58299b9770ae92348a42e9305e @markfisher markfisher committed Sep 12, 2012
Showing with 4,803 additions and 32 deletions.
  1. +201 −0 LICENSE
  2. +6 −0 NOTICE
  3. +3 −1 README.md
  4. +15 −0 siia-examples-parent/batch/pom.xml
  5. +16 −0 siia-examples-parent/batch/src/main/java/com/manning/siia/batch/Account.java
  6. +16 −0 siia-examples-parent/batch/src/main/java/com/manning/siia/batch/ExecutionsToMailTransformer.java
  7. +16 −0 siia-examples-parent/batch/src/main/java/com/manning/siia/batch/FileMessageToJobRequest.java
  8. +16 −0 siia-examples-parent/batch/src/main/java/com/manning/siia/batch/JobExecutionsRouter.java
  9. +16 −0 siia-examples-parent/batch/src/main/java/com/manning/siia/batch/JobRestart.java
  10. +16 −0 siia-examples-parent/batch/src/main/java/com/manning/siia/batch/Notification.java
  11. +16 −0 siia-examples-parent/batch/src/main/java/com/manning/siia/batch/Payment.java
  12. +16 −0 siia-examples-parent/batch/src/main/java/com/manning/siia/batch/PaymentChunkListener.java
  13. +16 −0 siia-examples-parent/batch/src/main/java/com/manning/siia/batch/PaymentFieldSetMapper.java
  14. +16 −0 siia-examples-parent/batch/src/main/java/com/manning/siia/batch/PaymentWriter.java
  15. +16 −0 siia-examples-parent/batch/src/main/java/com/manning/siia/batch/StubJavaMailSender.java
  16. +16 −0 siia-examples-parent/batch/src/test/java/com/manning/siia/batch/BatchTest.java
  17. +15 −0 siia-examples-parent/batch/src/test/resources/batch-config.xml
  18. +16 −0 siia-examples-parent/batch/src/test/resources/dbinit.sql
  19. +15 −0 siia-examples-parent/batch/src/test/resources/si-config.xml
  20. +15 −0 siia-examples-parent/business/pom.xml
  21. +16 −0 siia-examples-parent/business/src/main/java/siia/business/Airport.java
  22. +16 −0 siia-examples-parent/business/src/main/java/siia/business/Crew.java
  23. +16 −0 siia-examples-parent/business/src/main/java/siia/business/EmailHeaderEnricher.java
  24. +16 −0 siia-examples-parent/business/src/main/java/siia/business/Equipment.java
  25. +16 −0 siia-examples-parent/business/src/main/java/siia/business/Flight.java
  26. +16 −0 siia-examples-parent/business/src/main/java/siia/business/FlightDelayEmailGenerator.java
  27. +16 −0 siia-examples-parent/business/src/main/java/siia/business/FlightDelayEvent.java
  28. +16 −0 siia-examples-parent/business/src/main/java/siia/business/FlightEventTransformer.java
  29. +16 −0 siia-examples-parent/business/src/main/java/siia/business/FlightScheduler.java
  30. +16 −0 siia-examples-parent/business/src/main/java/siia/business/FlightStatus.java
  31. +16 −0 siia-examples-parent/business/src/main/java/siia/business/FlightStatusEvent.java
  32. +16 −0 siia-examples-parent/business/src/main/java/siia/business/FlightStatusNotificationPublisher.java
  33. +16 −0 siia-examples-parent/business/src/main/java/siia/business/FlightStatusService.java
  34. +16 −0 siia-examples-parent/business/src/main/java/siia/business/FrequentFlyerService.java
  35. +16 −0 siia-examples-parent/business/src/main/java/siia/business/NotificationDemo.java
  36. +16 −0 siia-examples-parent/business/src/main/java/siia/business/Passenger.java
  37. +16 −0 siia-examples-parent/business/src/main/java/siia/business/PassengerProfileEnricher.java
  38. +16 −0 siia-examples-parent/business/src/main/java/siia/business/Profile.java
  39. +16 −0 siia-examples-parent/business/src/main/java/siia/business/Seat.java
  40. +16 −0 siia-examples-parent/business/src/main/java/siia/business/SimpleFlightStatusService.java
  41. +15 −0 siia-examples-parent/business/src/main/resources/chain.xml
  42. +15 −0 siia-examples-parent/business/src/main/resources/flightStatus.xml
  43. +15 −0 siia-examples-parent/business/src/main/resources/notificationPublisher.xml
  44. +16 −0 siia-examples-parent/business/src/test/java/siia/business/ChainTests.java
  45. +16 −0 siia-examples-parent/business/src/test/java/siia/business/EmailHeaderEnricherTests.java
  46. +16 −0 siia-examples-parent/business/src/test/java/siia/business/ExpressionBasedHeaderEnricherTests.java
  47. +16 −0 ...-examples-parent/business/src/test/java/siia/business/FlightDelayTransformerIntegrationTests.java
  48. +16 −0 siia-examples-parent/business/src/test/java/siia/business/FlightStatusPublisherTests.java
  49. +16 −0 siia-examples-parent/business/src/test/java/siia/business/PassengerProfileEnricherTest.java
  50. +16 −0 siia-examples-parent/business/src/test/java/siia/business/StubFlightScheduler.java
  51. +16 −0 siia-examples-parent/business/src/test/java/siia/business/StubFrequentFlyerService.java
  52. +16 −0 siia-examples-parent/business/src/test/java/siia/business/StubMailSender.java
  53. +15 −0 siia-examples-parent/business/src/test/resources/siia/business/EmailHeaderEnricherTests-context.xml
  54. +15 −0 ...s-parent/business/src/test/resources/siia/business/ExpressionBasedHeaderEnricherTests-context.xml
  55. +15 −0 ...rent/business/src/test/resources/siia/business/FlightDelayTransformerIntegrationTests-context.xml
  56. +15 −0 ...-examples-parent/business/src/test/resources/siia/business/FlightStatusPublisherTests-context.xml
  57. +15 −0 siia-examples-parent/concurrency/pom.xml
  58. +16 −0 siia-examples-parent/concurrency/src/main/java/com/manning/siia/pipeline/AssembledCar.java
  59. +16 −0 siia-examples-parent/concurrency/src/main/java/com/manning/siia/pipeline/AssemblyLine.java
  60. +16 −0 siia-examples-parent/concurrency/src/main/java/com/manning/siia/pipeline/Counter.java
  61. +16 −0 siia-examples-parent/concurrency/src/main/java/com/manning/siia/pipeline/FinishedCar.java
  62. +16 −0 siia-examples-parent/concurrency/src/main/java/com/manning/siia/pipeline/PaintShop.java
  63. +16 −0 siia-examples-parent/concurrency/src/main/java/com/manning/siia/pipeline/PieceKit.java
  64. +16 −0 siia-examples-parent/concurrency/src/main/java/com/manning/siia/pipeline/SupplyInput.java
  65. +15 −0 siia-examples-parent/concurrency/src/main/resources/paint-shop-concurrent.xml
  66. +15 −0 siia-examples-parent/concurrency/src/main/resources/paint-shop.xml
  67. +16 −0 ...examples-parent/concurrency/src/test/java/com/manning/siia/pipeline/PaintShopConcurrentTests.java
  68. +16 −0 siia-examples-parent/concurrency/src/test/java/com/manning/siia/pipeline/PaintShopDirectTests.java
  69. +16 −0 siia-examples-parent/concurrency/src/test/java/siia/concurrency/AdvancedPollerTests.java
  70. +16 −0 siia-examples-parent/concurrency/src/test/java/siia/concurrency/CronPollerTests.java
  71. +16 −0 siia-examples-parent/concurrency/src/test/java/siia/concurrency/PollerDefaultAndCustomTest.java
  72. +16 −0 siia-examples-parent/concurrency/src/test/java/siia/concurrency/StubComparator.java
  73. +16 −0 siia-examples-parent/concurrency/src/test/java/siia/concurrency/StubFilter.java
  74. +16 −0 siia-examples-parent/concurrency/src/test/java/siia/concurrency/StubService.java
  75. +15 −0 siia-examples-parent/concurrency/src/test/resources/siia/concurrency/AdvancedPollerTests-context.xml
  76. +15 −0 siia-examples-parent/concurrency/src/test/resources/siia/concurrency/CronPollerTests-context.xml
  77. +15 −0 ...les-parent/concurrency/src/test/resources/siia/concurrency/PollerDefaultAndCustomTest-context.xml
  78. +15 −0 siia-examples-parent/flight-booking/domain/pom.xml
  79. +16 −0 siia-examples-parent/flight-booking/domain/src/main/java/siia/booking/domain/Command.java
  80. +16 −0 siia-examples-parent/flight-booking/domain/src/main/java/siia/booking/domain/FinancialAmount.java
  81. +16 −0 siia-examples-parent/flight-booking/domain/src/main/java/siia/booking/domain/Location.java
  82. +16 −0 ...s-parent/flight-booking/domain/src/main/java/siia/booking/domain/binding/JodaDateTimeAdapter.java
  83. +16 −0 ...light-booking/domain/src/main/java/siia/booking/domain/cancellation/CancellationConfirmation.java
  84. +16 −0 ...ent/flight-booking/domain/src/main/java/siia/booking/domain/cancellation/CancellationRequest.java
  85. +16 −0 ...nt/flight-booking/domain/src/main/java/siia/booking/domain/cancellation/CancellationsService.java
  86. +16 −0 ...light-booking/domain/src/main/java/siia/booking/domain/cancellation/StubCancellationsService.java
  87. +16 −0 siia-examples-parent/flight-booking/domain/src/main/java/siia/booking/domain/car/CarCriteria.java
  88. +16 −0 siia-examples-parent/flight-booking/domain/src/main/java/siia/booking/domain/car/CarRental.java
  89. +16 −0 ...examples-parent/flight-booking/domain/src/main/java/siia/booking/domain/car/CarRentalBooking.java
  90. +16 −0 siia-examples-parent/flight-booking/domain/src/main/java/siia/booking/domain/car/CarRentalQuote.java
  91. +16 −0 siia-examples-parent/flight-booking/domain/src/main/java/siia/booking/domain/car/CarType.java
  92. +16 −0 siia-examples-parent/flight-booking/domain/src/main/java/siia/booking/domain/flight/Flight.java
  93. +16 −0 ...examples-parent/flight-booking/domain/src/main/java/siia/booking/domain/flight/FlightBooking.java
  94. +16 −0 ...xamples-parent/flight-booking/domain/src/main/java/siia/booking/domain/flight/FlightCriteria.java
  95. +16 −0 siia-examples-parent/flight-booking/domain/src/main/java/siia/booking/domain/flight/FlightQuote.java
  96. +16 −0 ...xamples-parent/flight-booking/domain/src/main/java/siia/booking/domain/flight/FlightSchedule.java
  97. +16 −0 ...amples-parent/flight-booking/domain/src/main/java/siia/booking/domain/flight/FlightSeatClass.java
  98. +16 −0 siia-examples-parent/flight-booking/domain/src/main/java/siia/booking/domain/hotel/Hotel.java
  99. +16 −0 siia-examples-parent/flight-booking/domain/src/main/java/siia/booking/domain/hotel/HotelBooking.java
  100. +16 −0 ...-examples-parent/flight-booking/domain/src/main/java/siia/booking/domain/hotel/HotelCriteria.java
  101. +16 −0 siia-examples-parent/flight-booking/domain/src/main/java/siia/booking/domain/hotel/HotelQuote.java
  102. +16 −0 siia-examples-parent/flight-booking/domain/src/main/java/siia/booking/domain/hotel/RoomType.java
  103. +16 −0 ...ent/flight-booking/domain/src/main/java/siia/booking/domain/notifications/FlightNotification.java
  104. +16 −0 ...ples-parent/flight-booking/domain/src/main/java/siia/booking/domain/notifications/Notifiable.java
  105. +16 −0 ...amples-parent/flight-booking/domain/src/main/java/siia/booking/domain/notifications/Priority.java
  106. +16 −0 ...s-parent/flight-booking/domain/src/main/java/siia/booking/domain/notifications/SmsNotifiable.java
  107. +16 −0 ...arent/flight-booking/domain/src/main/java/siia/booking/domain/notifications/TripNotification.java
  108. +16 −0 ...les-parent/flight-booking/domain/src/main/java/siia/booking/domain/payment/CreditCardPayment.java
  109. +16 −0 ...amples-parent/flight-booking/domain/src/main/java/siia/booking/domain/payment/CreditCardType.java
  110. +16 −0 siia-examples-parent/flight-booking/domain/src/main/java/siia/booking/domain/payment/Invoice.java
  111. +16 −0 ...amples-parent/flight-booking/domain/src/main/java/siia/booking/domain/payment/PaymentManager.java
  112. +16 −0 ...les-parent/flight-booking/domain/src/main/java/siia/booking/domain/payment/PaymentSettlement.java
  113. +16 −0 ...xamples-parent/flight-booking/domain/src/main/java/siia/booking/domain/payment/PaypalPayment.java
  114. +16 −0 siia-examples-parent/flight-booking/domain/src/main/java/siia/booking/domain/trip/BookedLeg.java
  115. +16 −0 siia-examples-parent/flight-booking/domain/src/main/java/siia/booking/domain/trip/BookedTrip.java
  116. +16 −0 ...amples-parent/flight-booking/domain/src/main/java/siia/booking/domain/trip/CreateTripCommand.java
  117. +16 −0 siia-examples-parent/flight-booking/domain/src/main/java/siia/booking/domain/trip/Leg.java
  118. +16 −0 ...examples-parent/flight-booking/domain/src/main/java/siia/booking/domain/trip/LegQuoteCommand.java
  119. +16 −0 siia-examples-parent/flight-booking/domain/src/main/java/siia/booking/domain/trip/Trip.java
  120. +16 −0 ...xamples-parent/flight-booking/domain/src/main/java/siia/booking/domain/trip/TripQuoteRequest.java
  121. +16 −0 ...-examples-parent/flight-booking/domain/src/main/java/siia/booking/domain/trip/TripRepository.java
  122. +16 −0 siia-examples-parent/flight-booking/domain/src/main/java/siia/booking/domain/user/User.java
  123. +16 −0 ...mples-parent/flight-booking/domain/src/test/java/siia/booking/domain/trip/LegMarshallingTest.java
  124. +16 −0 ...-parent/flight-booking/domain/src/test/java/siia/booking/domain/trip/LegQuoteMarshallingTest.java
  125. +15 −0 siia-examples-parent/flight-booking/integration/pom.xml
  126. +16 −0 ...ng/integration/src/main/java/siia/booking/integration/cancellation/CancellationRequestFilter.java
  127. +16 −0 ...booking/integration/src/main/java/siia/booking/integration/cancellation/CancellationsGateway.java
  128. +16 −0 ...ation/src/main/java/siia/booking/integration/notifications/FlightToTripNotificationsSplitter.java
  129. +16 −0 ...booking/integration/src/main/java/siia/booking/integration/notifications/NotificationsRouter.java
  130. +16 −0 .../integration/src/main/java/siia/booking/integration/notifications/RelatedTripsHeaderEnricher.java
  131. +16 −0 ...ight-booking/integration/src/main/java/siia/booking/integration/purchases/LegQuoteAggregator.java
  132. +16 −0 ...t-booking/integration/src/main/java/siia/booking/integration/routing/PaymentSettlementRouter.java
  133. +15 −0 siia-examples-parent/flight-booking/integration/src/main/resources/bookings.xml
  134. +15 −0 siia-examples-parent/flight-booking/integration/src/main/resources/cancellations.xml
  135. +15 −0 siia-examples-parent/flight-booking/integration/src/main/resources/cancellationsWithException.xml
  136. +15 −0 siia-examples-parent/flight-booking/integration/src/main/resources/cancellationsWithNotification.xml
  137. +15 −0 siia-examples-parent/flight-booking/integration/src/main/resources/flight-notifications-spel.xml
  138. +15 −0 siia-examples-parent/flight-booking/integration/src/main/resources/flight-notifications.xml
  139. +16 −0 siia-examples-parent/flight-booking/integration/src/main/resources/leg-quote.xml
  140. +15 −0 siia-examples-parent/flight-booking/integration/src/main/resources/payment-routing.xml
  141. +15 −0 siia-examples-parent/flight-booking/integration/src/main/resources/routing-service-activator.xml
  142. +15 −0 siia-examples-parent/flight-booking/integration/src/main/resources/trip-commands.xml
  143. +15 −0 siia-examples-parent/flight-booking/integration/src/main/resources/weather-endpoint.xml
  144. +15 −0 siia-examples-parent/flight-booking/integration/src/main/resources/xsd/flightQuote.xsd
  145. +15 −1 siia-examples-parent/flight-booking/integration/src/main/resources/xsl/enrichCriteriaWithLeg.xsl
  146. +16 −0 ...s-parent/flight-booking/integration/src/test/java/siia/booking/integration/CancellationsTest.java
  147. +16 −0 ...ht-booking/integration/src/test/java/siia/booking/integration/CancellationsWithExceptionTest.java
  148. +16 −0 ...booking/integration/src/test/java/siia/booking/integration/CancellationsWithNotificationTest.java
  149. +16 −0 ...light-booking/integration/src/test/java/siia/booking/integration/FlightNotificationsSpelTest.java
  150. +16 −0 ...nt/flight-booking/integration/src/test/java/siia/booking/integration/FlightNotificationsTest.java
  151. +16 −0 ...nt/flight-booking/integration/src/test/java/siia/booking/integration/LegQuoteIntegrationTest.java
  152. +16 −0 ...-parent/flight-booking/integration/src/test/java/siia/booking/integration/PaymentRoutingTest.java
  153. +16 −0 ...ples-parent/flight-booking/integration/src/test/java/siia/booking/integration/StubMailSender.java
  154. +16 −0 ...es-parent/flight-booking/integration/src/test/java/siia/booking/integration/TripCommandsTest.java
  155. +16 −0 ...xamples-parent/flight-booking/integration/src/test/java/siia/booking/integration/WeatherTest.java
  156. +16 −0 ...n/src/test/java/siia/booking/integration/notifications/FlightToTripNotificationsSplitterTest.java
  157. +15 −0 ...-examples-parent/flight-booking/integration/src/test/resources/TEST-flight-notifications-spel.xml
  158. +15 −0 siia-examples-parent/flight-booking/integration/src/test/resources/TEST-flight-notifications.xml
  159. +15 −0 siia-examples-parent/flight-booking/integration/src/test/resources/TEST-trip-commands.xml
  160. +16 −0 siia-examples-parent/flight-booking/integration/src/test/resources/log4j.properties
  161. +15 −0 siia-examples-parent/flight-booking/pom.xml
  162. +15 −0 siia-examples-parent/fundamentals/pom.xml
  163. +16 −0 siia-examples-parent/fundamentals/src/main/java/siia/fundamentals/Booking.java
  164. +16 −0 siia-examples-parent/fundamentals/src/main/java/siia/fundamentals/BookingDao.java
  165. +16 −0 siia-examples-parent/fundamentals/src/main/java/siia/fundamentals/BookingReportingService.java
  166. +16 −0 siia-examples-parent/fundamentals/src/main/java/siia/fundamentals/BookingService.java
  167. +16 −0 siia-examples-parent/fundamentals/src/main/java/siia/fundamentals/BookingServiceWithInjection.java
  168. +16 −0 ...xamples-parent/fundamentals/src/main/java/siia/fundamentals/BookingServiceWithStrongCoupling.java
  169. +16 −0 siia-examples-parent/fundamentals/src/main/java/siia/fundamentals/MealPreference.java
  170. +16 −0 ...xamples-parent/fundamentals/src/main/java/siia/fundamentals/MealPreferenceRequestTransformer.java
  171. +16 −0 siia-examples-parent/fundamentals/src/main/java/siia/fundamentals/SimpleBookingDao.java
  172. +17 −0 siia-examples-parent/fundamentals/src/main/resources/siia/fundamentals/context.xml
  173. +16 −0 siia-examples-parent/fundamentals/src/test/java/siia/fundamentals/RunBookingServiceTest.java
  174. +15 −0 siia-examples-parent/hello-world/pom.xml
  175. +16 −0 siia-examples-parent/hello-world/src/main/java/siia/helloworld/channel/HelloService.java
  176. +16 −0 siia-examples-parent/hello-world/src/main/java/siia/helloworld/channel/HelloWorldExample.java
  177. +16 −0 siia-examples-parent/hello-world/src/main/java/siia/helloworld/channel/MyHelloService.java
  178. +16 −0 siia-examples-parent/hello-world/src/main/java/siia/helloworld/gateway/HelloService.java
  179. +16 −0 siia-examples-parent/hello-world/src/main/java/siia/helloworld/gateway/HelloWorldExample.java
  180. +16 −0 siia-examples-parent/hello-world/src/main/java/siia/helloworld/gateway/MyHelloService.java
  181. +15 −0 siia-examples-parent/hello-world/src/main/resources/siia/helloworld/channel/context.xml
  182. +15 −0 siia-examples-parent/hello-world/src/main/resources/siia/helloworld/gateway/context.xml
  183. +15 −0 siia-examples-parent/home-cooking/pom.xml
  184. +16 −0 siia-examples-parent/home-cooking/src/main/java/com/manning/siia/kitchen/Cook.java
  185. +16 −0 siia-examples-parent/home-cooking/src/main/java/com/manning/siia/kitchen/Cupboard.java
  186. +16 −0 siia-examples-parent/home-cooking/src/main/java/com/manning/siia/kitchen/ShoppingListWriter.java
  187. +16 −0 siia-examples-parent/home-cooking/src/main/java/com/manning/siia/kitchen/domain/Amount.java
  188. +16 −0 siia-examples-parent/home-cooking/src/main/java/com/manning/siia/kitchen/domain/AmountConverter.java
  189. +16 −0 siia-examples-parent/home-cooking/src/main/java/com/manning/siia/kitchen/domain/Grocery.java
  190. +16 −0 siia-examples-parent/home-cooking/src/main/java/com/manning/siia/kitchen/domain/GroceryBag.java
  191. +16 −0 siia-examples-parent/home-cooking/src/main/java/com/manning/siia/kitchen/domain/Ingredient.java
  192. +16 −0 siia-examples-parent/home-cooking/src/main/java/com/manning/siia/kitchen/domain/Meal.java
  193. +16 −0 siia-examples-parent/home-cooking/src/main/java/com/manning/siia/kitchen/domain/Meat.java
  194. +16 −0 siia-examples-parent/home-cooking/src/main/java/com/manning/siia/kitchen/domain/Product.java
  195. +16 −0 siia-examples-parent/home-cooking/src/main/java/com/manning/siia/kitchen/domain/Recipe.java
  196. +16 −0 siia-examples-parent/home-cooking/src/main/java/com/manning/siia/kitchen/domain/ShoppingList.java
  197. +16 −0 siia-examples-parent/home-cooking/src/main/java/com/manning/siia/kitchen/domain/Vegetable.java
  198. +16 −0 siia-examples-parent/home-cooking/src/main/java/com/manning/siia/kitchen/shop/Butcher.java
  199. +16 −0 siia-examples-parent/home-cooking/src/main/java/com/manning/siia/kitchen/shop/GreenGrocer.java
  200. +16 −0 siia-examples-parent/home-cooking/src/main/java/com/manning/siia/kitchen/shop/Supermarket.java
  201. +15 −0 siia-examples-parent/home-cooking/src/main/resources/create-shoppinglists-flow.xml
  202. +15 −0 siia-examples-parent/home-cooking/src/main/resources/grocery-unpacker-flow.xml
  203. +15 −0 siia-examples-parent/home-cooking/src/main/resources/home-dinner-flow.xml
  204. +16 −0 siia-examples-parent/home-cooking/src/main/resources/kitchen.properties
  205. +15 −0 siia-examples-parent/home-cooking/src/main/resources/kitchen.xml
  206. +15 −0 siia-examples-parent/home-cooking/src/main/resources/recipebook.xml
  207. +15 −0 siia-examples-parent/home-cooking/src/main/resources/shopping-flow.xml
  208. +15 −0 siia-examples-parent/home-cooking/src/main/resources/split-recipe-flow.xml
  209. +16 −0 siia-examples-parent/home-cooking/src/test/java/com/manning/siia/kitchen/CookTest.java
  210. +16 −0 ...-examples-parent/home-cooking/src/test/java/com/manning/siia/kitchen/EndToEndIntegrationTest.java
  211. +16 −0 siia-examples-parent/home-cooking/src/test/java/com/manning/siia/kitchen/KitchenTest.java
  212. +16 −0 siia-examples-parent/home-cooking/src/test/java/com/manning/siia/kitchen/RecipeReadingTest.java
  213. +16 −0 siia-examples-parent/home-cooking/src/test/java/com/manning/siia/kitchen/RecipeSplitterTest.java
  214. +16 −0 siia-examples-parent/home-cooking/src/test/java/com/manning/siia/kitchen/ShoppingTest.java
  215. +16 −0 siia-examples-parent/home-cooking/src/test/java/com/manning/siia/kitchen/TimedPollableChannel.java
  216. +16 −0 siia-examples-parent/home-cooking/src/test/java/com/manning/siia/kitchen/domain/DomainTest.java
  217. +16 −0 siia-examples-parent/home-cooking/src/test/java/com/manning/siia/kitchen/domain/MealTest.java
  218. +16 −0 ...xamples-parent/home-cooking/src/test/java/com/manning/siia/kitchen/domain/RecipeObjectMother.java
  219. +16 −0 siia-examples-parent/home-cooking/src/test/java/com/manning/siia/kitchen/domain/RecipeTest.java
  220. +15 −0 siia-examples-parent/home-cooking/src/test/resources/TEST-home-dinner-flow.xml
  221. +15 −0 siia-examples-parent/home-cooking/src/test/resources/TEST-recipe-reader.xml
  222. +15 −0 siia-examples-parent/home-cooking/src/test/resources/TEST-recipeSplitter.xml
  223. +15 −0 siia-examples-parent/home-cooking/src/test/resources/TEST-shopping.xml
  224. +16 −0 siia-examples-parent/home-cooking/src/test/resources/log4j.properties
  225. +15 −0 siia-examples-parent/jms/pom.xml
  226. +16 −0 siia-examples-parent/jms/src/main/java/siia/jms/ChannelAdapterDemo.java
  227. +16 −0 siia-examples-parent/jms/src/main/java/siia/jms/DirectJmsDemo.java
  228. +16 −0 siia-examples-parent/jms/src/main/java/siia/jms/Exclaimer.java
  229. +16 −0 siia-examples-parent/jms/src/main/java/siia/jms/GatewayDemo.java
  230. +16 −0 siia-examples-parent/jms/src/main/java/siia/jms/Greeter.java
  231. +16 −0 siia-examples-parent/jms/src/main/java/siia/jms/JmsTemplateDemo.java
  232. +16 −0 siia-examples-parent/jms/src/main/java/siia/jms/MessageDrivenPojoDemo.java
  233. +16 −0 siia-examples-parent/jms/src/main/java/siia/jms/MessageListenerContainerDemo.java
  234. +15 −0 siia-examples-parent/jms/src/main/resources/siia/jms/channel-adapters.xml
  235. +15 −0 siia-examples-parent/jms/src/main/resources/siia/jms/gateways.xml
  236. +15 −0 siia-examples-parent/jms/src/main/resources/siia/jms/message-driven-pojo.xml
  237. +15 −0 siia-examples-parent/messages-channels/pom.xml
  238. +16 −0 siia-examples-parent/messages-channels/src/main/java/siia/channels/AuditRecord.java
  239. +16 −0 siia-examples-parent/messages-channels/src/main/java/siia/channels/AuditService.java
  240. +16 −0 siia-examples-parent/messages-channels/src/main/java/siia/channels/BillForBookingService.java
  241. +16 −0 siia-examples-parent/messages-channels/src/main/java/siia/channels/Booking.java
  242. +16 −0 siia-examples-parent/messages-channels/src/main/java/siia/channels/ChannelAuditor.java
  243. +16 −0 siia-examples-parent/messages-channels/src/main/java/siia/channels/ChargedBooking.java
  244. +16 −0 siia-examples-parent/messages-channels/src/main/java/siia/channels/CustomerPriorityComparator.java
  245. +16 −0 siia-examples-parent/messages-channels/src/main/java/siia/channels/Email.java
  246. +16 −0 siia-examples-parent/messages-channels/src/main/java/siia/channels/Seat.java
  247. +16 −0 siia-examples-parent/messages-channels/src/main/java/siia/channels/SeatAvailabilityService.java
  248. +16 −0 siia-examples-parent/messages-channels/src/main/java/siia/channels/SeatConfirmation.java
  249. +16 −0 siia-examples-parent/messages-channels/src/main/java/siia/channels/StubEmailConfirmationService.java
  250. +15 −0 siia-examples-parent/messages-channels/src/main/resources/channels-all-direct.xml
  251. +15 −0 siia-examples-parent/messages-channels/src/main/resources/channels-bridge.xml
  252. +15 −0 siia-examples-parent/messages-channels/src/main/resources/channels-buffered.xml
  253. +15 −0 siia-examples-parent/messages-channels/src/main/resources/channels-interceptor.xml
  254. +15 −0 siia-examples-parent/messages-channels/src/main/resources/channels-priority.xml
  255. +15 −0 siia-examples-parent/messages-channels/src/main/resources/channels-selector.xml
  256. +16 −0 siia-examples-parent/messages-channels/src/test/java/siia/channels/AllChannelsDirectTest.java
  257. +16 −0 siia-examples-parent/messages-channels/src/test/java/siia/channels/ChannelInterceptorTest.java
  258. +16 −0 siia-examples-parent/messages-channels/src/test/java/siia/channels/ChannelSelectorTest.java
  259. +16 −0 siia-examples-parent/messages-channels/src/test/java/siia/channels/ChannelsBridgeTest.java
  260. +16 −0 siia-examples-parent/messages-channels/src/test/java/siia/channels/ChannelsBufferedTest.java
  261. +16 −0 siia-examples-parent/messages-channels/src/test/java/siia/channels/ChannelsPriorityTest.java
  262. +15 −0 siia-examples-parent/monitoring/pom.xml
  263. +16 −0 siia-examples-parent/monitoring/src/main/java/siia/monitoring/controlbus/ControlBusDemo.java
  264. +16 −0 siia-examples-parent/monitoring/src/main/java/siia/monitoring/controlbus/FilePoller.java
  265. +16 −0 siia-examples-parent/monitoring/src/main/java/siia/monitoring/controlbus/GroovyControlBusDemo.java
  266. +16 −0 siia-examples-parent/monitoring/src/main/java/siia/monitoring/controlbus/NumberHolder.java
  267. +16 −0 siia-examples-parent/monitoring/src/main/java/siia/monitoring/history/HistoryDemo1.java
  268. +16 −0 siia-examples-parent/monitoring/src/main/java/siia/monitoring/history/HistoryDemo2.java
  269. +16 −0 siia-examples-parent/monitoring/src/main/java/siia/monitoring/jmx/JmxDemo.java
  270. +16 −0 siia-examples-parent/monitoring/src/main/java/siia/monitoring/wiretap/Debit.java
  271. +16 −0 siia-examples-parent/monitoring/src/main/java/siia/monitoring/wiretap/DebitService.java
  272. +16 −0 siia-examples-parent/monitoring/src/main/java/siia/monitoring/wiretap/WireTapDemo.java
  273. +15 −0 siia-examples-parent/monitoring/src/main/resources/siia/monitoring/controlbus/context.xml
  274. +15 −0 siia-examples-parent/monitoring/src/main/resources/siia/monitoring/controlbus/groovy-context.xml
  275. +15 −0 siia-examples-parent/monitoring/src/main/resources/siia/monitoring/history/context1.xml
  276. +15 −0 siia-examples-parent/monitoring/src/main/resources/siia/monitoring/history/context2.xml
  277. +15 −0 siia-examples-parent/monitoring/src/main/resources/siia/monitoring/jmx/context.xml
  278. +15 −0 siia-examples-parent/monitoring/src/main/resources/siia/monitoring/wiretap/context.xml
  279. +15 −0 siia-examples-parent/pom.xml
  280. +15 −0 siia-examples-parent/trip-diary/pom.xml
  281. +16 −0 ...examples-parent/trip-diary/src/main/java/com/manning/siia/trip/diary/ChangeFileNameGenerator.java
  282. +2 −5 siia-examples-parent/trip-diary/src/main/java/com/manning/siia/trip/diary/EditableText.java
  283. +2 −5 ...mples-parent/trip-diary/src/main/java/com/manning/siia/trip/diary/RefuseWrittenByThisProcess.java
  284. +2 −5 siia-examples-parent/trip-diary/src/main/java/com/manning/siia/trip/diary/TextChange.java
  285. +2 −5 siia-examples-parent/trip-diary/src/main/java/com/manning/siia/trip/diary/TextChanges.java
  286. +15 −0 siia-examples-parent/trip-diary/src/main/resources/diary-file-exchanger.xml
  287. +16 −0 ...ples-parent/trip-diary/src/test/java/com/manning/siia/trip/diary/ChangeFileNameGeneratorTest.java
  288. +2 −5 siia-examples-parent/trip-diary/src/test/java/com/manning/siia/trip/diary/EditableTextTest.java
  289. +2 −5 ...xamples-parent/trip-diary/src/test/java/com/manning/siia/trip/diary/ExchangerIntegrationTest.java
  290. +15 −0 ...nt/trip-diary/src/test/resources/com/manning/siia/trip/diary/ExchangerIntegrationTest-context.xml
  291. +16 −0 siia-examples-parent/trip-diary/src/test/resources/diary.properties
  292. +16 −0 siia-examples-parent/trip-diary/src/test/resources/log4j.properties
  293. +15 −0 siia-examples-parent/twitter/pom.xml
  294. +16 −0 siia-examples-parent/twitter/src/main/java/siia/twitter/SearchAnalysis.java
  295. +16 −0 siia-examples-parent/twitter/src/main/java/siia/twitter/SearchResultAnalzyer.java
  296. +16 −0 siia-examples-parent/twitter/src/main/java/siia/twitter/SearchToLog.java
  297. +16 −0 siia-examples-parent/twitter/src/main/java/siia/twitter/TimelineToLog.java
  298. +16 −0 siia-examples-parent/twitter/src/main/resources/siia/twitter/oauth.properties
  299. +15 −0 siia-examples-parent/twitter/src/main/resources/siia/twitter/search-analysis.xml
  300. +15 −0 siia-examples-parent/twitter/src/main/resources/siia/twitter/search-to-log.xml
Sorry, we could not display the entire diff because too many files (312) changed.
View
201 LICENSE
@@ -0,0 +1,201 @@
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
View
6 NOTICE
@@ -0,0 +1,6 @@
+Spring Integration in Action Examples
+Copyright (c) 2012
+
+This example code is licensed to you under the Apache License,
+Version 2.0 (the "License"). You may not use this product except
+in compliance with the License. See the LICENSE file for details.
View
4 README.md
@@ -4,6 +4,8 @@ This project contains the code examples from the book "Spring Integration in Act
To build and run tests, change into the 'siia-examples' directory and execute: mvn test
+To install artifacts into your local Maven repository execute: mvn install
+
To explore the code, we recommend importing the projects (located in the sub-directories) into an IDE such as Eclipse or IntelliJ Idea.
For more information about the book, visit http://manning.com/fisher.
@@ -21,7 +23,7 @@ The modules of the 'siia-examples' are as follows:
| fundamentals | Basic introduction to decoupled code and dependency injection | 2 |
| hello-world | Introductory example to Spring and Spring Integration | 1 |
| home-cooking | Splitters and aggregators | 7 |
-| jms | JMS processing | 9 |
+| jms | JMS integration | 9 |
| messages-channels | Introduction to messages and channels | 3 |
| monitoring | Monitoring patterns - MessageBus, History, WireTap and JMX integration | 14 |
| trip-diary | File-based integration | 11 |
View
15 siia-examples-parent/batch/pom.xml
@@ -1,4 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
View
16 siia-examples-parent/batch/src/main/java/com/manning/siia/batch/Account.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.manning.siia.batch;
/**
View
16 ...amples-parent/batch/src/main/java/com/manning/siia/batch/ExecutionsToMailTransformer.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.manning.siia.batch;
import org.springframework.batch.core.JobExecution;
View
16 siia-examples-parent/batch/src/main/java/com/manning/siia/batch/FileMessageToJobRequest.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.manning.siia.batch;
import java.io.File;
View
16 siia-examples-parent/batch/src/main/java/com/manning/siia/batch/JobExecutionsRouter.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.manning.siia.batch;
import org.springframework.batch.core.BatchStatus;
View
16 siia-examples-parent/batch/src/main/java/com/manning/siia/batch/JobRestart.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.manning.siia.batch;
import org.springframework.batch.core.Job;
View
16 siia-examples-parent/batch/src/main/java/com/manning/siia/batch/Notification.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.manning.siia.batch;
/**
View
16 siia-examples-parent/batch/src/main/java/com/manning/siia/batch/Payment.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.manning.siia.batch;
import java.math.BigDecimal;
View
16 siia-examples-parent/batch/src/main/java/com/manning/siia/batch/PaymentChunkListener.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.manning.siia.batch;
import java.util.List;
View
16 siia-examples-parent/batch/src/main/java/com/manning/siia/batch/PaymentFieldSetMapper.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.manning.siia.batch;
import org.springframework.batch.item.file.mapping.FieldSetMapper;
View
16 siia-examples-parent/batch/src/main/java/com/manning/siia/batch/PaymentWriter.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.manning.siia.batch;
import java.util.List;
View
16 siia-examples-parent/batch/src/main/java/com/manning/siia/batch/StubJavaMailSender.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.manning.siia.batch;
import java.io.InputStream;
View
16 siia-examples-parent/batch/src/test/java/com/manning/siia/batch/BatchTest.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.manning.siia.batch;
import org.junit.Assert;
View
15 siia-examples-parent/batch/src/test/resources/batch-config.xml
@@ -1,4 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:batch="http://www.springframework.org/schema/batch"
xmlns:jdbc="http://www.springframework.org/schema/jdbc"
View
16 siia-examples-parent/batch/src/test/resources/dbinit.sql
@@ -1,3 +1,19 @@
+-- ========================================================================
+-- Copyright 2012 the original author or authors.
+--
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
+--
+-- http://www.apache.org/licenses/LICENSE-2.0
+--
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- ========================================================================
+
drop table payments if exists;
drop table accounts if exists;
View
15 siia-examples-parent/batch/src/test/resources/si-config.xml
@@ -1,4 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:si="http://www.springframework.org/schema/integration"
xmlns:si-file="http://www.springframework.org/schema/integration/file"
View
15 siia-examples-parent/business/pom.xml
@@ -1,4 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
View
16 siia-examples-parent/business/src/main/java/siia/business/Airport.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package siia.business;
/**
View
16 siia-examples-parent/business/src/main/java/siia/business/Crew.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package siia.business;
/**
View
16 siia-examples-parent/business/src/main/java/siia/business/EmailHeaderEnricher.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package siia.business;
import org.springframework.integration.Message;
View
16 siia-examples-parent/business/src/main/java/siia/business/Equipment.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package siia.business;
/**
View
16 siia-examples-parent/business/src/main/java/siia/business/Flight.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package siia.business;
import java.util.Date;
View
16 siia-examples-parent/business/src/main/java/siia/business/FlightDelayEmailGenerator.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package siia.business;
import org.springframework.stereotype.Component;
View
16 siia-examples-parent/business/src/main/java/siia/business/FlightDelayEvent.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package siia.business;
import java.util.Date;
View
16 siia-examples-parent/business/src/main/java/siia/business/FlightEventTransformer.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package siia.business;
import org.springframework.beans.factory.annotation.Autowired;
View
16 siia-examples-parent/business/src/main/java/siia/business/FlightScheduler.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package siia.business;
/**
View
16 siia-examples-parent/business/src/main/java/siia/business/FlightStatus.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package siia.business;
/**
View
16 siia-examples-parent/business/src/main/java/siia/business/FlightStatusEvent.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package siia.business;
/**
View
16 ...amples-parent/business/src/main/java/siia/business/FlightStatusNotificationPublisher.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package siia.business;
/**
View
16 siia-examples-parent/business/src/main/java/siia/business/FlightStatusService.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package siia.business;
/**
View
16 siia-examples-parent/business/src/main/java/siia/business/FrequentFlyerService.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package siia.business;
/**
View
16 siia-examples-parent/business/src/main/java/siia/business/NotificationDemo.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package siia.business;
import org.springframework.context.ApplicationContext;
View
16 siia-examples-parent/business/src/main/java/siia/business/Passenger.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package siia.business;
/**
View
16 siia-examples-parent/business/src/main/java/siia/business/PassengerProfileEnricher.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package siia.business;
import org.springframework.beans.factory.annotation.Autowired;
View
16 siia-examples-parent/business/src/main/java/siia/business/Profile.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package siia.business;
/**
View
16 siia-examples-parent/business/src/main/java/siia/business/Seat.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package siia.business;
/**
View
16 siia-examples-parent/business/src/main/java/siia/business/SimpleFlightStatusService.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package siia.business;
import org.springframework.integration.annotation.Payload;
View
15 siia-examples-parent/business/src/main/resources/chain.xml
@@ -1,4 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
<beans:beans xmlns:beans="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:mail="http://www.springframework.org/schema/integration/mail"
View
15 siia-examples-parent/business/src/main/resources/flightStatus.xml
@@ -1,4 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
<beans:beans xmlns:beans="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.springframework.org/schema/integration"
View
15 siia-examples-parent/business/src/main/resources/notificationPublisher.xml
@@ -1,4 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
<beans:beans xmlns="http://www.springframework.org/schema/integration"
xmlns:beans="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
View
16 siia-examples-parent/business/src/test/java/siia/business/ChainTests.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package siia.business;
import org.junit.Assert;
View
16 siia-examples-parent/business/src/test/java/siia/business/EmailHeaderEnricherTests.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package siia.business;
import org.junit.Test;
View
16 ...mples-parent/business/src/test/java/siia/business/ExpressionBasedHeaderEnricherTests.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package siia.business;
import org.junit.Test;
View
16 ...s-parent/business/src/test/java/siia/business/FlightDelayTransformerIntegrationTests.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package siia.business;
import org.junit.Test;
View
16 siia-examples-parent/business/src/test/java/siia/business/FlightStatusPublisherTests.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package siia.business;
import static org.junit.Assert.assertEquals;
View
16 siia-examples-parent/business/src/test/java/siia/business/PassengerProfileEnricherTest.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package siia.business;
import static org.junit.Assert.*;
View
16 siia-examples-parent/business/src/test/java/siia/business/StubFlightScheduler.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package siia.business;
import java.util.Date;
View
16 siia-examples-parent/business/src/test/java/siia/business/StubFrequentFlyerService.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package siia.business;
/**
View
16 siia-examples-parent/business/src/test/java/siia/business/StubMailSender.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package siia.business;
import java.io.InputStream;
View
15 ...les-parent/business/src/test/resources/siia/business/EmailHeaderEnricherTests-context.xml
@@ -1,4 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
<beans:beans xmlns:beans="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.springframework.org/schema/integration"
View
15 .../business/src/test/resources/siia/business/ExpressionBasedHeaderEnricherTests-context.xml
@@ -1,4 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
<beans:beans xmlns:beans="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:mail="http://www.springframework.org/schema/integration/mail"
View
15 ...iness/src/test/resources/siia/business/FlightDelayTransformerIntegrationTests-context.xml
@@ -1,4 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
<beans:beans xmlns:beans="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
View
15 ...s-parent/business/src/test/resources/siia/business/FlightStatusPublisherTests-context.xml
@@ -1,4 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
<beans:beans xmlns:beans="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.springframework.org/schema/integration"
View
15 siia-examples-parent/concurrency/pom.xml
@@ -1,4 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
View
16 siia-examples-parent/concurrency/src/main/java/com/manning/siia/pipeline/AssembledCar.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.manning.siia.pipeline;
/**
View
16 siia-examples-parent/concurrency/src/main/java/com/manning/siia/pipeline/AssemblyLine.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.manning.siia.pipeline;
import org.springframework.integration.annotation.ServiceActivator;
View
16 siia-examples-parent/concurrency/src/main/java/com/manning/siia/pipeline/Counter.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2012 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.manning.siia.pipeline;
import java.util.concurrent.CountDownLatch;
View
16 siia-examples-parent/concurrency/src/main/java/com/manning/siia/pipeline/FinishedCar.java
@@ -1,3 +1,19 @@
+/*