Alexey, Thank you very much. I didn't realize early such a use of "bean:" component, for using Java lang classes! Chapeau :)
Il giorno ven 17 apr 2015 13:59 Alexey Markevich <amarkev...@talend.com> ha scritto: > Simply .setBody().simple("bean:java.lang.System?method=currentTimeMillis") > -> BodyType: Long, Body: 1429271715421 > > On Fri, 17 Apr 2015 14:51:05 +0300, Morgan Hautman > <morgan.haut...@gmail.com> wrote: > > > Hi Angelo, > > > > in a procesor you could do > > > > System.currentTimeMillis(); > > > > > http://docs.oracle.com/javase/7/docs/api/java/lang/System.html#currentTimeMillis%28%29 > > > > Regards, > > > > Morgan > > > > On 17/04/2015 13:27, Ângelo Costa wrote: > >> Hi Guys, > >> > >> anyone know in camel how i can get current seconds since 1970? in Long > >> format? > >> > >> Thanks in advance, > >> > >> Ângelo Costa > >> > > > > > -- > Regards, Alexey. >