I have this method:
@DELETE
@Path("source/{sourceid}/queues")
public Response deleteQueues(
@PathParam("sourceid") String sourceId,
@QueryParam("queueid") String queueId);
Sometimes I get correct behavior and sometimes I get: Unknown @PathParam: queueid for path: /source/1/queues (RestEasy 2.2.3-GA)
In the tomcat log (tomcat 7.0.4), I see the URI as:
"DELETE /restapi/source/1/queues?queueid=1 HTTP/1.1"
This looks like a ReSTEasy bug since queueid is a QueueParam not a PathParam. It looks like some sort of timing issue since it doesn't happen all the time.
Any ideas what this might be and how to deal with it?
thanks,
Terry
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have this method:
@DELETE
@Path("source/{sourceid}/queues")
public Response deleteQueues(
@PathParam("sourceid") String sourceId,
@QueryParam("queueid") String queueId);
Sometimes I get correct behavior and sometimes I get: Unknown @PathParam: queueid for path: /source/1/queues (RestEasy 2.2.3-GA)
In the tomcat log (tomcat 7.0.4), I see the URI as:
"DELETE /restapi/source/1/queues?queueid=1 HTTP/1.1"
This looks like a ReSTEasy bug since queueid is a QueueParam not a PathParam. It looks like some sort of timing issue since it doesn't happen all the time.
Any ideas what this might be and how to deal with it?
thanks,
Terry
Nevermind. I see I accidentally had two DELETE functions with the same PATH.
sheesh.
Terry