Yeah, the loan broker demo could be used as a basis for your scenario.
C1 can be implemented using the FilePoller (http://servicemix.org/File).
For components C2 and C3 to receive messages from C1, you can use
pub/sub ServiceMix mechanism (see
http://servicemix.org/Publish+Subscribe+Routing).
For component C4, check http://servicemix.org/Quartz.
Cheers,
Guillaume Nodet
[EMAIL PROTECTED] wrote:
All,
We would like to write all our business rules using Java, Spring and
Hibernate ie I would have a number of components to fulfill my
business rules and link them all together with ServiceMix ie:
a. Component 1 would receive an incoming file, process each row,
validate it and send it off as a message
b. Component 2 would receive message issued by C1 and then format
message to send to an external system
c. Component 3 would receive message issued by C1 and use it's content
to update a database using Spring/Hibernate.
d. Component 4 would be scheduled / timer which would be initiated
several times daily to read a database and produce an output file etc.
Would/Should I be able to do this following the Loan Broker example ?
The logic is not going to be too complicated and it appears that I
should be able to connect everything with ServiceMix but I am not 100%
sure where to start and what interfaces/patterns/examples I should be
using.
Any ideas would be greatly appreciated.
Thanks,
John
9214 6739
===================================================
HBF Health Funds Inc. a registered organisation under the National Health Act
HBF Insurance Pty Ltd ACN 009 268 277
This email is a confidential communication intended only for the named Addressee(s).
If you are not that person any disclosure, copying, distribution or use of this email
or the information in it is prohibited. Please notify us immediately by
telephone, (+61) 08 9265 6111 or return email and delete this email.
The views in this email may be personal to the author and not those of HBF.