camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: use camel to send mail with word table
Date Wed, 23 Nov 2016 09:04:59 GMT
Hi

So how do you want to represent a word table? Use a
java.util.List<Map> or some other kind of java classes.
Or do you need to transform the data to CSV or other texts?

In other words you can just write some java code that does this
transformation. From JSon you can use some of the existing json data
formats / that can map to POJO / XML. Or you can grab the json data
from java code or with jsonpath etc.

On Tue, Nov 22, 2016 at 1:27 PM, Deepak kumar <dksahoo551@gmail.com> wrote:
> we have a data set in terms of json array. we want to send the json contents
> as word table data using apache camel. Can anyone please suggest how to
> achieve that?
>
> the data set looks like:-
> {"id":12,"name":"abc","age":25}
> {"id":13,"name":"xyz","age":26}
> {"id":12,"name":"mno","age":26}
> <http://camel.465427.n5.nabble.com/file/n5790359/email.png>
>
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/use-camel-to-send-mail-with-word-table-tp5790359.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Mime
View raw message