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 2021/03/09 12:31:46 UTC

[GitHub] [camel-quarkus] ennishol commented on issue #2323: quarkus 1.7.0 DocumentBuilderFactoryImpl not found

ennishol commented on issue #2323:
URL: https://github.com/apache/camel-quarkus/issues/2323#issuecomment-793818044


   @jamesnetherton  Yes sorry, failed to add in the description.
   Basically, adding org.apache.xmlgraphics will demonstrate the problem
   ```
   <dependency>
         <groupId>org.apache.camel.quarkus</groupId>
         <artifactId>camel-quarkus-xpath</artifactId>
       </dependency>
       <dependency>
         <groupId>org.apache.xmlgraphics</groupId>
         <artifactId>fop</artifactId>
         <version>2.6</version>
       </dependency>
   ```
   a little route to reproduce
   ```
   @ApplicationScoped
   public class MyRoute extends EndpointRouteBuilder {
   
       @Override
       public void configure() {
           String xml = "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?><Item Number=\"42\"></Item>";
           from("timer://foo?fixedRate=true&period=15000")
                       .log("started")
                       .setBody(constant(xml))
                       .setProperty("TestNumber", xpath("/Item/@Number", Long.class))
                       .log("Number ${exchangeProperty.TestNumber}");
       }
   
   }
   ```


----------------------------------------------------------------
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