camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "skyswind@gmail.com" <skysw...@gmail.com>
Subject How to get a specific value from a json string?
Date Thu, 02 May 2013 08:12:47 GMT
Hi everyone,

I came across a simple problem and I need some help.

I get a json string from a jms, and I want to get a specific value from the
json string.
how can I do it in blueprint file?

For example, the json from jms queue "FEATURES.JSON" is

 {id:"123",
name:"test",
value:"dfsa"}

I want to get the name and pass it to the queue "RETURN"

how can I achieve it?

 <from uri="jms:queue:FEATURES.JSON" />

some  code here

 <to uri="jms:queue:RETURN"/>

Thank you!

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message