Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. WCF and WF
  4. WCF - MSMQ - Windows Service

WCF - MSMQ - Windows Service

Scheduled Pinned Locked Moved WCF and WF
csharpwcfsysadminwindows-admindata-structures
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    CPK_2011
    wrote on last edited by
    #1

    Hi, Let me explain you how I have to create to utilize msmqIntegrationBinding and netTcpBinding. The language I am using is C#. 1) Created a WCF Service Library project. 2) Created Windows Service project which has the above Library as reference 3) Configuration Settings(app.config) for WCF Service Library is placed in Windows Service project and the endpoints are defined here. The following is a piece of code for MSMQ endpoints. 4) Windows Service will be deployed in Server1 System. 5) TradeClient1 application will be residing on Client1 6) TradeClient2 application will be residing on Client2 Now my interest is create functions/procedures in WCF Service Library for this endpoints and a TradeClient1 to interact with msmqIntegrationBinding endpoint and TradeClient2 with netTcpBinding endpoint. Here MSMQ and Windows Service will be running all the time. 1) The TradeClient1 sends message to MSMQ of Client1 using msmqIntegrationBinding. 2) The message present in Client1 MSMQ will be forwarded to Server1 MSMQ (How this can be done?) 3) Windows Service which is running on the Server1 will track at any time for any new messages sent by Client1 in Server1 MSMQ (Should I go for public queue or private queue?) 4) If new message is found, it should check whether it is a duplicate message from client (To implement MessageQueueTransactionType.Automatic) 5) If it is a new Message either Windows Service or Server1 MSMQ forwards the message to Client2 MSMQ over the network 6) The MSMQ present in Client2 will receive message from Windows Service 7) When TradeClient2 is up it should read messages from MSMQ and update accordingly. One last thing to mention... I would not like to go for Active Directory as we are only using LAN. Could you give any guidelines in proceeding this way!!

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups