camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmoulliard <cmoulli...@gmail.com>
Subject Re: Clarification concerning the 'object' graph parameter of method marhsall() - DataFormat
Date Tue, 13 Jan 2009 13:15:47 GMT

This is strange because I can't use the following notation : HashMap<String,
Object> object


Claus Ibsen-2 wrote:
> 
> Hi
> 
> Yeah graph is the IN body so its whatever type you have in there.
> 
> So you can just store eg a java.util.List object, or whatever
> 
> 
> On Tue, Jan 13, 2009 at 12:26 PM, cmoulliard <cmoulliard@gmail.com> wrote:
>>
>> Hi,
>>
>> I would like to know if it is possible to provide a collection of objects
>> to
>> the marshall method of DataFormat ?
>>
>> Info coming from java doc of DataFormat
>>
>> public void marshal(Exchange exchange,
>>                    Object graph,
>>                    OutputStream stream)
>>             throws Exception
>>
>>         graph - the object to be marshalled
>>
>> Charles
>>
>>
>>
>> -----
>> Charles Moulliard
>> SOA Architect
>>
>> My Blog :  http://cmoulliard.blogspot.com/
>> http://cmoulliard.blogspot.com/
>> --
>> View this message in context:
>> http://www.nabble.com/Clarification-concerning-the-%27object%27-graph-parameter-of-method-marhsall%28%29---DataFormat-tp21433733s22882p21433733.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>
>>
> 
> 
> 
> -- 
> 
> /Claus Ibsen
> Apache Camel Committer
> Blog: http://davsclaus.blogspot.com/
> 
> 


-----
Charles Moulliard
SOA Architect

My Blog :  http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/  
-- 
View this message in context: http://www.nabble.com/Clarification-concerning-the-%27object%27-graph-parameter-of-method-marhsall%28%29---DataFormat-tp21433733s22882p21435590.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message