camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Thullner" <>
Subject AW: XPath splitter again
Date Fri, 28 Dec 2007 13:35:25 GMT
Thanks for the quick reply. It works now. 

But I am still a little confused as I call the XML toString() method to set
the text of the TextMessage and I always send TextMessages. Does the
TextMessage get converted somewhere into an ObjectMessage?

-----Urspr√ľngliche Nachricht-----
Von: Roman Kalukiewicz [] 
Gesendet: Freitag, 28. Dezember 2007 14:27
Betreff: Re: XPath splitter again

What you have in your message is XML Object - not a String - so
ObjectMessage is sent.

Try to do it this way:


Then activemq endpoint will receive String as a payload and should create
TextMessage instead of ObjectMessage.


View raw message