Quantcast
Channel: THWACK: All Content - Serv-U FTP Server & MFT Server
Viewing all articles
Browse latest Browse all 659

Writing to transactional or remote MSMQ on event

$
0
0

I'm trying to build a bus between Serv-U and SQL Server that registers file uploads. To that end, I've built a WCF service using msmqIntegrationBinding to receive the queue messages written by Serv-U and update a database table. Mostly this works fine, but I have two issues:

 

  1. WCF has an auto-retry feature built into its MSMQ bindings that I would like to leverage for when the SQL update fails, but this feature only works with transactional queues, and Serv-U will seemingly only write to non-transactional queues. Is it possible to write to a transactional queue?
  2. I can't write to a remote queue, only a local one. The documentation I've found indicates this should not be an issue: "Message Queue Path: The MSMQ path that addresses the queue. Remote queues can be addressed when a full path (for example, MessageServer\Serv-U Message Queue) is specified." I'm sure I'm just getting the syntax wrong, but I have tried every permutation I can think of to address the remote queue. I have verified that I can write to the remote queue from the Serv-U server outside of Serv-U. Is there an example of the syntax for addressing a remote queue ("MessageServer\Serv-U Message Queue" as cited does not work).

Viewing all articles
Browse latest Browse all 659

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>