saravanakumar1987 commented on code in PR #31084:
URL: https://github.com/apache/camel/pull/31084#discussion_r4729715773
##########
components/camel-cxf/camel-cxf-rest/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsEndpointTest.java:
##########
@@ -120,6 +123,44 @@ public void testCxfRsEndpointSetProvider() throws
Exception {
}
}
+ @Test
+ public void testCxfRsEndpointProvidersBeanIds() throws Exception {
+ JSONProvider<?> jsonProvider = new JSONProvider<>();
+ JAXBElementProvider<?> xmlProvider = new JAXBElementProvider<>();
+ context.getRegistry().bind("jsonProvider", jsonProvider);
+ context.getRegistry().bind("xmlProvider", xmlProvider);
+
+ String endpointUri = "cxfrs://http://localhost:" + CTX + ""
+ +
"?resourceClass=org.apache.camel.component.cxf.jaxrs.testbean.CustomerService"
+ + "&providers=#jsonProvider,#xmlProvider";
Review Comment:
Fixed in 1f2f5f602b: the endpoint URI of `testCxfRsEndpointProvidersBeanIds`
no longer has the `+ ""`, as suggested.
_Claude Code on behalf of saravanakumar1987_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]