I dont know what data type mqtt gives you, you can turn on tracer to see that etc. But you can also try to convert the data to a String.class before via .convertBodyTo(String.class) assuming Ignite can store plain strings and get them again via query.
On Fri, Jun 9, 2017 at 3:34 PM, solomon <austin.solomon...@gmail.com> wrote: > Hi Claus & Gary, > > I have set the header as .setHeader(IgniteConstants.IGNITE_CACHE_KEY, new > JsonPathExpression("$.id")) > now the data is getting inserted, when I checked the node entry in Ignite > visor console count increases when message comes from the mqtt channel. > However while querying 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. -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2