NServiceBus Unicast debugging -


i have several websites push messages remote msmq (so can published list of subscribers). because websites don't consume messages -- it's send-and-forget set -- have following config in web.config sites:

<unicastbusconfig>   <messageendpointmappings>     <add messages="mynamespace.messages" endpoint="publishinginputqueue@remoteserver" />   </messageendpointmappings> </unicastbusconfig> 

i'm trying chase down bug intermittently messages appear sent via bus.send(..) (no exceptions thrown), messages never make destination queue.

is there other configuration can diagnose issue? there way set error queue messages fail unicastbus? simple establishing error queue in msmqtransportconfig (which don't have in config?)

update

a little more context...

  • as mentioned in comments, i'm seeing bunch of messages apparently piled in outgoing message queue of web server(s). (i can't view actual messages, can see count > 0 when clicking on "outgoing queues" in computer management.)
  • the publisher created destination queue (on remoteserver) has .istransactional(true) in nservicebus startup code.
  • the clients push queue via unicastbus has .istransactional(false) in nservicebus startup code.
  • this doesn't seem cause issue other client websites push destination queue. however:
    • the webservers don't seem fail windows server 2008
    • the webservers fail windows server 2003
    • no clue if makes difference or not
  • the domain user application pools run under has full permissions destination queue.

for completeness sake:

it turned out active directory objects used msmq service on servers out of sync. believe occurred when our devops team created single server instance, set up, , cloned other server instances in cluster. initial server worked correctly (explaining intermittent success), cloned instances had out-of-sync ad object msmq. deleting objects allow recreation fixed issue.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -