n3ur0manc3r
Programmer
Hi,
Has anyone encountered this situation?
I have two running eways, eway 1 is responsible for processing and publishing the incoming message, eway 2 populates the table needed by eway 1. The publishing application publishes two messages to two separate topics thats why i have two eways.
My problem is, when eway 1 is triggered it pulls data from table eway 2 is populating, but sometimes, eway 2 is not yet finished populating the table so the published message from eway 1 sometimes contain incomplete information. This happens because there can be multiple messages eway 2 receives that relates to a single message received by eway 1. I'm thinking of 'pausing' eway 1 for a certain amount of time to give eway 2 time to populate the table.
Is this possible? Or do you have alternative suggestions?
Your responses will be greatly appreciated. Thanks a lot!
Has anyone encountered this situation?
I have two running eways, eway 1 is responsible for processing and publishing the incoming message, eway 2 populates the table needed by eway 1. The publishing application publishes two messages to two separate topics thats why i have two eways.
My problem is, when eway 1 is triggered it pulls data from table eway 2 is populating, but sometimes, eway 2 is not yet finished populating the table so the published message from eway 1 sometimes contain incomplete information. This happens because there can be multiple messages eway 2 receives that relates to a single message received by eway 1. I'm thinking of 'pausing' eway 1 for a certain amount of time to give eway 2 time to populate the table.
Is this possible? Or do you have alternative suggestions?
Your responses will be greatly appreciated. Thanks a lot!