camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mitko.ko...@icw.de
Subject Re: camel-activemq unable to serialize Body after camel-exec usage
Date Mon, 21 Jun 2010 14:53:18 GMT
Hi Francois, 
Did you try the following:


<camel:route>
<camel:from uri="activemq:queue:queue1"/>
<camel:to uri="exec:/bin/more"/>

<camel:convertBodyTo type="java.lang.String"/>

<camel:to uri="log:myLogger"/>
<camel:to uri="activemq:queue:queue2"/>
</camel:route>


and / or


<camel:route>
<camel:from uri="activemq:queue:queue1"/>
<camel:to uri="exec:/bin/more"/>
<camel:to uri="log:myLogger"/>

<camel:convertBodyTo type="java.lang.String"/>

<camel:to uri="activemq:queue:queue2"/>
</camel:route>


Regards, 
Mitko






From:
Francois Lefoll <francois.lefoll@racinegroup.com>
To:
users@camel.apache.org
Date:
21.06.2010 16:39
Subject:
Re: camel-activemq unable to serialize Body after camel-exec usage




Hi Mitko,

Unfortunately, the error is not due to the log action,
Same issue without the log, same issue reading (xml) result from an
outFile...
camel-activemq seems unable to read a Body passed by a camel-exec.
I say "seems", because,
I get this error below jetty-6.1.9, but testing under tomcat-6.0.26, I 
don't
get such error....

>From my window, it really look to be a bug.

Regards,

Francois
-- 
View this message in context: 
http://camel.465427.n5.nabble.com/camel-activemq-unable-to-serialize-Body-after-camel-exec-usage-tp510418p510428.html

Sent from the Camel - Users mailing list archive at Nabble.com.





InterComponentWare AG:  
Vorstand: Peter Kirschbauer (Vors.), Jörg Stadler / Aufsichtsratsvors.: Prof. Dr. Christof
Hettich  
Firmensitz: 69190 Walldorf, Altrottstraße 31 / AG Mannheim HRB 351761 / USt.-IdNr.: DE 198388516
 
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message