camel servicemix 重要命令

1.

features:addUrl mvn:org.apache.camel.karaf/features/2.0.0/xml/features

features:install camel-activemq
features:install camel-jpa
features:install jpa-hibernate

2. osgi:install
osgi:install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-dbcp/1.2.2_5
osgi:install -s mvn:mysql/mysql-connector-java
osgi:install -s mvn:org.jboss.javassist/com.springsource.javassist/3.9.0.GA
osgi:install -s mvn:org.hibernate/com.springsource.org.hibernate.annotations.common/3.3.0.GA
osgi:install -s mvn:org.hibernate/com.springsource.org.hibernate.annotations/3.4.0.GA
osgi:install -s mvn:org.hibernate/com.springsource.org.hibernate.ejb/3.4.0.GA
osgi:install -s mvn:org.hibernate/com.springsource.org.hibernate/3.3.2.GA
osgi:install -s wrap:mvn:hsqldb/hsqldb/1.8.0.7
osgi:install -s mvn:org.eclipse.persistence/javax.persistence/1.2.0
osgi:install -s mvn:org.eclipse.persistence/org.eclipse.persistence.antlr/1.2.0
osgi:install -s mvn:org.eclipse.persistence/org.eclipse.persistence.asm/1.2.0
osgi:install -s mvn:org.eclipse.persistence/org.eclipse.persistence.core/1.2.0
osgi:install -s mvn:org.eclipse.persistence/org.eclipse.persistence.jpa/1.2.0



3.package
packages:exports <bundle-id>
packages:imports <bundle-id> : check what bundle try to get. Another good



4. dev
dev:show-tree <bundle-id>





你可能感兴趣的:(osgi)