ozgurkisir-qlik commented on PR #310: URL: https://github.com/apache/camel-karaf/pull/310#issuecomment-2141776193
### How to test camel-olingo2? Install camel-blueprint and camel-olingo2 features `feature:install camel-blueprint` `feature:install camel-olingo2` Copy camel-olingo2-blueprint.xml file under /deploy folder of karaf. Observe the logs , which shows the response from sample service of Olingo v2 API. `log:tail` **_camel-olingo2-blueprint.xml_** ``` <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0" xsi:schemaLocation=" http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0 http://aries.apache.org/schemas/blueprint-cm/blueprint-cm-1.1.0.xsd http://www.osgi.org/xmlns/blueprint/v1.0.0 https://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd http://camel.apache.org/schema/blueprint http://camel.apache.org/schema/blueprint/camel-blueprint.xsd"> <camelContext xmlns="http://camel.apache.org/schema/blueprint"> <route id="testOlingo2Route"> <!-- Trigger the route using a timer for testing --> <from uri="timer:foo?period=5000"/> <to uri="olingo2://read?resourcePath=Products&serviceUri=http://services.odata.org/V2/Northwind/Northwind.svc"/> <!-- Log the result to see the output --> <log message="Response(entries)from OData: ${body.getEntries} "/> </route> </camelContext> </blueprint> ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
