camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen" ...@silverbullet.dk>
Subject RE: JAXB use through Exchange/Message
Date Sat, 13 Sep 2008 13:44:05 GMT
Hi

Yes it does look valid at first glance. Have you tried running it?

You can read about the JAXB dataformat in the wiki docs at:
http://activemq.apache.org/camel/data-format.html




Med venlig hilsen
 
Claus Ibsen
......................................
Silverbullet
Skovsgårdsvænget 21
8362 Hørning
Tlf. +45 2962 7576
Web: www.silverbullet.dk
-----Original Message-----
From: wänä [mailto:werner.koch@ipt.ch] 
Sent: 12. september 2008 13:51
To: camel-user@activemq.apache.org
Subject: JAXB use through Exchange/Message


Hi all,

I have no clue about how to use JAXB types when processing a message. I
managed to configure a route to do the transform to JAXB, see below, but
have no idea how to retrieve the message content as JAXB objects.

Setup:
- CXF Frontend
- Component on route which should handle the content through the JAXB types

Route:
    <camel:route>
      <camel:from uri="cxf:bean:get-file-list"/>

      <camel:unmarshal>
        <camel:jaxb
          prettyPrint="true"
          contextPath="com.ruag.poc.milo.businessproxy._1_0"/>
      </camel:unmarshal>

      <camel:to uri="bean:encryption-service?methodName=service"/>
    </camel:route>

Is this a valid idea anyway?

Thank you in advance, every help is appreciated!

Best regards, Werner
-- 
View this message in context: http://www.nabble.com/JAXB-use-through-Exchange-Message-tp19454245s22882p19454245.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message