camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From solomon <>
Subject How to Extract json key, value from MQTT payload
Date Tue, 06 Jun 2017 12:20:43 GMT

I have created a camel route of mqtt -> jdbc which pushes the data in json
format into MQTT topic, now I want to extract the json key and value so that
I can insert it into jdbc database.

sample json payload : { "id": 1, "name": "Test" }

My Camel route looks like this :

        .process(new MyProcessor()) // Extract json data here

Can any one help me on how to get the values.


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message