Claus Ibsen created CAMEL-8354:
----------------------------------
Summary: Bean component - Should not support consumer
Key: CAMEL-8354
URL: https://issues.apache.org/jira/browse/CAMEL-8354
Project: Camel
Issue Type: Improvement
Components: camel-core
Reporter: Claus Ibsen
Assignee: Claus Ibsen
Fix For: 2.15.0
The bean component should be a producer only, which makes most sence, eg to
call a bean by sending a message to it, where the message is data for the bean
parameters.
We should remove support for consumer, which was not intended but was possible
due its use of ProcessorEndpoint and being based on old stuff from 1.x days.
The bean component should also be more aligned like the other components and
how it setup and initializes itself, using doStart / doStop as others do.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)