title: Can someone give me simple spring integration with mule?
body: <p>I am integrating a spring project with Mule and a, getting below error in startup. Is there any best reference I can use for spring mule integration with a full flow?</p>
  
  <h2>Mule Flow configuration</h2>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;mule xmlns:mulexml="http://www.mulesoft.org/schema/mule/xml"
      xmlns:file="http://www.mulesoft.org/schema/mule/file" xmlns="http://www.mulesoft.org/schema/mule/core"
      xmlns:doc="http://www.mulesoft.org/schema/mule/documentation"
      xmlns:spring="http://www.springframework.org/schema/beans" version="EE-3.7.0"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-current.xsd
  http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd
  http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd
  http://www.mulesoft.org/schema/mule/file http://www.mulesoft.org/schema/mule/file/current/mule-file.xsd
  http://www.mulesoft.org/schema/mule/xml http://www.mulesoft.org/schema/mule/xml/current/mule-xml.xsd"&gt;
  
  
  &lt;spring:beans&gt;
      &lt;spring:import resource="classpath:app-spring.xml"/&gt;
  &lt;/spring:beans&gt;
  
      &lt;file:connector name="File" autoDelete="true" streaming="true" validateConnections="true" doc:name="File" /&gt;
      &lt;mulexml:jaxb-context name="JAXB_Context" packageNames="com.dbs.ibgt.scf.eventhandler" doc:name="JAXB Context" /&gt;
  
      &lt;flow name="Push  Transactions to IMEX"&gt;
          &lt;file:inbound-endpoint responseTimeout="10000" doc:name="File" path="D:\SCF\eh_in" /&gt;
          &lt;mulexml:jaxb-xml-to-object-transformer jaxbContext-ref="JAXB_Context" doc:name="XML to JAXB Object" returnClass="com.eventhandler.EventHandlerMessage" /&gt;
          &lt;set-session-variable variableName="jaxbObject" value="#[payload]" doc:name="Set the Jaxb Object" /&gt;
  
      &lt;component&gt;
        &lt;spring-object bean="EventChecker"&gt;
              &lt;property-entry-point-resolver property = "checkEvent" /&gt;
        &lt;/spring-object&gt;
      &lt;/component&gt;
  
          &lt;logger level="INFO" doc:name="Logger" message="message=&amp;quot;#[message.payload]&amp;quot;" /&gt;
      &lt;/flow&gt;
  
  &lt;/mule&gt;
  </code></pre>
  
  <h2>Java File</h2>
  
  <pre><code>@Component
  public class EventChecker {
  
      public String checkEvent()
      {
          System.out.println("Inside Check Event");
          return "SEND_IMEX";
      }
  }
  </code></pre>
  
  <h2>Error Stack.....</h2>
  
  <blockquote>
    <p>INFO: Initializing Spring root WebApplicationContext
    org.mule.api.config.ConfigurationException: Line 35 in XML document
    from URL
    [file:/D:/Work/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/...../WEB-INF/classes/EventHandler.xml]
    is invalid; nested exception is org.xml.sax.SAXParseException;
    lineNumber: 35; columnNumber: 66; cvc-complex-type.2.4.a: Invalid
    content was found starting with element
    'property-entry-point-resolver'. One of
    '{"<a href="http://www.mulesoft.org/schema/mule/core" rel="nofollow">http://www.mulesoft.org/schema/mule/core</a>":property,
    "<a href="http://www.mulesoft.org/schema/mule/core" rel="nofollow">http://www.mulesoft.org/schema/mule/core</a>":properties}' is expected.
    (org.mule.api.lifecycle.InitialisationException)  at
    org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:49)
      at
    org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69)
      at
    org.mule.context.DefaultMuleContextFactory$2.configure(DefaultMuleContextFactory.java:103)
      at
    org.mule.context.DefaultMuleContextFactory.doCreateMuleContext(DefaultMuleContextFactory.java:217)
      at
    org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:98)
      at
    org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:57)
      at
    com.dbs.ibgt.scf.startup.MuleStartup.contextInitialized(MuleStartup.java:57)
      at
    org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4973)
      at
    org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)
      at
    org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      at
    org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
      at
    org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
      at java.util.concurrent.FutureTask.run(FutureTask.java:262)     at
    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:745)</p>
  </blockquote>