Skip to Content.
Sympa Menu

grouper-dev - [grouper-dev] RE: Recommendation for EsbConsumer

Subject: Grouper Developers Forum

List archive

[grouper-dev] RE: Recommendation for EsbConsumer


Chronological Thread 
  • From: Chris Hyzer <>
  • To: Nathan Kopp <>, "" <>
  • Subject: [grouper-dev] RE: Recommendation for EsbConsumer
  • Date: Mon, 9 May 2011 14:09:59 -0400
  • Accept-language: en-US
  • Acceptlanguage: en-US

Ø  True.  I assume by the smiley that you realize the inefficiency of the reverse conversion. 

 

Right

 

 

Ø  Also note that the EsbConsumer itself wouldn’t work well with multiple EsbEvents, since it needs to return the exact ID of the failed event during a failure scenario.  If it sends multiple events into the underlying publisher and then gets an exception, it wouldn’t know which event of that batch failed.  (I’m assuming that’s the reason why it always only sends a single event to the publisher in the current code.)

 

I could see in some cases where you would want more efficiency (larger batch size), and the case you note where you wouldn’t.  Maybe the call to the system would return which one failed, or maybe it is ok if there is a failure to just say it was the first in the batch and do them all again later… but yes, if we enable this we should make it configurable…

 

Thanks,

 

Chris

 

 




Archive powered by MHonArc 2.6.16.

Top of Page