You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2019/07/08 13:19:00 UTC

[jira] [Created] (CAMEL-13736) Camel main - Support bean post processing on @BindToRegistry

Claus Ibsen created CAMEL-13736:
-----------------------------------

             Summary: Camel main - Support bean post processing on @BindToRegistry
                 Key: CAMEL-13736
                 URL: https://issues.apache.org/jira/browse/CAMEL-13736
             Project: Camel
          Issue Type: Improvement
          Components: camel-core
            Reporter: Claus Ibsen
             Fix For: 3.0.0, 3.0.0.M5


When creating a new bean such as

@BindToRegistry
public MyBean myBean() {
  return new MyBean();
}

We can have a way to support bean post processing so we can do ioc injection on the created bean.

There can maybe be an option on camel main you can turn on | off. 

Also we can support this for fields only, if you dont need to do any customization

@BindToRegistry
private MyBean myBean




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)