c# - Can't get MassTransit with MSMQ to work on IIS Express -



c# - Can't get MassTransit with MSMQ to work on IIS Express -

i have .net mvc 4 web app uses masstransit msmq. have several legacy apps utilize msmq, i'm constrained protocol. client code in application_start() in global.asax.cs file looks this:

bus.initialize(sbc => { sbc.usemsmq(a => a.usesubscriptionservice("msmq://localhost/mt_subscriptions")); sbc.receivefrom("msmq://localhost/webconsole?tx=false&recoverable=false"); sbc.usecontrolbus(); sbc.usebinaryserializer(); });

i'm running app on windows 8.1 developer box, , phone call completes & communications work expected when run on iis 8.5. however, when run on iis express 8.0, phone call never completes , throw timeout error. found next in iis express faq:

q: iis express back upwards non-http protocols such net.tcp or msmq? a: no. iis express supports http , https protocol.

ok, fair enough, don't understand web server has msmq (aside using msmq on http, not attempting do); don't have "msmq://" routes or that. doesn't masstransit utilize msmq straight without going through web server? , can't believe i'm developer out there develops on iis express masstransit.

any insights going on here? thanks!

so did figure out, thought post reply perhaps save else banging head against particular wall. during startup, masstransit looks see if windows performance counters available. reason, checking existence when running on iis express results in hung call. can find entire give-and-take thread on subject here, it's been issue signalr , windsor castle developers: https://groups.google.com/forum/#!topic/masstransit-discuss/pz7tts7nigq. result of discussion, masstransit developers added disableperformancecounters() method api, , calling method when creating service bus fixed problem.

c# asp.net msmq iis-express masstransit

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -