anchor.diff:  ----
   
   If you need to lookup the processor in the xref:registry.adoc[Registry]
  -then you should use the `processRef` DSL:
  +then you can do:
   
   [source,java]
   ----
  -from("activemq:myQueue").processRef("myProcessor");
  +from("activemq:myQueue").process("myProcessor");
   ----
   
   [[Processor-Whyuseprocesswhenyoucanusetoinstead]]
  
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: 
  [source,java]
  ----
  from("activemq:myQueue").process("myProcessor");
  ----
  
  In your route you can also use the `process` DSL syntax for invoking a
  processor.
  