Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
EFranz
Contributor
Contributor

Accessing a datasource via camel in Talend 8

Hello,

I am migrating a project to Talend 8 in which I am accessing a specific database via Camel routes. In older versions of Talend I referenced the database in spring.xml using the osgi:reference element.

But now when I deploy the route from Talend 8, the following error occurs:

[Error] service.xml:18:122: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'osgi:reference'.

Is there a dependency I need to add or is there another solution to this problem?

Here [

https://tomd.xyz/talend-datasources/]

is a detailed guide in which the individual steps are described.

Best regards

Eric

Labels (4)
2 Replies
Anonymous
Not applicable

Hello @Eric Franz​ 

I have consulted with our developer and got the following answer:

They are most probably using old Spring DM which is no longer supported.

They need to set the 'osgi' namespace to a blueprint schema, something like:xmlns:osgi="http://www.osgi.org/xmlns/blueprint/v1.0.0"

 

Can you try and let me know if it fixes the error?

 

Regards

Shong

mgoedhart
Contributor III
Contributor III

Hi Shong,

 

I used the same link to tomd.xyz to establish a database connection from a camel route (TOS 7.3.1). I got the same error as Eric described. (but it worked!)

 

I changed the namespace to the one you mentioned. It still works, but now without an error. Thanks!

 

Regards

Marius