You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2020/03/12 08:59:39 UTC

[GitHub] [camel-quarkus] ppalaga commented on a change in pull request #878: Update to introduce the quarkus qute extension

ppalaga commented on a change in pull request #878: Update to introduce the quarkus qute extension
URL: https://github.com/apache/camel-quarkus/pull/878#discussion_r391477642
 
 

 ##########
 File path: integration-tests/qute/src/main/java/org/apache/camel/quarkus/component/qute/it/QuteRoute.java
 ##########
 @@ -0,0 +1,33 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2020, Red Hat, Inc., and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.apache.camel.quarkus.component.qute.it;
+
+import org.apache.camel.builder.RouteBuilder;
+
+public class QuteRoute extends RouteBuilder {
+    @Override
+    public void configure() throws Exception {
+        from("direct:test")
+                .to("qute:file:target/classes/hello.txt");
 
 Review comment:
   Could you please switch to example to work with `classpath:` URI so that the itest is runnable outside Camel Quarkus source tree without any additional setup?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services