git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: o.a.c.i.DefaultCamelBeanPostProcessor : No CamelContext defined yet so cannot inject into bean:


when i tried use to fixed version for example 2.22.2 i got below problem
also same problem with other version 2.23.0 . which maven repo should i use
to get but fix version

2.22.2, org.apache.camel:camel-test-spring:jar:2.22.2: Could not find
artifact org.apache.camel:camel-spring-boot-starter:jar:2.22.2 in central (
https://repo.maven.apache.org/maven2) -> [Help 1]
[ERROR]

On Thu, Oct 11, 2018 at 1:40 PM Zoran Regvart-2 [via Camel] <
ml+s465427n5824590h96@xxxxxxxxxxxxx> wrote:

> Hi,
> this was recently fixed with CAMEL-12087[1]
>
> zoran
>
> [1] https://issues.apache.org/jira/browse/CAMEL-12087
>
> On Wed, Oct 10, 2018 at 9:50 AM, Wang Yan <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=5824590&i=0>> wrote:
>
> > Hello All,
> >
> > I am running Apache Camel as SpringBoot application
> >
> > Everything is ok. but when i start it, I saw a warning  No CamelContext
> > defined yet
> >
> > but actually in my Route i could get it , and it is also initialized, i
> > used log to check and trace it
> >
> > Then Version
> >        <camel.version>2.22.0</camel.version>
> >         <springboot.version>2.0.4.RELEASE</springboot.version>
> >            JDK i used is 1.8, it is the only different with example of
> > camel springboot
> >
> > * o.a.c.i.DefaultCamelBeanPostProcessor    : No CamelContext defined yet
> so
> > cannot inject into bean:
> > org.apache.camel.converter.jaxb.FallbackTypeConverter*
> >
> > *Then I add **CamelContext camelContext as below shown, but it does not
> > help, still have same warning message*
> >
> > *Any idea or suggestion? *
> >
> > *@SpringBootApplication*
> > *public class SpringbootCameApplication {*
> >
> >
> > * @Autowired*
> > * CamelContext camelContext;*
>
>
>
> --
> Zoran Regvart
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://camel.465427.n5.nabble.com/o-a-c-i-DefaultCamelBeanPostProcessor-No-CamelContext-defined-yet-so-cannot-inject-into-bean-tp5824553p5824590.html
> To unsubscribe from o.a.c.i.DefaultCamelBeanPostProcessor : No
> CamelContext defined yet so cannot inject into bean:, click here
> <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5824553&code=d3lhbmJveEBnbWFpbC5jb218NTgyNDU1M3wxMTU1MzAzODM=>
> .
> NAML
> <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>