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

Add tarFile data format to Java DSL

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.18.1
    • Fix Version/s: 2.18.2, 2.19.0
    • Component/s: camel-tarfile
    • Labels:
      None
    • Environment:

      Ubuntu, Spring-boot, Camel 2.18.1

    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: