Communication between modules based on XML messages

vvvbbb

New Member
At work I was able to join the team that creates quite a large and complicated system. Before implementation, I would like to have my own thoughts and a little more understanding of the subject.Could you read few questions ?1 ) I have to create a module which can communicate with that system, and perform some necessary actions. Whole communication between system and all modules are based on XML messages, which can have very different forms ( only header is constant ). The simplest message can be XML with one node, while another could have three of them . What do you think about it ? Could you guide me, how to parse those messages in the most elegant way ? Maybe I should try to keep some templates of those messages in external files? 2 ) The system gives the ability to listen for new messages, receive and interpret them. Here comes the next question about architecture. In this case we have to create an additional thread that will only listen to the "mailbox", and if a message was detected it will pass it to the main thread where it can be interpreted. Do you think it
 
Back
Top