You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by klausb <kl...@hp.com> on 2010/12/01 14:09:35 UTC

Camel + NMR + Karaf (OSGi) possible without ServiceMix?

Can I run the above triplet (Camel + NMR + Karaf) without using full-blow
ServiceMix installation?

I tried to install nmr features into karaf, but without success. 

klaus.
-- 
View this message in context: http://camel.465427.n5.nabble.com/Camel-NMR-Karaf-OSGi-possible-without-ServiceMix-tp3287623p3287623.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel + NMR + Karaf (OSGi) possible without ServiceMix?

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
camel-nmr feature is provided by ServiceMix 4 (the main features 
subproject).

It's contained in the features descriptor available on, for example:
mvn:org.apache.servicemix/apache-servicemix/4.3.0-SNAPSHOT

This features descriptor provides camel-nmr, camel-activemq, 
examples-camel-osgi, examples-camel-nmr, examples-cxf-camel-nmr, etc 
around camel.

Regards
JB

On 12/02/2010 02:49 PM, klausb wrote:
>
> Ok, I've got the NMR stuff loaded. But have still an unresolved dependency to
> org.apache.servicemix.camel.nmr. Any idea, what the URI is for the
> corresponding feature file. That is the one, which contains the camel-nmr
> feature (if that exists).
>
> Thanks,
> klaus.

Re: Camel + NMR + Karaf (OSGi) possible without ServiceMix?

Posted by klausb <kl...@hp.com>.
Ok, I've got the NMR stuff loaded. But have still an unresolved dependency to
org.apache.servicemix.camel.nmr. Any idea, what the URI is for the
corresponding feature file. That is the one, which contains the camel-nmr
feature (if that exists).

Thanks,
klaus.
-- 
View this message in context: http://camel.465427.n5.nabble.com/Camel-NMR-Karaf-OSGi-possible-without-ServiceMix-tp3287623p3289382.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel + NMR + Karaf (OSGi) possible without ServiceMix?

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Yes, you have to add the ServiceMix NMR URL, for example:

features:addurl 
mvn:org.apache.servicemix.nmr/apache-servicemix-nmr/1.3.0-SNAPSHOT/xml/features

After that you will get all NMR features available.

You can create custom Karaf distribution by adding camel and nmr 
features descriptors in the system directory.
You can enable some features at Karaf startup using the 
etc/org.apache.karaf.features.cfg file.

Regards
JB

On 12/01/2010 02:26 PM, klausb wrote:
>
> A standard karaf install has no pointer to the feature defs for nrm and
> simply copying feature pointers from SM did not work. Something was always
> missing. Maybe I just failed to get the right feature definition and
> features loaded.
>
> Do you know, how to prepare the karaf config, such that I can load NMR and
> camel and finally use camel routing with the nmr endpoint?
>
> klaus.

Re: Camel + NMR + Karaf (OSGi) possible without ServiceMix?

Posted by klausb <kl...@hp.com>.
A standard karaf install has no pointer to the feature defs for nrm and
simply copying feature pointers from SM did not work. Something was always
missing. Maybe I just failed to get the right feature definition and
features loaded.

Do you know, how to prepare the karaf config, such that I can load NMR and
camel and finally use camel routing with the nmr endpoint?

klaus.
-- 
View this message in context: http://camel.465427.n5.nabble.com/Camel-NMR-Karaf-OSGi-possible-without-ServiceMix-tp3287623p3287644.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel + NMR + Karaf (OSGi) possible without ServiceMix?

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Klaus,

yes you can run Karaf + Camel + ServiceMix NMR.

What issues had you ?

Regards
JB

On 12/01/2010 02:09 PM, klausb wrote:
>
> Can I run the above triplet (Camel + NMR + Karaf) without using full-blow
> ServiceMix installation?
>
> I tried to install nmr features into karaf, but without success.
>
> klaus.