anchor.diff:  
   [source,java]
   ----
  -from("activemq:myQueue").to("myProcessor");
  +from("activemq:myQueue").process("myProcessor");
   ----
  -
  -[[Processor-UsingtheprocessDSL]]
  -=== Using the process DSL
   
   In your route you can also use the `process` DSL syntax for invoking a
   processor.
  
positive.code: ----
  
  You can then easily use this inside a route by declaring the bean in
  Spring, say via the XML (or registering it in JNDI if that is your
  xref:registry.adoc[Registry]):
  
  [source,xml]
  ----
  
negative.code: ----
  
  If you need to lookup the processor in the xref:registry.adoc[Registry]
  then you can do:
  
  [source,java]
  ----
  from("activemq:myQueue").process("myProcessor");
  ----
  
  [[Processor-Whyuseprocesswhenyoucanusetoinstead]]
  