title: How to filter messages in apache camel
body: <p>In my application build using apache camel (mavenized, spring dsl) , i am reading messages from
  a queue, about 3/5 of the messages need to be discarded based on some conditions in data in payload.</p>
  
  <p>But i am new to apache camel and dont know how to call a bean's method and based on
  return value (boolean) , if true forward the message to next bean for processing.</p>
  
  <p>JMS queue => Filter (Bean's method) => (true) =>Bean(process data) </p>