Hans, Thanks for the response and sorry for the late reply. Yesterday was a holiday here in Canada.
Unfortunately, adding org.apache.camel.* to the Import-Package section for the bundle plugin didn’t have any effect. Same error. ~Danny On Jul 2, 2015, at 7:58 AM, Hans Loven <thelo...@gmail.com> wrote: > (Specifically, I'd meant that you'd put this in the imports section of the > apache Felix bundle plugin for maven). Did it work? New error? > > Pardon the brevity, > Sent from my phone > On Jun 30, 2015 4:19 PM, "Hans Loven" <thelo...@gmail.com> wrote: > >> Try importing org.apache.camel.* in your php bundle >> >> Pardon the brevity, >> Sent from my phone >> On Jun 30, 2015 3:32 PM, "Daniel Lamb" <dan...@discoverygarden.ca> wrote: >> >>> Hi, >>> >>> Has anyone out there ever successfully used PHP within camel routes >>> running in an OSGi container? I keep getting the following error despite >>> having camel-script installed: Bundle php_test.xml is waiting for >>> dependencies >>> [(&(language=php)(objectClass=org.apache.camel.spi.LanguageResolver))] >>> >>> Is there an extra dependency for it a la camel-script-groovy or >>> camel-script-jruby? Is this even possible? >>> >>> Google does not provide much information on the subject, though it >>> alludes to a Quercus OSGi bundle which appears to be an abandoned effort? >>> >>> Here’s the route I’m playing around with: >>> >>> <?xml version="1.0" encoding="UTF-8"?> >>> >>> <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.0.0" >>> xsi:schemaLocation=" >>> http://www.osgi.org/xmlns/blueprint/v1.0.0 >>> http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd"> >>> >>> <camelContext xmlns="http://camel.apache.org/schema/blueprint"> >>> >>> <route> >>> <description>Tests PHP</description> >>> <from uri="timer://foo?period=1000"/> >>> <transform><language language="php">'TEST'</language></transform> >>> <log message="${body}"/> >>> </route> >>> >>> </camelContext> >>> >>> </blueprint> >>> >>> ~Danny >>> >>>