Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
from("activemq:someQueue").
  to("bean:myBean?methodName=doSomething");

Using Expression Languages

You can also use any of the Languages supported in Camel to bind expressions to method parameters when using bean integration. For example you can use any of these annotations...

Annotation

Description

@EL

Inject an EL expression

@Simple

Inject an Simple expression

@XPath

Inject an XPath expression

@XQuery

Inject an XQuery expression