nifi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Taft <>
Subject Re: Route Original Flow File Base on InvokeHTTP Response
Date Mon, 03 Aug 2015 18:52:49 GMT
If you're needing to read the HTTP response code, InvokeHTTP should do this
for you.  It basically stores the HTTP response code into the original
request flowfile.  With a 2xx response code, it will route the request
flowfile (with the response code attributes) to the "Original"
relationship.  From there, the flowfile should have a
"invokehttp.status.code" attribute which you can act on.

On Mon, Aug 3, 2015 at 1:46 PM, steveM <> wrote:

> I have a use case where I need to call a web service based on a flow file
> attribute then route the original flow file based on the response from the
> web service call. Can this be done using the standard processors and if so,
> how?
> --
> View this message in context:
> Sent from the Apache NiFi (incubating) Developer List mailing list archive
> at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message