Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: CAMEL-759

...

Code Block
bean:someName[?methodName=someMethodoptions]

Where someName can be any string which is used to lookup the bean in the Registry and

Options

Name

Description

Example

Required?

default value

method

The method name that bean will be inovked

method=someMethod

No

someMethod defines the name of the method to invoke

...

,This will use the Bean Binding to map the message exchange to the bean.

multiParameterArray

How to treat the parameters which are passed from the message body, if it is true, the in message body should be the an array of parameters

mulitParamterArray=true

No

false

Using

The object instance that is used to consume messages must be explicitly registered with the Registry. For example if you are using Spring you must define the bean in the spring.xml; or if you don't use Spring then put the bean in JNDI.

...