title: How to use SubscriptionClient.OnMessage for a subscription that requires a session
body: <p>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).</p>
  
  <p>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...</p>
  
  <p>InvalidOperationException: It is not possible for an entity that requires sessions to create a non-sessionful message receiver</p>
  
  <p>Does anyone have a way to use the new OnMessage event with a subscription that requires a session?</p>