[rabbitmq-discuss] WCF Client question
Emile Joubert
emile at rabbitmq.com
Wed Sep 14 13:26:01 BST 2011
Hi Sotirios,
Op 09/09/11 19:41, het Sotirios Mantziaris geskryf:
> > Hi,
> >
> > i am using wcf with net.tcp duplex binding. For the lifetime of the
> > client the channel is open. When something happens the channel get
> > faulted and the client must be rebuild. is this the same case for a
> > rabbitmq wcf client (since it is a messaging platform)?
It depends what kind of fault you mean. If the fault is an instance of
System.ServiceModel.CommunicationException then clients can trap this
and take appropriate action. See the
RabbitMQ.ServiceModel.Test.FaultTest class for an example.
If the link between the client and the broker breaks then clients will
need to re-establish the binding. While not an WCF implementation, the
Message Patterns library shows how reconnecting is possible:
http://hg.rabbitmq.com/rabbitmq-dotnet-messagepatterns/
-Emile
More information about the rabbitmq-discuss
mailing list