title: Error in SpEL while using Spring-Integration Gemfire support
body: <p>I am using Spring-Integration 3.0 and Spring-Integration Gemfire support. I wanted my inbound-channel-adapter to pick up the objects in cache as payload based on SpEL expression. I have written a custom expression evaluator class to check the properties of payload to select by the input adapter. 
  The class code is as below:</p>
  
  <pre><code>@Component
  public class GraphMatchingUtil {
  
  public static boolean evaluate(NodeGraph nodeGraph){
      if(nodeGraph.getLastProcessedTS()!=null){
  
          if(nodeGraph.getLastProcessedTS().getTime() -  DateTimeUtil.createTimestamp().getTime() &gt; 100000){
              return true;
          }
      }
      else{
          if(nodeGraph.getCreateTS().getTime() -  DateTimeUtil.createTimestamp().getTime() &gt; 100000){
              return true;
          }
      }
      return false;
  }
  </code></pre>
  
  <p>}</p>
  
  <p>And the configuration code is as below</p>
  
  <pre><code>&lt;int:spel-function id="match" class="com.equ.util.GraphMatchingUtil" method="evaluate(com.equ.bo.NodeGraph)"/&gt;
  &lt;int-gfe:inbound-channel-adapter id="graphadapter" channel="reconchannel" region="cacheRegion" cache-events="CREATED, UPDATED" expression="@match(payload)==true"/&gt;
  </code></pre>
  
  <p>However I am getting the below error after executing this code:</p>
  
  <pre><code>Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'graphadapter': Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
  PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'payloadExpression' threw exception; nested exception is org.springframework.expression.spel.SpelParseException: EL1041E:(pos 6): After parsing a valid expression, there is still more data in the expression: 'lparen(()'
       Caused by: org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
       PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'payloadExpression' threw exception; nested exception is org.springframework.expression.spel.SpelParseException: EL1041E:(pos 6): After parsing a valid expression, there is still more data in the expression: 'lparen(()'
  </code></pre>
  
  <p>Can anyone help me in understanding whats wrong with it?</p>
  
  <p>After replacing @ with # I got this error:</p>
  
  <pre><code>   org.springframework.expression.spel.SpelEvaluationException: EL1008E:(pos 0): Field or property 'payload' cannot be found on object of type 'com.gemstone.gemfire.internal.cache.EntryEventImpl'
  </code></pre>