anchor.diff:  
   The routing DSL then looks like this
   
  -[source,syntaxhighlighter-pre]
  +[source,java]
   ----
   from("activemq:someQueue").
     to("bean:myBean");
   ----
   
   Here *myBean* would be looked up in the xref:registry.adoc[Registry]
  -(such as JNDI or the Spring ApplicationContext), then the body of the
  -message would be used to try figure out what method to call.
  -
  -If you want to be explicit you can use
  -
  -[source,syntaxhighlighter-pre]
  +then the body of the message would be used to try figure out what method to call.
  +
  +If you want to be explicit you can use:
  +
  +[source,java]
   ----
   from("activemq:someQueue").
     to("bean:myBean?methodName=doSomething");
  
positive.code: }
  ----
  
  And finally we just need to remember to have our bean registered in the
  Spring xref:registry.adoc[Registry]:
  
  [source,syntaxhighlighter-pre]
  ----
     <bean id="myCorrelationIdGenerator" class="com.mycompany.MySimpleIdGenerator"/>
  ----
  
  [[ParameterBindingAnnotations-Exampleusing]]
  ==== Example using xref:components:languages:groovy-language.adoc[Groovy]
  
  In this example we have an Exchange that has a User object stored in the
  in header. This User object has methods to get some user information. We
  want to use xref:components:languages:groovy-language.adoc[Groovy] to inject an expression that
  extracts and concats the fullname of the user into the fullName
  parameter.
  
  [source,syntaxhighlighter-pre]
  ----
      public void doSomething(@Groovy("$request.header['user'].firstName $request.header['user'].familyName) String fullName, @Body String body) {
          // process the inbound message here
      }
  ----
  
  Groovy supports GStrings that is like a template where we can insert $
  placeholders that will be evaluated by Groovy.
  
negative.code: ----
  
  In the above Camel will extract the value of
  `Message.getJMSCorrelationID()`, then using the
  xref:type-converter.adoc[Type Converter] to adapt the value to the type
  of the parameter if required - it will inject the parameter value for
  the *correlationID* parameter. Then the payload of the message will be
  converted to a String and injected into the *body* parameter.
  
  TIP: You don't necessarily need to use the `@Consume` annotation if you don't
  want to as you could also make use of the Camel xref:dsl.adoc[DSL] to
  route to the bean's method as well.
  
  === Using the DSL to invoke the bean method
  
  Here is another example which does not use xref:pojo-consuming.adoc[POJO
  Consuming] annotations but instead uses the xref:dsl.adoc[DSL] to route
  messages to the bean method
  
  [source,java]
  ----
  public class MyBean {
  
      public void doSomething(@Header("JMSCorrelationID") String correlationID, @Body String body) {
          // process the inbound message here
      }
  