c# - NServiceBus issue, messages still in queue and handlers are not picking messages -
when hitting endpoint main method gets invoked subsequent handlers not pick messages queue. queue keeps building.
has encountered issue before? thanks,
so far not know neither architecture nor code, have guess here. please bear me if may not apply case.
several things come mind:
1.) did see tread? nservicebus bus.send().register(callback) not working on iis/windows server 2008
2.) there unhandled exception or there 1 gets silently caught , causes handler method halt reason.
3.) using wcf nservicebus? last week colleague implemented wcf service hosted nservicebus , had problem sounds similar yours. hit message handler first message, never handled subsequent message.
the reason handler never returned enum value return code (represented yourenum
in code snippet), defined in service inheritance definition (nservicebus documentation):
public class yourwcfservice : wcfservice<yourmessage, yourenum> { }
the calling service did not need return values, collegue did not return (i cannot tell why there no compilation errors, not code...). therefore handler method never finished correctly , no other messages handled.
Comments
Post a Comment