Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-10667

Add tarFile data format to Java DSL

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.18.1
    • 2.18.2, 2.19.0
    • camel-tarfile
    • None
    • Ubuntu, Spring-boot, Camel 2.18.1

    • Unknown

    Description

      I have added the maven dependency to my project for camel-tarfile as:

      </dependency>
      <dependency>
      <groupId>org.apache.camel</groupId>
      <artifactId>camel-tarfile</artifactId>
      <version>2.18.1</version>
      </dependency>

      When adding the following route to my project I get a compilation error saying that the method tarFile() does not exist.

      from("file:input/directory?antInclude=*/.txt").marshal().tarFile().to("file:output/directory");

      The exact error is:

      [ERROR] /home/miguel/opt/Spring-Boot-Camel-ActiveMQ-master/src/main/java/support/alfresco/Route.java:[118,73] cannot find symbol
      symbol: method tarFile()

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            MiguelRodriguez Miguel Rodriguez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: