title: Spring XD - instanceof in SpEL expression in filter
body: <p>I'm trying to use the instanceof operator in a SpEL expression in a filter for a stream.  I'm trying the following:</p>
  
  <pre><code>stream create myStream --definition "tap:job:jobName &gt; filter --expression='payload instanceof T(com.package.name.event.SomeEvent)' | log --deploy
  </code></pre>
  
  <p>I am publishing my own event to the xd.job.aggregatedEvents channel.  My intention is to log only my SomeEvent's by filtering using the instanceof operator.</p>
  
  <p>The problem is I am getting the following error:</p>
  
  <pre><code>org.springframework.expression.spel.SpelEvaluationException: EL1005E:(pos 0): Type cannot be found 'com.package.name.event.SomeEvent'
  </code></pre>
  
  <p>My question is can anyone advise me as to the proper syntax for instanceof in SpEL expressions? Or if this is correct syntax then what the problem might be?</p>