HI Sriraman, For the issue1, you don't need to install the camel-core-xml, as the camel-blueprint bundle already has classes of camel-core-xml.
As you didn't have chance to play with WebSphere I can not answer the issue2. But if you look at the camel-blueprint bundle, you should be able find the blueprint handler file there. -- Willem Jiang FuseSource Web: http://www.fusesource.com (http://www.fusesource.com/) Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.javaeye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: willemjiang Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Tuesday, August 21, 2012 at 3:12 PM, Sriraman Gopalan wrote: > Dear Willem, > > I did install the camel-blueprint component in the internal bundle > repository of websphere. > > There are 2 issues here. > > 1. I am not too sure if the camel-core-xml is also required as it seems to > be a dependency for the camel-blueprint. However, it is not a valid OSGi > bundle in the sense, it does not have the Import-Package, Export Package > entries in its manifest and Websphere refuses to accept it as a valid > bundle. However, with a small change, I was able to generate the OSGi > manifest and was successful in adding it to the websphere internal bundle > repository. > > The change was in the pom of the camel-core-xml component as follows: > > <packaging>bundle</packaging> > <properties> > <camel.osgi.export.pkg> > org.apache.camel.core.xml.* > </camel.osgi.export.pkg> > </properties> > > The generated Manifest looked as shown below: > > ============================================================= > Manifest-Version: 1.0 > Bnd-LastModified: 1345531716277 > Build-Jdk: 1.6.0_29 > Built-By: sreeraaman > Bundle-Description: Camel Core XML support > Bundle-DocURL: http://www.apache.org/ > Bundle-License: http://www.apache.org/licenses/LICENSE-2.0.txt > Bundle-ManifestVersion: 2 > Bundle-Name: camel-core-xml > Bundle-SymbolicName: org.apache.camel.camel-core-xml > Bundle-Vendor: The Apache Software Foundation > Bundle-Version: 2.10.0 > Created-By: Apache Maven Bundle Plugin > Export-Package: org.apache.camel.core.xml;uses:="org.apache.camel.impl,o > rg.apache.camel.util,org.apache.camel,javax.xml.bind.annotation,org.apa > che.camel.component.properties,org.apache.camel.builder,org.apache.came > l.processor.interceptor,org.apache.camel.management,org.apache.camel.mo > del.dataformat,org.slf4j,org.apache.camel.model.config,org.apache.camel > .model,org.apache.camel.spi,org.apache.camel.processor,javax.xml.bind.a > nnotation.adapters,org.apache.camel.builder.xml";version="2.10.0",org.a > pache.camel.core.xml.util.jsse;uses:="org.apache.camel.util.jsse,org.ap > ache.camel,javax.xml.bind.annotation,org.apache.camel.core.xml";version > ="2.10.0" > Implementation-Title: Apache Camel > Implementation-Version: 2.10.0 > Import-Package: javax.xml.bind.annotation,javax.xml.bind.annotation.adap > ters,org.apache.camel;version="[2.10,2.11)",org.apache.camel.builder;ve > rsion="[2.10,2.11)",org.apache.camel.builder.xml;version="[2.10,2.11)", > org.apache.camel.component.properties;version="[2.10,2.11)",org.apache. > camel.impl;version="[2.10,2.11)",org.apache.camel.management;version="[ > 2.10,2.11)",org.apache.camel.model;version="[2.10,2.11)",org.apache.cam > el.model.config;version="[2.10,2.11)",org.apache.camel.model.dataformat > ;version="[2.10,2.11)",org.apache.camel.processor;version="[2.10,2.11)" > ,org.apache.camel.processor.interceptor;version="[2.10,2.11)",org.apach > e.camel.spi;version="[2.10,2.11)",org.apache.camel.util;version="[2.10, > 2.11)",org.apache.camel.util.jsse;version="[2.10,2.11)",org.slf4j;versi > on="[1.6,2)" > Karaf-Info: Camel;camel-core-xml=2.10.0 > Tool: Bnd-1.50.0 > ================================================================ > Also, there were a couple of warning produced while running mvn:package for > the camel-core-xml component as shown below: > > [WARNING] Bundle org.apache.camel:camel-core-xml:bundle:2.10.0 : Did not > find matching referal for !org.apache.camel.core.xml.* > [WARNING] Bundle org.apache.camel:camel-core-xml:bundle:2.10.0 : Did not > find matching referal for com.thoughtworks.xstream.* > [WARNING] Bundle org.apache.camel:camel-core-xml:bundle:2.10.0 : Did not > find matching referal for freemarker.* > [WARNING] Bundle org.apache.camel:camel-core-xml:bundle:2.10.0 : Did not > find matching referal for javax.persistence.* > [WARNING] Bundle org.apache.camel:camel-core-xml:bundle:2.10.0 : Did not > find matching referal for net.sf.flatpack.* > [WARNING] Bundle org.apache.camel:camel-core-xml:bundle:2.10.0 : Did not > find matching referal for net.sf.saxon.* > [WARNING] Bundle org.apache.camel:camel-core-xml:bundle:2.10.0 : Did not > find matching referal for org.antlr.stringtemplate.* > [WARNING] Bundle org.apache.camel:camel-core-xml:bundle:2.10.0 : Did not > find matching referal for org.apache.abdera.* > [WARNING] Bundle org.apache.camel:camel-core-xml:bundle:2.10.0 : Did not > find matching referal for org.apache.commons.httpclient.* > [WARNING] Bundle org.apache.camel:camel-core-xml:bundle:2.10.0 : Did not > find matching referal for org.apache.commons.logging.* > [WARNING] Bundle org.apache.camel:camel-core-xml:bundle:2.10.0 : Did not > find matching referal for org.apache.cxf.* > [WARNING] Bundle org.apache.camel:camel-core-xml:bundle:2.10.0 : Did not > find matching referal for org.apache.qpid.* > [WARNING] Bundle org.apache.camel:camel-core-xml:bundle:2.10.0 : Did not > find matching referal for org.apache.velocity.* > [WARNING] Bundle org.apache.camel:camel-core-xml:bundle:2.10.0 : Did not > find matching referal for org.apache.xmlbeans.* > [WARNING] Bundle org.apache.camel:camel-core-xml:bundle:2.10.0 : Did not > find matching referal for org.ccil.cowan.tagsoup.* > [WARNING] Bundle org.apache.camel:camel-core-xml:bundle:2.10.0 : Did not > find matching referal for org.eclipse.jetty.* > [WARNING] Bundle org.apache.camel:camel-core-xml:bundle:2.10.0 : Did not > find matching referal for org.jivesoftware.smack.* > [WARNING] Bundle org.apache.camel:camel-core-xml:bundle:2.10.0 : Did not > find matching referal for org.mortbay.cometd.* > [WARNING] Bundle org.apache.camel:camel-core-xml:bundle:2.10.0 : Did not > find matching referal for org.springframework.* > > > > > 2. I tried to check with the websphere application server developer tools to > see if I can get some insight into what exactly is happening. I was > surprised to see that we I tried to create a blueprint xml, it had an option > to add or remove blueprint namespaces and it lists only the following: > > a. IBM Blueprint Extension > b. JPA Blueprint Support > c. Blueprint Transaction Support > d. Blueprint Resource Reference support > > With all these namespaces selected, the generated blueprint xml looks as > follows: > > <?xml version="1.0" encoding="UTF-8"?> > <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" > xmlns:bpext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0" > xmlns:bpjpa="http://aries.apache.org/xmlns/jpa/v1.0.0" > xmlns:bptx="http://aries.apache.org/xmlns/transactions/v1.0.0" > > xmlns:bpresref="http://www.ibm.com/appserver/schemas/8.0/blueprint/resourcereference"> > > </blueprint> > > I am not too sure, if I can add a custom namespace and attach a URL and a > namespace handler via tooling in websphere. > > I have attached the add/remove blueprint namespace screen from websphere > developer tools for your reference. ( > http://camel.465427.n5.nabble.com/file/n5717743/blueprintnamespaces.png > blueprintnamespaces.png ) > > best regards > Sriraman. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Unable-to-deploy-a-camel-route-in-websphere-application-server-8-5-tp5717720p5717743.html > Sent from the Camel - Users mailing list archive at Nabble.com > (http://Nabble.com).