title: Spring Integration DSL : Send messages to multiple subscribers (not to all subscribers) based on the message payload
body: <p>I have to create a pipeline to send messages to multiple subscribers, I can achieve this using publishSubscribeChannel. </p>
  
  <p>But in my case when I receive the message - I have a eventSubType like </p>
  
  <pre><code>&lt;ns1:eventSubType&gt;0:INIT-SHIP-ASSIGN,BKD,&lt;/ns1:eventSubType&gt;
  </code></pre>
  
  <p>I have to check if the eventSubType Contains INIT-SHIP-ASSIGN then I will route it o "INIT-SHIP-ASSIGN" channel and if its "BKD" then I have to route it to "Booked" channel. Similarly we have other eventSubTypes. </p>
  
  <p>My challenge is - I have 5 different subtypes and in each message we can have multiple subtypes. So, based on the event subtypes (can be more than 1) available in the message, we have to send the message to the multiple subscribers but not to all the subscribers.</p>
  
  <p>Please suggest</p>