Sunday, May 1, 2011

wcf guaranteed asynchronous call

Is there a way to configure WCF to do guaranteed asynchronous calls (remotely - on different machine)? I.e. something you would implement using some MQ messaging mechanism before WCF era.

From stackoverflow
  • Re clarification (comment) - you can use MSMQ as a WCF channel ;-p using the NetMsmqBinding and related bindings.

    See here, for example - or for an MSDN document, here.


    Well, you could enable the "Generate asynchronous operations" button in the IDE (or svcutil /async) - and use the async methods. In reality, the sync methods usually call the async methods internally and block on the reply.

    Is there some specific problem you are seeing?

    Grzenio : I was looking for something more reliable like the queues, e.g. when the server is temporarily down I want my calls to just queue and execute when it is up again.
    Marc Gravell : Ah... right; I'll edit

0 comments:

Post a Comment