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

* ApiConsumerHelper does not recognise ClientEntitySets 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 ClientEntitySet is empty then return 0 to allow for backoffXXX

 properties to correctly handle the scheduling of the polling.

Show less