camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fitzcaraldo <>
Subject Re: JCAPS to Camel
Date Wed, 24 Apr 2013 07:44:01 GMT
All endpoints are either FTP, JMS, WS or JDBC so it is well within what Camel
can do.  JCAPS models messages as Object Type Definitions (OTD) and these
are all XSDs or CSVs and so can be converted easily.  

The JCAPS equivalent of a Camel route is a JCD class. Here's an example that
writes an incoming string to a file and a queue:

public class Collaboration_1
   public logger;
   public alerter;
   public collabContext;
   public typeConverter;

   public void receive(
input, FileClient_1, JMS_1,employees.EmployeesOTD Employees_1 )
      throws Throwable
   { msg = JMS_1.createTextMessage(
input.getText() );

     employees.EMPLOYEES emp = Employees_1.getEMPLOYEES();

     JMS_1.send( msg );

     FileClient_1.setText( input.getText() );


I haven't yet been able to find an example of format conversion but assume
it uses XSLT or Java object mapping (anyone know?).

I was hoping someone might have been down this path before and would be
prepared to share their experiences.


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message