I have a maven project, and I'm trying to marshal a file using jaxb and camel with the command:
from("file://...").marshal("myDataFormat").to("file://...");
When I run the project, I get the following error:
Cannot find data format in registry with ref: myDataFormat
First, does anyone know what the "registry" is? I've searched Google, but can't find anything. I'm guessing it might be another name for the camel-context file. Second, how can I register a data format using camel? Is there a default data format that I can use?
Sorry if the answer is simple, but I'm relatively new to camel and the online docs that I can find haven't been too helpful.