[
https://issues.apache.org/activemq/browse/CAMEL-2162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=55333#action_55333
]
Willem Jiang commented on CAMEL-2162:
-------------------------------------
Hi Sailaja,
The org.apache.camel.example.camel.jms is used for starting the camel from Java
command, it is useless when you start it from Spring DM.
So we don't need to export that package in OSGi.
But since we start the activeMQ broker from the bundle , we need to import the
activemq packages.
Willem
> 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.