Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
im new to talend. I try to create a REST Endpoint which receives some json data (this part is working). now i want to save this json data into a mongodb, but i cant find a mongodb component at the talend esb.
Second problem:
The json data im receiving have different types of data, for example:
{ "event": "opendoor", ... }
and
{ "event": "closedoor", ... }
now, if event is opendoor it should use the mongodb collection "opendoor" and if its closedoor it should be "closedoor". I tried the if statement, but the actions behind the if condition are limited right? but limited to what?
Thanks for help,
snooops
now i got a mongodb connection. I guess my ESB installation was broken.
2nd problem:
how do i use extracted values inside of an if condition?
after tExtractJSONFields_1 i want run if "event" == "opendoor". how do i need to call "event"?