[
https://issues.apache.org/activemq/browse/CAMEL-2162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=55486#action_55486
]
Sailaja commented on CAMEL-2162:
--------------------------------
According to your 1st comment, there is no need to export
"org.apache.camel.example.camel.jms" package in OSGi but I found that
"org.apache.camel.example.camel.jms" class is added in the Import Package list,
so when I start the bundle in servicemix I am getting below exception
*The bundle could not be resolved. Reason: Missing Constraint: Import-Package:
org.apache.camel.example.jms; version="0.0.0" .*
I just tried removing the package from Import Package list and started the
bundle. But I got the below exception
*The bundle could not be resolved. Reason: Missing Constraint: Import-Package:
org.apache.hello_world_soap_http; version="0.0.0"*
> mvn install command is not packaging the jms folder for camel-example-cxf
> example.
> ----------------------------------------------------------------------------------
>
> Key: CAMEL-2162
> URL: https://issues.apache.org/activemq/browse/CAMEL-2162
> Project: Apache Camel
> Issue Type: Bug
> Components: examples
> Reporter: Sailaja
> Assignee: Willem Jiang
> Fix For: 2.1.0
>
>
> 1. Installed latest apache-camel
> 2. Applied the patch that is attached to [Camel-2155 |
> https://issues.apache.org/activemq/browse/CAMEL-2155]
> 3. Compile the sample using mvn compile
> 4. Install the camel sample into repository using "mvn clean install" command
> 5. Open the package (i.e. jar file) from
> <USERPROFILE>\.m2\repository\org\apache\camel\camel-example-cxf\<Camel-Version>
> folder and observe that jms folder is not there under
> "org.apache.camel.example" location
> This can be resolved by modifying the existing "properties" tag to
> <properties>
> <camel.osgi.export.pkg>
> org.apache.camel.example.cxf.*;${camel.osgi.version},
> org.apache.camel.example.camel.transport.*;${camel.osgi.version},
> +org.apache.camel.example.camel.jms.*;${camel.osgi.version}+
> </camel.osgi.export.pkg>
> </properties>
> *After applying the above workaround, I am still facing some problems when we
> start the bundle. I will update this bug with the remaining errors also*
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.