Hi, I have a message received as Json. Logging the message body gives me below value (example) { "id":22, "type":"edit"}
I need to invoke a rest api which needs the id value from the above json to be included. Api end point is like http://xxxxx/api/customer/<id>, where id is the value above. I configured the route like: from("jms:queue") .marshal() .json(JsonLibrary.GSON) .setHeader(Exchange.CONTENT_TYPE,constant("application/json")) .setHeader(Exchange.HTTP_METHOD, constant("POST")) .recipientList( simple("https4://xxxxx/api/customer/<id>")) How can i inject the id from the body of my message? There is an xpath option which i can embed, but there seems to be no jsonpath option. I can only link a jsonpath expression , but cannot put it inside recipientList. -- View this message in context: http://camel.465427.n5.nabble.com/Parse-Json-inside-RecipientList-tp5788162.html Sent from the Camel - Users mailing list archive at Nabble.com.