Re: How to Extract json key, value from MQTT payload

2017-06-07 Thread Zoran Regvart
Hi, yeah, sorry, I made a mistake, to use the named parameters the syntax is :#id, not :?id, you can see examples in the JDBC component documentation[1] On Wed, Jun 7, 2017 at 11:31 AM, solomon wrote: > I tried your sugession, now I can parse the json object. However I could not > able to get the

Re: How to Extract json key, value from MQTT payload

2017-06-07 Thread solomon
what am I missing? -- View this message in context: http://camel.465427.n5.nabble.com/How-to-Extract-json-key-value-from-MQTT-payload-tp5801958p5802254.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How to Extract json key, value from MQTT payload

2017-06-06 Thread Zoran Regvart
new MyProcessor()) // Extract json data here > .to("jdbc:myDataSource?resetAutoCommit=false"); > > Can any one help me on how to get the values. > > Thanks > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/How-to-Extract-json-key-value-from-MQTT-payload-tp5801958.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Zoran Regvart

Re: How to Extract json key, value from MQTT payload

2017-06-06 Thread Owain McGuire
t=tcp://localhost:1883") >.process(new MyProcessor()) // Extract json data here >.to("jdbc:myDataSource?resetAutoCommit=false"); > > Can any one help me on how to get the values. > > Thanks > > > > -- > View this message in con

RE: How to Extract json key, value from MQTT payload

2017-06-06 Thread Steve Huston
That depends totally on what MyProcessor does with the data and where it puts it. > -Original Message- > From: solomon [mailto:austin.solomon...@gmail.com] > Sent: Tuesday, June 06, 2017 8:21 AM > To: users@camel.apache.org > Subject: How to Extract json key, value fr

How to Extract json key, value from MQTT payload

2017-06-06 Thread solomon
is message in context: http://camel.465427.n5.nabble.com/How-to-Extract-json-key-value-from-MQTT-payload-tp5801958.html Sent from the Camel - Users mailing list archive at Nabble.com.