Re: Apache-Ignite Example

2017-06-09 Thread solomon
ying the cache I'm getting the empty result. Do I need to map the object here or something I am missing ? Regards, Solomon -- View this message in context: http://camel.465427.n5.nabble.com/Apache-Ignite-Example-tp5800977p5802804.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Apache-Ignite Example

2017-06-08 Thread solomon
Hi, I'm trying to listen from an mqtt topic which produces a json object and store that data into apache Ignite's Cache using Apache camel contex, but the data is not inserting to cache. my JSON data looks like this : {"id": 1, "data":"test"} and this is sample code snippet : from(

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

2017-06-07 Thread solomon
Hi, Thanks for your reply. I tried your sugession, now I can parse the json object. However I could not able to get the values in .setBody("INSERT INTO MY_TABLE (ID, NAME) VALUES (:?id, :?name)") the output will be like this : INSERT INTO MY_TABLE (ID, NAME) VALUES (:?id, :?name) what am I mis

How to Extract json key, value from MQTT payload

2017-06-06 Thread solomon
Hi, 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 : from("mqtt:b

Re: Need help on Camel-Ignite Coomponent

2017-05-31 Thread solomon
Thanks a lot Andrea Cosentino Regards -- View this message in context: http://camel.465427.n5.nabble.com/Need-help-on-Camel-Ignite-Coomponent-tp5801433p5801607.html Sent from the Camel - Users mailing list archive at Nabble.com.

Need help on Camel-Ignite Coomponent

2017-05-31 Thread solomon
Hi, I am trying to read the data from Camel-MQTT and PUT the message into Camel-Ignite' cache within camel context. I am getting error while doing so... searched online for examples for Camel-Ignite component, but I didn't get any examples. Camel version I'm using is 2.17.2 My code is like thi

Re: Apache-Ignite Example

2017-05-27 Thread solomon
Hi Claus, I started the CamelContext, now getting the following exception Caused by: java.lang.IllegalStateException: No configuration resource or IgniteConfiguration was provided to the Ignite component. at org.apache.camel.component.ignite.IgniteComponent.doStart(IgniteComponent.java:17

Apache-Ignite Example

2017-05-27 Thread solomon
Hi, I'm trying to run a camel program which gets the data from camel-mqtt component and insert the data into camel-ignite-cache, however the data is not inserting into Ignite's cache. There is no any errors while running this. I searched for camel-ignite example online but didn't get any. My cod