Thanks Claus.  I will have to recreate.  I swapped out undertow to just use 
camel-http and my problem was solved.

On 2021/08/13 04:36:00, Claus Ibsen <claus.ib...@gmail.com> wrote: 
> Hi
> 
> Can you create a JIRA ticket and if possible put together a sample
> project that reproduces this with spring boot, and put somewhere like
> on github or attach the jira as a .zip file.
> That helps us to work on this quicker.
> 
> 
> On Thu, Aug 12, 2021 at 9:48 PM Bob Jolliffe <bobjolli...@gmail.com> wrote:
> >
> > I am having the same problem that Tim has had.  I see there is no reply to 
> > his message so let me try and nudge it here.
> >
> > In my case the version is 3.11.1 and Spring Boot 2.5.3.  I am trying 
> > everything but ,like Tim, I cant get past "Cannot find RestProducerFactory 
> > in Registry or as a Component to use".  I have
> >
> >     <dependency>
> >       <groupId>org.springframework.boot</groupId>
> >       <artifactId>spring-boot-starter-undertow</artifactId>
> >     </dependency>
> >
> > Is there something explicit I need to do to register the "undertow" 
> > RestProducerFactory bean?
> >
> > Regards
> > Bob
> >
> > On 2020/12/16 21:00:45, Tim Adams <tim.j.ad...@albertautilitybilling.ca> 
> > wrote:
> > > I have a camel-rest consumer working properly, but I am not able to make 
> > > a rest request from a route as per the examples in 
> > > https://camel.apache.org/components/latest/rest-component.html.
> > >
> > > I am using Spring Boot 2.3.5.RELEASE and Camel version 3.5.0.
> > >
> > > The exception message is "Cannot find RestProducerFactory in Registry or 
> > > as a Component to use". Everything I can find indicates that any one of 
> > > camel-http, camel-netty-http or camel-undertow should provide everything 
> > > needed for making rest requests from Camel routes, but I have tried all 
> > > three and none of them resolves the error.
> > >
> > > The route I am using is:
> > >
> > >         from("direct:Load")
> > >             .routeId("Load")
> > >             .log(LoggingLevel.DEBUG, "${routeId}: ${id}")
> > >             .to("rest:get:/load?host=http://localhost:8080/backend";)
> > >
> > > Entering "localhost:8080/backend/load" in a web browser returns the data 
> > > properly.
> > >
> > > I am attaching the stack trace.
> > >
> > > Thanks,
> > > Tim
> > >
> 
> 
> 
> -- 
> Claus Ibsen
> -----------------
> http://davsclaus.com @davsclaus
> Camel in Action 2: https://www.manning.com/ibsen2
> 

Reply via email to