title: Spring Boot creating an XML endpoint
body: <p>I have been learning spring-boot for a while and building learning projects step by step. I am currently doing a project, what i am trying to achieve is building a web endpoint which receives an XML data/list as an input and write it to DB. </p>
  
  <p>To make my point clear:</p>
  
  <ul>
  <li>I have a JMS Queue and a working program that reads the Queue, parse it to defined xml format and publish it to an endpoint.</li>
  <li>My new project is supposed to listen for XML data, parse it based on a predefined class matching the XML structure (i am thinking of defining the structure with a class) and using JPA to persist an instance of the class(parsed XML) to the database.</li>
  <li>Previously i have some experience with basic RESTful web-service projects with GET,POST,DELETE methods.</li>
  </ul>
  
  <p>What i am asking is :</p>
  
  <ol>
  <li>Is my above outline feasible</li>
  <li>I can not find a way to implement parsing of an XML to an Object</li>
  <li>In the controller class (that's what i've been using for REST) what method do i use as an entry point.</li>
  </ol>
  
  <p>Thank you.</p>