I’ve found various posts on this, but none of them enabled me to get my problem resolved.
My service receives a message and sends back an acknowledge message, by using Bus.Reply() method.
I tested this with a message sender and a self-hosted service that receives the message, both running on the same machine, and it works fine. If, however, the message sender and the service are on separate machines, the acknowledge message gets stuck in the outgoing queue.
I noticed that the queue name in ‘Outgoing Queues’ reads: DIRECT=OS:S5038789VM05DEV\private$\cs.isr.whitelabeling.bus – not a fully qualified domain name! So that probably explains.
I checked the following things:
- On Message Queueing Properties, in Server Security tab: un-checked “disable un-authenticated RPC calls”, but this didn’t help.
- Ping: only works if I provide the full NetBIOS and domain name, NetBIOS name alone doesn’t work. I added the NetBIOS name to the lmhosts.sam file, but to no avail. Plus there are suggestions not to use that file in a production environment, as it seems to be some outdated way of handling networking (e.g. the IP address may change)
- DTCPing: same story here, I couldn’t get it to work, the hostname could not be resolved
One suggestion was to use message mutators. But the convenient thing about the Reply() method is that I don’t have to know where the message is coming from, and I really don’t want to know it! We’re in a dynamic environment, where configuring and syncing host names would be a nightmare. So if I mutate the message, I’m back to needing to know the specifics of the remote host. And isn’t the whole “ServiceBus” idea to loosely couple systems? If I can’t do that I always have be aware of every participating system’s whereabouts, constantly synching my configuration.
I have no idea what else to do to enable message sending. Is there anything in addition I need to configure? Or is it a problem to use the “Reply” method in the first place?
Any ideas or hints are welcome. Many thanks – David
To unsubscribe from this group and stop receiving emails from it, send an email to particularsoftware+unsub...@googlegroups.com.
I haven't got that patch, but according to the description I run the command "netstat -ano | findstr 1801" to check whether this issue has occurred. My result suggests it hasn't, so I suppose I don't need the patch.