A possible bug, and a question....

Sep 5, 2012 at 1:01 AM
Edited Sep 5, 2012 at 1:06 AM
  1. In PServiceBus.Services.Gateway\Runtime\ZeroMQMessageBus.cs, line 109, the whole method reads (assuming the latest code on codeplex is indeed the latest): 
    public void DeleteTopic(string name) {
           _client.Send(BusMessage.New(subscriberName: name, async: false)); //this is ln 109
    }
    
    I gues it should be:
    _client.Send(BusMessage.New(topicName: name, async: false));
    
    
  2. Do you plan to port the Rest service to MVC > 2.0, so it can be opened in VS 2012?
    If you'll agree, I may join the effort...

 10x,

Ariel

Coordinator
Sep 5, 2012 at 2:16 AM
Edited Sep 5, 2012 at 2:19 AM

Thanks for finding the bug, you are correct in term of what it should be.

As the Rest Service been created as MVC > 2.0. It should be a easy task to convert it over, since all the MVC project does is really just call the method from RestService class of PServiceBus.Services.Web. I think it would be nicer to convert it to MVC Web API

In the new version (2.0.1), I have made changes to Rest Service to support JSONP(Created for fail over for cross domain request) request also as needed

Sep 5, 2012 at 3:32 AM

Yep, MVC Web API was actually my intention....