Forum Home » Fuse Distributions » Fuse ESB

Thread: Create share-library in fuse 4.4.1

 

Permlink Replies: 2 - Last Post: Jun 6, 2012 5:27 PM Last Post By: jpepalmero
jpepalmero

Posts: 53
Registered: 11/24/11
Create share-library in fuse 4.4.1
Posted: Jun 4, 2012 8:40 PM
  Click to reply to this thread Reply
Hello,

I want to know how you create a component share-library (servicemix 3.3) in fuse esb 4.4.1

ffang

Posts: 1,320
Registered: 12/24/07
Re: Create share-library in fuse 4.4.1
Posted: Jun 5, 2012 3:52 AM   in response to: jpepalmero in response to: jpepalmero
  Click to reply to this thread Reply
Hi,

Basically in FUSE ESB 4.x, which is an OSGi container, all should be bundles.

So you need make the sharedlib as a OSGi bundle and all other JBI components which need use the sharedlib just import necessary packages from it, or simply add shardlib as a Required-Bundle.

You can take a look at servicemix-shared feature from $FUSE_ESB/system/org/apache/servicemix/apache-servicemix/4.4.1-fuse-03-06/apache-servicemix-4.4.1-fuse-xx-xx-features.xml
which mainly include a servicemix-common bundle, this the sharedlib from FUSE ESB 3.x and all other JBI components just add servicemix-common as Required-Bundle.

Freeman
jpepalmero

Posts: 53
Registered: 11/24/11
Re: Create share-library in fuse 4.4.1
Posted: Jun 6, 2012 5:27 PM   in response to: ffang in response to: ffang
  Click to reply to this thread Reply
Thank´s