title: SMTP With JMS Technology
body: <p>I know the concept of Message Driven Beans within the EJB/Spring Framework. I know how to send e-mails using the Java Mail API and I know the JMS Architecture in terms of the 2 protocols:</p>
  
  <ul>
  <li>publish and subscribe (Topic)</li>
  <li>point to point (Queue)</li>
  </ul>
  
  <p>I have to use JMS as the technology to process e-mails. Java Spring provides Message Driven Beans support and JMS support. My question is how can I configure JMS Queues for an SMTP Server? I cannot find anything online about this, but people have done it.</p>
  
  <p>So what I would like to do is, the message queue would listen for e-mails coming in and when an e-mail comes in then it does some processing. I know I have to use Message Driven Beans but the question is how can I configure JMS with the connection to an SMTP Server.</p>
  
  <p>Any help would be appreciated. It would be great if you could include some examples. I have tried looking on Google but nothing shows up.</p>