[ 
https://issues.apache.org/jira/browse/CAMEL-7640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-7640.
--------------------------------

    Resolution: Not a Problem
      Assignee: Claus Ibsen

There is no problem.

In your activemq.xml you have added a Camel route that uses the camel-zipfile 
data format. So you need to add to your classpath, eg copy the JAR into the 
lib/camel dir of activemq.

There is also a zip data format in camel-core, but its not the same. The zip is 
not file based.

> camel-core jar contains the ZipFileDataFormat class but not 
> META-INF/services/org/apache/camel/dataformat/zipfile
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-7640
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7640
>             Project: Camel
>          Issue Type: Bug
>          Components: build system, camel-core
>    Affects Versions: 2.13.1
>         Environment: Running on Linux.
> I actually found the problem using camel embedded in activemq, but downloaded 
> Camel standalone to make sure the issue is there as well.
>            Reporter: Dennis Walker
>            Assignee: Claus Ibsen
>            Priority: Minor
>         Attachments: activemq.log, activemq.xml
>
>
> The camel-core JAR file contains several classes from the 
> org/apache/camel/dataformat/zipfile package that are also contained in the 
> camel-zipfile JAR.
> My assumption (possibly invalid) is that this JAR should function with those 
> classes standalone (i.e. without the camel-zipfile JAR).  Otherwise the 
> classes should be removed from camel-core I would think?
> The problem is when I attempted to use camel-core standalone (this is how it 
> is delivered in activemq, sorry) camel stopped during startup and shut itself 
> down.  The following debug message appeared:
> 2014-07-25 12:27:30,188 | DEBUG | Cannot find class: zipfile | 
> org.apache.camel.util.ObjectHelper | main
> When I add the camel-zipfile JAR file to activemq's lib directory, the 
> message goes away and camel starts up successfully (actually I added v2.13.2 
> but I assume would be the same with v2.13.1 which is what my activemq comes 
> bundled with).
> I am making this a Minor Priority as that seems correct to me.  It did take 
> me some time to find the answer and others may not find it, which is why I 
> don't think it's Trivial.  I could see the case for that however if desired.
> I am using Camel embedded in ApacheMQ version 5.10.0.  I am using Sun Java 
> version 1.6.0_45.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to