I've been looking at the new message pump available with version 2.0 of the azure service bus. In particular, I'm using topics and subscriptions (and not the queues).
I can get the message pump to work with a non-session subscription and it raises the Message event whenever a brokeredMessage is available. However, when I try to use a subscription that requires a session, I get the following error...
InvalidOperationException: It is not possible for an entity that requires sessions to create a non-sessionful message receiver
Does anyone have a way to use the new OnMessage event with a subscription that requires a session?