You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Petri Airio <pe...@airiot.fi> on 2022/10/27 07:05:50 UTC

Camel Karaf Examples do not work with 3.18.2 ?

Hi,

trying to get this:

https://github.com/apache/camel-karaf-examples/tree/main/examples/camel-example-servlet-rest-blueprint

working in karaf 4.4.1 with camel 3.18.2

When try to access 

http://localhost:8181/camel-example-servlet-rest-blueprint/rest/user/

I got error

HTTP ERROR 404 Not Found

URI:	/camel-example-servlet-rest-blueprint/rest/user/
STATUS:	404
MESSAGE:	Not Found
SERVLET:	-


How ever if I run same example  with karaf 4.4.1 with camel 3.20.0.SNAPSHOT

it works as expected and returns users ...

Any idea why it do not work with camel 3.18.2 ?


Re: Camel Karaf Examples do not work with 3.18.2 ?

Posted by Claus Ibsen <cl...@gmail.com>.
You need to run the examples from the tag of the version of Camel. However
the last tags are for Camel 3.16.x.
https://github.com/apache/camel-karaf-examples/tags

On Thu, Oct 27, 2022 at 9:06 AM Petri Airio <pe...@airiot.fi> wrote:

> Hi,
>
> trying to get this:
>
>
> https://github.com/apache/camel-karaf-examples/tree/main/examples/camel-example-servlet-rest-blueprint
>
> working in karaf 4.4.1 with camel 3.18.2
>
> When try to access
>
> http://localhost:8181/camel-example-servlet-rest-blueprint/rest/user/
>
> I got error
>
> HTTP ERROR 404 Not Found
>
> URI:    /camel-example-servlet-rest-blueprint/rest/user/
> STATUS: 404
> MESSAGE:        Not Found
> SERVLET:        -
>
>
> How ever if I run same example  with karaf 4.4.1 with camel 3.20.0.SNAPSHOT
>
> it works as expected and returns users ...
>
> Any idea why it do not work with camel 3.18.2 ?
>
>

-- 
Claus Ibsen
-----------------
@davsclaus
Camel in Action 2: https://www.manning.com/ibsen2