Here is a small quickstart: https://github.com/krasa/camel-quickstart

I noticed now that nabble did not send some text I wrote, so again, this
thing makes camel unhappy:

errorHandler(deadLetterChannel("direct:notificationFailure"))



2014-07-14 21:28 GMT+02:00 Claus Ibsen <claus.ib...@gmail.com>:

> Hi
>
> Can you tell a bit more how you startup Camel? And what version do you use?
> Are you using camel-spring-javaconfig or something else?
>
> On Mon, Jul 14, 2014 at 6:12 PM, meo <vojta.kr...@gmail.com> wrote:
> > Hello,
> >
> > I am using org.apache.camel.builder.RouteBuilder as a spring bean, which
> > creates a route in #configure method containing
> >
> >
> > The bean is then used here:
> >
> > @Configuration
> > public class CommonCamelConfig extends CamelConfiguration {
> >
> >         @Autowired
> >         private List<RouteBuilder> routeBuilders;
> >
> >         @Override
> >         public List<RouteBuilder> routes() {
> >                 return routeBuilders;
> >         }
> > }
> >
> >
> > This message is printed on startup:
> > WARN  o.a.c.i.DefaultCamelBeanPostProcessor  - No CamelContext defined
> yet
> > so cannot inject into bean:
> > org.apache.camel.component.direct.DirectComponent
> >
> > Am I doing something wrong?
> >
> > Thanks.
> >
> >
> >
> > --
> > View this message in context:
> http://camel.465427.n5.nabble.com/Warn-message-on-startup-due-to-deadLetterChannel-used-in-route-made-in-Spring-Java-Config-tp5753787.html
> > Sent from the Camel - Users mailing list archive at Nabble.com.
>
>
>
> --
> Claus Ibsen
> -----------------
> Red Hat, Inc.
> Email: cib...@redhat.com
> Twitter: davsclaus
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen
> hawtio: http://hawt.io/
> fabric8: http://fabric8.io/
>

Reply via email to