Sep 11th, 2012, 02:43 AM
Wiring service methods - is Spring Integration the right framework?
I have a requirement to provide a configurable way of calling 'service' methods. Similar to a workflow or a process application but should be lightweigth. The 'service' methods are required to be assembled to provide a 'high level' service. The low level service methods will be resued to provide other high level services. Service methods are simple POJO methods. Other requirements are to provide configurable conditional calls to service methods, possibly transform the java object from one type to another.
I am new to Spring Integration and wanted to know if it is the right framework for such requirements. Are there any other frameworks available? I understand Spring Integration has other features like adaptors to connect to external systems but we do not require all this. We only want a lightweight method of configuring 'services' and not a workflow/BPEL kind of an engine. Please let me know your views.
for eg. Service1 ---> lowLeveService1 ---->lowLeveService2 (assembled and configured using Spring Int)
servcie2 --->lowLevelService2 --->lowLeveService3 (anotehr service assembled and one low leve service reused)
Sep 11th, 2012, 01:43 PM
You think right way. Spring Integration has the same view of the wiring of services, both external and internal
I don't want to reinvent the wheel, so I send you to existing resources for undrstanding Spring Integration and its concepts:
Especialy this comment
And this book, of course: http://www.amazon.com/Spring-Integra.../dp/1935182439
Sep 11th, 2012, 10:52 PM
Thanks for the links and the reference to the book. I will certainly explore Spring Integration a bit more and post more questions.
Originally Posted by Cleric