Miguel Rodriguez created CAMEL-10667:
----------------------------------------

             Summary: Data format camel-tarfile not working on Camel 2.18.1
                 Key: CAMEL-10667
                 URL: https://issues.apache.org/jira/browse/CAMEL-10667
             Project: Camel
          Issue Type: Bug
          Components: camel-tarfile
    Affects Versions: 2.18.1
         Environment: Ubuntu, Spring-boot, Camel 2.18.1
            Reporter: Miguel Rodriguez


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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to