0 Replies Latest reply: Oct 17, 2012 5:11 AM by 968687 RSS

    Help with Coherence EntryProcessor design

    968687
      Hi Gurus,

      We are in the process of designing our End Of Day Trade processing application on Coherence 3.7.1, the use case is as under

      1. Trades coming through JMS channels are split in to Parent Trade + Child SubTrades, these trades and subtrades are placed in to their respective cache, collocated by Key Affinity.

      2. We want to use Entry Processors to process each type of SubTrade and update the Parent Trade (An EntryProcessor per SubTrade Type).

      3. Once all SubTrades are processed, The Trade reaches the Completed State and should be Audited and removed from the cache with all its SubTrades.


      The EntryProcessors are working fine on preloaded Cache, Can you Gurus please verify the approach and please advise us how to extend it further for Trades being added to the cache after the invocation of the EntryProcessors, i.e we want to call these processors recursively. Is there a way to know when all EntryProcessors has completed so a new Execution for the same can be initiated, we want to avoid a number of event processors lined up unnecessarily.


      Regards

      Edited by: 965684 on 17-Oct-2012 03:10