As discussed on #teiid (IRC), the URI used to access a teiid odata service fails if a '/' is appended to it, eg.
This results in this error (in Chrome):
Removing the '/' works correctly.
This appears to be an underlying problem with the olingo4 libraries since the tutorial when implemented suffers the same error.
However, the odata.org reference implementation does handle the slash correctly.
Why does this matter?
The camel-odata connector uses the olingo4 libraries and positively adds a '/' when forming the full URI to read data. This camel connector was originally created using the reference odata implementation as test data so unsurprising that it assumes the extra '/'.
Who should fix what?
Probably, the olingo4 libraries should be fixed to correctly handle the extra '/'. However, that would require both teiid and the camel odata-connector picking up a new version of the library, which may well take some time. From the discussion on IRC, it is possible to workaround this in teiid with the use of 'servlet filters'.
The version of teiid actually tested is 9.1.1 but would imagine that later versions may also be affected given it is ultimately a problem with the olingo4 libraries.