Loïc RODIER created CAMEL-5850:
----------------------------------
Summary: @Inject of bean containing a method @consume lead to
multiplication endpoint consumer
Key: CAMEL-5850
URL: https://issues.apache.org/jira/browse/CAMEL-5850
Project: Camel
Issue Type: Bug
Components: camel-cdi
Affects Versions: 2.11.0
Environment: dev
Reporter: Loïc RODIER
Priority: Minor
All is in the title!
If a cdi bean contain a method @consume each time you inject this bean a new
consumer is created which lead to a camel error ("Cannot add a 2nd consumer to
the same endpoint. Endpoint Endpoint[direct://stop] only allows one consumer").
It's maybe a bad usage ? what do you think ?
Regards Loïc
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira