Simple and easy REST client with Camel

2014-10-26 Thread Jonathan Vila Lopez
Hello I have a very simple problem to solve but I've not been capable of sorting out. Have one REST remote webservice from Marvel, and would like to create a route that calls that webservice, gets the JSon response, and finally prints out 3 of its attributes. One told me the easiest approach wou

Re: Simple and easy REST client with Camel

2014-10-27 Thread Jonathan Vila Lopez
Hello Charles But, with that code I used I successfully get the response and successfully unmarshals it.. in fact, in my code my problem was in the line of setBody I can not get the attributes. Anyway I will try your proposal. Kind regards. [image: Inline image 2] * Jonathan Vila*

Re: Simple and easy REST client with Camel

2014-10-27 Thread Jonathan Vila Lopez
;http://";).to("") to poll a HTTP > Server. > > Regards, > > On Mon, Oct 27, 2014 at 9:48 AM, Jonathan Vila Lopez < > jonathan.v...@gmail.com> wrote: > > > Hello Charles > > > > But, with that code I used I successfully get the response and

Re: Simple and easy REST client with Camel

2014-10-27 Thread Jonathan Vila Lopez
c5df30d73d1f3816&hash=abfa1c1d42a73a5eab042242335d805d > "/> > > > > > > > > > > > On Mon, Oct 27, 2014 at 11:47 AM, Charles Moulliard > wrote: > > > You syntax is not correct as unmarshalling of jackson will return > > > >

Putting some Map values into a Bean

2014-10-27 Thread Jonathan Vila Lopez
Hello I want to get some fields from a Map structure and put those fields into a Bean. I have this code : from("http://URL to a REST service that returns a JSon ..."). unmarshal().json(JsonLibrary.Jackson). split(simple("${body[data][results]}")).

Re: Putting some Map values into a Bean

2014-10-27 Thread Jonathan Vila Lopez
OJOS using the final POJO constructor ? Kind regards. [image: Inline image 2] * Jonathan Vila** <https://www.twitter.com/jonathan_vila> <http://www.linkedin.com/in/jonathanvila>* * jonathan.v...@gmail.com * On Mon, Oct 27, 2014 at 4:24 PM, Jonathan Vila Lopez < jonathan.v

Difference between bean(MyObject.class) and bean(new MyObject())

2014-10-27 Thread Jonathan Vila Lopez
Hello I have a route : from("http://gat...URLd805d";). unmarshal().json(JsonLibrary.Jackson). split(simple("${body[data][results]}")). bean(ComicBuilder.class, "parse(${body[title]}, ${body[thumbnail][path]}, ${body[prices][0][pr

Re: Difference between bean(MyObject.class) and bean(new MyObject())

2014-10-27 Thread Jonathan Vila Lopez
Hi Henrik This is my Git repo : https://bitbucket.org/jvila/kata-marvelkata Thank you El 27/10/2014 18:58, "Henryk Konsek" escribió: > Hi Jonathan, > > > But if I simple replace the bean line with bean(new ComicBuilder(), > ) > > then it works without putting the log command before. > > No

[ANN] Java event this summer in Barcelona. CFP is open. ( jbcnconf.com )

2015-03-25 Thread Jonathan Vila Lopez
Hi all. I'm one of the organizers of the BarcelonaJUG and this summer we are running a great Java & JVM event in Barcelona ( Spain ) This event will be the first big Java and JVM conference in Spain, with 2 full days to share knowledge and experiences, to meet enthusiasts and geeks, and to learn

[ANN] JBCNconf Java & JVM conference Tickets are already available.

2015-04-20 Thread Jonathan Vila Lopez
Hi all We are glad to announce that Early Bird tickets are finally available for the event JBCNconf. We have great speakers already confirmed with interesting talks : *Rob Davies, Claus Ibsen, Andres Almiray, David Brimley, Masoud Kalali, Jean Baptiste Onofre, Christopher Batey,Johan Janssen,Laur

[presentation] Apache Camel 3 talk by Claus Ibsen and Andrea Cosentino

2020-07-27 Thread Jonathan Vila Lopez
Hi I would like to share with all the Apache Camel followers, that tomorrow afternoon ( CEST ) the BarcelonaJUG will have a presentation about the recently released Apache Camel 3, the integration platform in the era of Kubernetes and Serverles.. It's a free and online event , in English, tomorrow

JBCNconf, the Java & JVM event this summer in Barcelona

2015-05-27 Thread Jonathan Vila Lopez
Hi all. JBCNconf 2015 is near, the great event for Java & JVM technologies this summer in Barcelona. www.jbcnconf.com The *regular tickets will be available for only 4 more days*, so hurry and get your ticket . In this conference you will find some known speakers with great talks as : - 7

[Ann] Java Conference in Barcelona : JBCNConf

2016-03-23 Thread Jonathan Vila Lopez
Hi guys !!! As the last year we had very good results with our Java conference in Barcelona, this 2016 we've repeated the experience. www.jbcnconf.com So, we would really need that people send us Papers to talk in it, and obviously if you want to listen to good ( and not comercial) talks, do a g