You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 27, 2017. It is now read-only.
The current runtime assumes (a) that the filter is given as jsonpath and (b) that the message body is in json (in various formats).
However, in Syndesis different types can flow through a route and we assume simple as the expression language for a filter.
This implies that we have to detect the outputShape of the endpoint before the filter and whether this is a JSON document or plain object and then decide on the fly which filter to use.
Alternatively, and this will be the first approach which I'll try, is to check during runtime for the message, and when its a String then use the jsonpath filter (which also knows how to use "simple" for an expression), if its another object, we are using the simple filter.
The text was updated successfully, but these errors were encountered:
The current runtime assumes (a) that the filter is given as jsonpath and (b) that the message body is in json (in various formats).
However, in Syndesis different types can flow through a route and we assume
simple
as the expression language for a filter.This implies that we have to detect the
outputShape
of the endpoint before the filter and whether this is a JSON document or plain object and then decide on the fly which filter to use.Alternatively, and this will be the first approach which I'll try, is to check during runtime for the message, and when its a
String
then use thejsonpath
filter (which also knows how to use "simple" for an expression), if its another object, we are using thesimple
filter.The text was updated successfully, but these errors were encountered: