title: Spring @Configuration for channels
body: <p>I am trying to replace our spring xml configuration with java configuration.</p>
  
  <p>I have found plenty of pages telling me how to create beans in a spring configuration file. None explaining how to reproduce other sort of configuration  for some examples (from our jms-context)</p>
  
  <pre><code>&lt;int:channel id="jms-inbound"/&gt;
  
   &lt;orcl:aq-jms-connection-factory id="connectionFactory"
                                      data-source="dataSource"
                                      use-local-data-source-transaction="true"/&gt;
  
   &lt;int-jms:message-driven-channel-adapter
              id="serviceRequestAdapter"
              channel="jms-inbound"
              connection-factory="connectionFactory"
              destination-name="${service-request-router.oracle.rqst-q-name}"/&gt;
  </code></pre>
  
  <p>Can anybody help me understand how to do this?</p>
  
  <p>I suppose I don't even know the correct words to google, apparently this is spring integration, thanks to a theBeacon's comment below.</p>