I am developing an interface between two systems. The current architecture is
System A-JDBC adapter(insert notifications) - Enterprise Server-ES/ISBridge-IS(Integration server)-TN(Trading Networks)-System B
TN delivers document to System B through HTTP Post. In case System B is down then we need to develop a mechanism for Queuing up the messages and the moment when System B comes up all the messages are delivered without much manual intervention.
The following are different approaches
Approach 1: Resubmission through TN. Change the user status to error and resubmit all the messages thr TN by setting the criteria as User Status-ERROR.
Problem:The load will be 1000 at a run so it will be difficult to resubmit from TN one at a time all 1000 messages
Approach 2: Implement some private queue at TN.
This seems to be OK but can someone give me an idea how to implement the same.
Approach 3: Stop the ES-IS listener the moment first error is received and a automatic mail will go to the support team for notifying them.
Now when the System B will come up then the support team will just have to start the listener and the message will be delivered automatically as they will be in queue.
Problem: The maximum load is 2000 . Will ES broker can queue up message to that particular load? And can this anyways affect other interfaces?
Please let me know your suggestions
Thanks and Regards