java - How to design my messaging application to be compliant with Spring Integration Framework? -
i have messaging application working not designed in elegant way (please, see image). manager fan of spring integration, suggests me change application according spring integration pattern (version 3). sending use ledgermessage serialized spring simplemessageconverter , sent in client spring amqp template.
as 1 can see in diagram sending ledgermessage originated in several places, , content of message different. once message received sender have several options process message based on value of long orderid. choosing processing method based on ordereid not elegant way, because if orderid positive used further processing.
in case of errors use log4j log error. theoretically can send email informing error. also, can send email informing end of batch operations taking long time. so, suggestion, graphical presentation appreciated.
Comments
Post a Comment