camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: JDBC Connection object in Camel Processor
Date Wed, 26 Feb 2014 07:09:30 GMT
Hi

Try with
      <DynamicImport-Package>*</DynamicImport-Package>



On Wed, Feb 26, 2014 at 7:26 AM, contactreji <contactreji@gmail.com> wrote:
> Hi Clause
>
> Thanks for your prompt help! :-)
>
> I followed your advice and did following changes in the POM file.
>
> *<plugin>
>                                 <groupId>org.apache.felix</groupId>
>                                 <artifactId>maven-bundle-plugin</artifactId>
>                                 <version>2.3.4</version>
>                                 <extensions>true</extensions>
>                                 <configuration>
>
>                                         <instructions>
>                                                 <Import-Package>org.apache.activemq.xbean,
>                                                         javax.activation;version=1.1,
>                                                         org.apache.activemq.spring,
>                                                         org.apache.activemq.broker,
>                                                         org.apache.activemq.security,
>                                                         org.apache.activemq.jaas,
>                                                         org.apache.activemq.pool,
>                                                         org.apache.activemq.camel.component,
>                                                         org.apache.camel.component.jms,
>                                                         *</Import-Package>
>                                                 <DynamicImport-Package>com.mysql.jdbc</DynamicImport-Package>
>                                 </instructions>
>                 </configuration>
> </plugin>*
>
> How ever, I couldnt get a difference. On building project in maven, I got a
> deployable jar file. Following is the content of the MANIFEST file inside
> the jar file.
> It shows the Dynamic Import of the package *DynamicImport-Package:
> com.mysql.jdbc*
>
> *Manifest-Version: 1.0
> Export-Package: com.ibm.maximo;uses:="javax.xml.bind.annotation,javax.
>  xml.bind,javax.xml.datatype,com.ibm.maximo.runtime,javax.xml.bind.ann
>  otation.adapters,javax.xml.namespace",com.ibm.maximo.runtime;uses:="j
>  avax.xml.bind.annotation.adapters,javax.xml.bind",com.ibm.maximo.wsdl
>  .otecwebservices_otecdowntime;uses:="javax.xml.ws,javax.xml.namespace
>  ,javax.jws.soap,com.ibm.maximo,javax.jws,javax.xml.bind.annotation",c
>  om.outotec.asset.downtime;uses:="javax.activation,org.apache.camel,or
>  g.apache.log4j,org.springframework.beans.factory.annotation,org.apach
>  e.cxf.ws.addressing,org.apache.cxf.binding,org.apache.cxf.message,org
>  .apache.cxf.configuration.security,org.apache.cxf.transport,org.apach
>  e.cxf.binding.soap.interceptor,org.apache.cxf.endpoint,org.apache.cxf
>  .interceptor,javax.xml.parsers,javax.xml.transform.dom,org.w3c.dom,co
>  m.ibm.maximo.wsdl.otecwebservices_otecdowntime,com.ibm.maximo,javax.s
>  ql,javax.xml.transform,javax.xml.transform.stream,javax.xml.bind,outo
>  tec.pi.mes.id51.plantstanstillhours",com.outotec.serializationclasses
>  ;uses:="com.ibm.maximo,org.apache.camel,javax.xml.bind,javax.jms,org.
>  apache.activemq",outotec.pi.mes.id51.plantstanstillhours;uses:="javax
>  .jws.soap,com.ibm.maximo,javax.jws,javax.xml.bind.annotation,javax.xm
>  l.ws,javax.xml.namespace"
> Built-By: RE267981
> Tool: Bnd-1.15.0
> Bundle-Name: Plant StandStill hours/Asset Down Time
> Created-By: Apache Maven Bundle Plugin
> DynamicImport-Package: com.mysql.jdbc
> Build-Jdk: 1.7.0_04
> Bundle-Version: 1.0.0
> Bnd-LastModified: 1393395488065
> Bundle-ManifestVersion: 2
> Bundle-Description: Creates a web service using the Asset Down Time Ws
>  dl. We are exposing to MES. We will consume EAM and PI Service.
> Bundle-SymbolicName: com.outotec.asset-down-time
> Import-Package: javax.activation;version="1.1",javax.jms;version="[1.1
>  ,2)",javax.jws,javax.jws.soap,javax.sql,javax.xml.bind,javax.xml.bind
>  .annotation,javax.xml.bind.annotation.adapters,javax.xml.datatype,jav
>  ax.xml.namespace,javax.xml.parsers,javax.xml.transform,javax.xml.tran
>  sform.dom,javax.xml.transform.stream,javax.xml.ws,org.apache.activemq
>  ,org.apache.activemq.broker,org.apache.activemq.camel.component,org.a
>  pache.activemq.jaas,org.apache.activemq.pool,org.apache.activemq.secu
>  rity,org.apache.activemq.spring,org.apache.activemq.xbean,org.apache.
>  camel;version="[2.10,3)",org.apache.camel.builder;version="[2.10,3)",
>  org.apache.camel.component.jms;version="[2.10,3)",org.apache.camel.pr
>  ocessor;version="[2.10,3)",org.apache.cxf.binding;version="[2.6,3)",o
>  rg.apache.cxf.binding.soap.interceptor;version="[2.6,3)",org.apache.c
>  xf.configuration.security;version="[2.6,3)",org.apache.cxf.endpoint;v
>  ersion="[2.6,3)",org.apache.cxf.interceptor;version="[2.6,3)",org.apa
>  che.cxf.message;version="[2.6,3)",org.apache.cxf.transport;version="[
>  2.6,3)",org.apache.cxf.ws.addressing;version="[2.6,3)",org.apache.log
>  4j,org.springframework.beans.factory.annotation;version="[3.0,4)",org
>  .w3c.dom*
>
>
>
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/JDBC-Connection-object-in-Camel-Processor-tp5747896p5747989.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
Make your Camel applications look hawt, try: http://hawt.io

Mime
View raw message