- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Working with FlowFile Content in NiFi
- Labels:
-
Apache NiFi
Created ‎11-06-2017 01:29 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a simple nifi flow with HttpRecieveHeandler => *Router* => HttpResponseHeandler
with GET queryes for routing i use RouteOnAttribute, but for POST it didn't work couse RouteOnContent transform HTTP BODY to string. How should i work with JSON in FlowFileContent?
Created ‎11-06-2017 04:39 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can extract values from JSON content into attributes using EvaluateJsonPath, then you can use RouteOnAttribute to do routing.
Created ‎11-06-2017 04:39 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can extract values from JSON content into attributes using EvaluateJsonPath, then you can use RouteOnAttribute to do routing.
