JiriOndrusek commented on code in PR #3821:
URL: https://github.com/apache/camel-quarkus/pull/3821#discussion_r890020555


##########
integration-test-groups/foundation/bean/src/main/java/org/apache/camel/quarkus/component/bean/BeanResource.java:
##########
@@ -164,4 +169,18 @@ String awaitFirst(String key) {
         return list.get(0);
     }
 
+    @Path("/withDefaultBeanCount")
+    @GET
+    @Produces(MediaType.TEXT_PLAIN)
+    public int withDefaultBeanCount() {
+        return 
camelContext.getRegistry().findByType(Producers.WithDefaultBeanInstance.class).size();
+    }
+
+    @Path("/withAlternativeBeanCount")
+    @GET
+    @Produces(MediaType.TEXT_PLAIN)
+    public int withAlternativeBeanCount() {
+        return 
camelContext.getRegistry().findByType(Producers.WithAlternateBeanInstance.class).size();
+    }

Review Comment:
   That makes sense. thanks for the point, I'll change it/



-- 
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: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to