RSB - MessagePublicationException - There were no subscribers for XYZ. Works out if we stop the ASP.NET development server.

64 views
Skip to first unread message

Daventry

unread,
Aug 6, 2012, 6:34:19 AM8/6/12
to rhino-t...@googlegroups.com
Hi all,
 
We're sendind messages between a web application and a windows service.
 
I'm getting below exception when publishing a message from the windows service if have restarted my application without having stopped the ASP.NET development web server - i.e if I do right-click "Stop" before starting everything up, then it works out well.
 
Rhino.ServiceBus.Exceptions.MessagePublicationException: There were no subscribers for (Messages.FeedsImported)
   at Rhino.ServiceBus.Impl.DefaultServiceBus.Publish(Object[] messages)
   at Backend.Consumers.ImportFeedsConsumer.OnConsumer(ImportFeeds message)
 
Any ideas?
 
Thanks.

Corey Kaylor

unread,
Aug 6, 2012, 11:32:13 AM8/6/12
to rhino-t...@googlegroups.com
What are you using for subscription storage?

--
You received this message because you are subscribed to the Google Groups "Rhino Tools Dev" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rhino-tools-dev/-/Eg3Abdz2wcQJ.
To post to this group, send email to rhino-t...@googlegroups.com.
To unsubscribe from this group, send email to rhino-tools-d...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rhino-tools-dev?hl=en.

Daventry

unread,
Aug 6, 2012, 12:28:10 PM8/6/12
to rhino-t...@googlegroups.com
Rhino Queues
 

Corey Kaylor

unread,
Aug 6, 2012, 12:36:34 PM8/6/12
to rhino-t...@googlegroups.com
Are you removing any directories on startup?

On Mon, Aug 6, 2012 at 10:28 AM, Daventry <albert...@gmail.com> wrote:
Rhino Queues
 

--
You received this message because you are subscribed to the Google Groups "Rhino Tools Dev" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rhino-tools-dev/-/hcD-4jk1ac8J.

Daventry

unread,
Aug 6, 2012, 1:23:20 PM8/6/12
to rhino-t...@googlegroups.com
Yeah - Should I just create them if they don't exist?

Corey Kaylor

unread,
Aug 6, 2012, 1:39:14 PM8/6/12
to rhino-t...@googlegroups.com
When you delete those directories on startup you're deleting the subscriptions.

On Mon, Aug 6, 2012 at 11:23 AM, Daventry <albert...@gmail.com> wrote:
Yeah - Should I just create them if they don't exist?

--
You received this message because you are subscribed to the Google Groups "Rhino Tools Dev" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rhino-tools-dev/-/YQ7A1A1f5HkJ.

Daventry

unread,
Aug 6, 2012, 1:41:38 PM8/6/12
to rhino-t...@googlegroups.com
Cool, thanks!
Reply all
Reply to author
Forward
0 new messages