Clone
phantomjinx <p.g.richardson@phantomjinx.co.uk>
committed
on 24 Jan 19
CAMEL-13077: Fix polling return for empty OData ODataFeeds (#2719) Closes #2732
* ApiConsumerHelper does not recognise ODataFeeds and thus … Show more
CAMEL-13077: Fix polling return for empty OData ODataFeeds (#2719) Closes #2732

* ApiConsumerHelper does not recognise ODataFeeds and thus defaults

  to return a constant 1. This means that the scheduling polling is never

  concluded to be idle and the backoffXXX consumer properties do not work.

* If the ODataFeed is empty then return 0 to allow for backoffXXX

  properties

* This is an equivalent change to that already committed for olingo4

  component.

Show less