Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-5149

The default injector should perform bean post processing to setup @Produce and the likes on the bean

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.9.1
    • 2.9.2, 2.10.0
    • camel-core
    • None
    • Unknown

    Description

      If you are not using Spring, Blueprint, Guice etc. And rely on the default implementation of the Injector, then that currently just creates a bean instance using the no-arg ctr. We should also perform bean post processing, which we have available from the DefaultCamelBeanPostProcessor which can inject @Procuce, @Consume etc. on the bean.

      See nabble
      http://camel.465427.n5.nabble.com/My-long-running-bean-sending-out-messages-tp5622710p5622710.html

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: