Hi,

1) I have to use camel-http component. 
2) I added the following dependencies in the POM file. 

    <dependency>
    <groupId>org.apache.camel</groupId>
    <artifactId>camel-http</artifactId>
    <version>1.4.0</version>
    <!-- use the same version as your Camel core version -->
    </dependency>


3) I started getting Unresolved package error for 
"package=org.apache.commons.httpclient" at Runtime. 
4) So I have added the dependency for commons-httpclient. 

    <dependency>
    <groupId>commons-httpclient</groupId>
    <artifactId>commons-httpclient</artifactId>
    <version>3.1</version>
    </dependency>

I added it in embedded-dependency because commons-httpclient is a non-osgi jar. 
5) I am still getting the same error. 
6) I also tried adding the packages under Import-Package tag.

Note - 1) I can see the dependencies getting reflected under Import-Package, in 
the generated MANIFEST file of my bundle jar. 2)Camel verison used is 1.5

Thanks.
Regards,
Narita

Reply via email to