nservicebus - The destination queue '<QueueName>@<servername>' could not be found -


while testing pub/sub model, changed name of subscriber queue, while subscription old queue still exists in db, there dangling subscription in db.

so when publisher , subscriber started , tried send message publisher, following exception happened , publisher stopped , no longer send more message

2011-02-09 09:56:21,115 [6] error publisher.serverendpoint [(null)] <(null)> - problem occurred when starting endpoint. system.configuration.configurationerrorsexception: destination queue 'storeinputqueue@' not found. may have misconfigured destination kind of message (message.eventmessage) in messageendpointmappings of unicastbusconfig section in configuration file.it may case given queue hasn't been created yet, or has been deleted. ---> system.messaging.messagequeueexception: queue not exist or not have sufficient permissions perform operation. @ system.messaging.messagequeue.mqcacheableinfo.get_writehandle() @ system.messaging.messagequeue.stalesafesendmessage(mqprops properties, intptr transaction) @ system.messaging.messagequeue.sendinternal(object obj, messagequeuetransaction internaltransaction, messagequeuetransactiontype transactiontype) @ system.messaging.messagequeue.send(object obj, messagequeuetransactiontype transactiontype) @ nservicebus.unicast.transport.msmq.msmqtransport.send(transportmessage m, string destination) in d:\buildagent-02\work\20b5f701adefe8f8\src\impl\unicast\nservicebus.unicast.msmq\msmqtransport.cs:line 334 --- end of inner exception stack trace --- @ nservicebus.unicast.transport.msmq.msmqtransport.send(transportmessage m, string destination) in d:\buildagent-02\work\20b5f701adefe8f8\src\impl\unicast\nservicebus.unicast.msmq\msmqtransport.cs:line 346 @ nservicebus.unicast.unicastbus.sendmessage(ienumerable`1 destinations, string correlationid, messageintentenum messageintent, imessage[] messages) in d:\buildagent-02\work\20b5f701adefe8f8\src\unicast\nservicebus.unicast\unicastbus.cs:line 593 @ nservicebus.unicast.unicastbus.publish[t](t[] messages) in d:\buildagent-02\work\20b5f701adefe8f8\src\unicast\nservicebus.unicast\unicastbus.cs:line 343 @ publisher.serverendpoint.run() in c:\downloads\esb\nservicebus\publisher\publisher\serverendpoint.cs:line 26 @ nservicebus.host.internal.configmanager.<>c_displayclass1.b_0() in d:\buildagent-02\work\20b5f701adefe8f8\src\host\nservicebus.host\internal\configurationmanager.cs:line 56

is there timeout period after try send message rest of subscribers, waited quite long...

i don't think retry.

pulling rug (queue) out under running endpoint not thing do. in production should never happen.

since you're testing, delete offending subscription row database, , restart endpoint, , should fine.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -