Hi, There are two things here. What is suggested by Ed is in case the server you're requesting is responding with a Timeout. But the processor itself implements a "read timeout" to give up after a given time. In this case, it won't generate a flow file but will just generate a bulletin. I'd suggest you to try increasing the read timeout parameter if it's OK with your use case.
Thanks, Pierre Le jeu. 6 sept. 2018 à 09:33, saloni udani <[email protected]> a écrit : > Connection timeout just results in error bulletin and not any output flow > file.Also tried setting > "Always Output Response" to "true" but no luck there too. > > On Thu, Sep 6, 2018 at 1:24 AM Ed B <[email protected]> wrote: > >> Connection timeout is 504 response code. >> InvokeHTTP will send FF to "Retry" relationship. You can use >> RouteOnAttribute, check invokehttp.status.code attribute for having >> appropriate code and then do your failure handling. You might also set >> "Always >> Output Response" to "true". >> >> On Wed, Sep 5, 2018 at 12:22 PM saloni udani <[email protected]> >> wrote: >> >>> Hi >>> >>> Is there a way to generate a failure flow file for connection issues >>> like connection timeout for InvokeHTTP Processor? >>> >>> >>> >>> >>> >>> Thanks >>> Saloni Udani >>> >>
