title: Spring integration groovy scripting
body: <p>How can i use registered beans in </p>
  
  <p>For example like this:</p>
  
  <pre><code>&lt;chain&gt;
  &lt;si-groovy:script&gt;
  def check = myCheckBean.checkPayload(payload)
  myLogBean.log(paylod)
  if (check==null) throws new Exception("Verify falt")
  &lt;/si-groovy:script&gt;
  &lt;chain&gt;
  </code></pre>