Hi all,

I was working on porting the fix in [1] to MB 3.0.0 and observed that the
RabbitMQ .net client sample we provide is no longer working with the
current pack. It fails to connect to the broker at all and gives the
following error :

Error :: None of the specified endpoints were reachable   at
RabbitMQ.Client.ConnectionFactory.CreateConnection()
   at RabbitMQQueuePublisher.Program.PublishMessage(String message) in
C:\Users\
Administrator\Downloads\RabbitMQQueuePublisher\RabbitMQQueuePublisher\RabbitMQQueuePublisher\Program.cs:line
49
Inner Exception :: Connection failed   at
RabbitMQ.Client.Impl.SocketFrameHandler.Connect(TcpClient socket,
AmqpTcpEndpoint endpoint, Int32 timeout)
   at RabbitMQ.Client.Impl.SocketFrameHandler..ctor(AmqpTcpEndpoint
endpoint, ObtainSocket socketFactory, Int32 timeout)
   at
RabbitMQ.Client.Framing.Impl.ProtocolBase.CreateFrameHandler(AmqpTcpEndpoint
endpoint, ObtainSocket socketFactory, Int32 timeout)
   at RabbitMQ.Client.ConnectionFactory.CreateFrameHandler()
   at RabbitMQ.Client.ConnectionFactory.CreateConnection()

This however works fine with MB 2.2.0.

Meanwhile, the fix works fine for our java client as at now. Refer local
commit [2]. I'm still working on this.

[1] : https://wso2.org/jira/browse/MB-878
[2] :
https://github.com/hastef88/andes/commit/0270ebcfcc04667c5e04456bb0cfd291e6f49dde



-- 
Cheers,

Hasitha Amal De Silva
 Software Engineer
Mobile : 0772037426
Blog    : http://devnutshell.tumblr.com/
WSO2 Inc.: http://wso2.com ( lean.enterprise.middleware. )
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to