-
Bug
-
Resolution: Done
-
Major
-
5.9.5.Final
-
None
When LRA participant defines paths for participant methods like this:
@PUT
@Path("compensate")
@Compensate
public void compensate(@HeaderParam(LRA.LRA_HTTP_CONTEXT_HEADER) URI lraId) {
System.out.println("Compensate: " + lraId);
}
instead of:
@PUT
@Path("/compensate")
@Compensate
public void compensate(@HeaderParam(LRA.LRA_HTTP_CONTEXT_HEADER) URI lraId) {
System.out.println("Compensate: " + lraId);
}
The participant methods are never executed because the constructed URL is not valid. However, even the first code snippet is still a valid JAX-RS resource definition and thus it should be respected.