EJB

EJB

Description: EJB component to invoke EJBs like the org.apache.camel.component.bean.BeanComponent.
Scheme: ejb
Syntax: ejb:beanName
Maven: org.apache.camel/camel-ejb/2.16.1
Name Kind Group Required Default Type Enum Description
beanName path producer true java.lang.String Sets the name of the bean to invoke
method parameter producer java.lang.String Sets the name of the method to invoke on the bean
cache parameter advanced boolean If enabled, Camel will cache the result of the first Registry look-up. Cache can be enabled if the bean in the Registry is defined as a singleton scope.
exchangePattern parameter advanced InOnly org.apache.camel.ExchangePattern InOnly
RobustInOnly
InOut
InOptionalOut
OutOnly
RobustOutOnly
OutIn
OutOptionalIn
Sets the default exchange pattern when creating an exchange
multiParameterArray parameter advanced boolean How to treat the parameters which are passed from the message body.true means the message body should be an array of parameters. Note: This option is used internally by Camel, and is not intended for end users to use.
parameters parameter advanced java.util.Map Used for configuring additional properties on the bean
synchronous parameter advanced false boolean Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).