OfferMessage loop exiting? RRS feed

  • Question

  • We have a class called PerformanceCounterActionBlock that wraps an ActionBlock for the purpose of logging/performance counters.  When we set the block to have a BoundedCapacity of 1 and a MaxDegreeOfParallelism of 1, we see the first event go in and be accepted, but the second event returns a DataflowMessageStatus of Postponed.  

    As the Postponed result makes its way back up the levels, the OfferMessage loop is exited and never restarted.

    Any ideas why a standard ActionBlock seems to have the message loop restarted, yet our own custom ITargetBlock does not?

    Monday, June 4, 2012 6:33 PM