camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vanshul.Chawla <>
Subject Camel Avro : Dependency added but still class not found error
Date Thu, 03 Dec 2015 15:30:38 GMT
I am doing a basic POC to convert xml to avro format.

Below is the code

<?xml version="1.0" encoding="UTF-8"?>
<!-- Configures the Camel Context -->

<beans xmlns=""
       xmlns:xsi="" xmlns:amq=""
       <camelContext xmlns="">
        <avro id="avro" instanceClassName="org.apache.camel.dataformat.avro.Message"/>
        <from uri="file:src/Input?noop=true"/>
         <marshal ref="avro"/>
        <to uri="file:src/Output"/>

So its just taking an xml from file, transforming to avro and sends to other file.

Dependency I added is

                     <!-- use the same version as your Camel core version -->

When I run the camel context, it says class not found.

When I checked maven jars added in dependencies, I can see this jar is fetched but I don't
see Message class in the schema.

Please let me know what I am missing here.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message