title: To Stop and Start subscriber on API call
body: <p>I've been trying to stop and start subscriber for a <code>SubscribableChannel</code> but there seems to be no way to fetch the MessageHandler used to call the <code>unsubscribe</code> function.</p>
  
  <p>Using the default autowired bean for MessageHandler gives some default error handler, instead of the channel which I want to unsubscribe from.</p>
  
  <p>What is the way to acheive this? to call <code>unsubscribe()</code> and <code>subscribe()</code> at run time.</p>
  
  <p>I know of the pause/resume functionality which will be released soon, but can't wait for it and cannot directly use spring-kafka. Hence, trying this as a alternative approach.</p>
  
  <p><a href="https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/issues/261" rel="nofollow noreferrer">https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/issues/261</a></p>