How to untar a .tar.gz file in Red Hat JBoss Fuse using Camel ?

Solution Unverified - Updated -

Issue

  • Is there a way to untar a *.tar.gz file using Apache Camel Components.
  • After the file is untarred, user would want to send the extracted files to 3 different destinations (based on file extensions) - Could both these items be done?
  • For example
Example File Name: GF_FAB1_S1234.tar.gz

Extracted File Contents:
GF_FAB1_S1234.txt -> Send to TXT Folder
GF_FAB1_S1234.xml -> Send to XML Folder
GF_FAB1_S1234.std -> Send to STD Folder

Environment

  • Red Hat JBoss Fuse
    • 6.1.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.