Converting between original data formats and XML

Solution Verified - Updated -

Issue

After reading up on Apache Camel and JBoss Fuse, I'm trying to implement a route to do the following, but I'm not exactly sure what would be the best (most Camel-like) way of doing it.

 Read legacy data in original format (A) from MQ -> Convert to XML -> Call Web Service
               -> Convert response (XML) to original format (B) -> Place message on output queue

The problem is with the conversions to/from original format and XML. There seems to be a variety of ways to do this in Camel. I've looked into using a bean to do the conversion, as well as creating an original DataFormat but I have not implemented anything yet.

  • What would be the most Camel-like way of solving this?

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.