I have my rest dsl route like this:

restConfiguration().component("undertow").host("localhost").port("8181");
rest("/timesheet")
        .get("/{timesheetId}").produces(MediaType.TEXT_PLAIN)
        .to("bean:timesheetService?method=getTimesheetById")
        .put("/{timesheetId}").produces(MediaType.TEXT_PLAIN)
        .to("bean:timesheetService?method=updateTimesheet");

It's odd because the "put" works just fine, but when I try using the "get",
it responds with a 404 error and "no matching path found".  What am I doing
wrong?

Reply via email to