Hello.

I'm trying a very simple usage of the master component using a
blueprint (attached) on Karaf.
I have added the required camel features (blueprint, master), but when
my bundle starts I get an error message : "Caused by:
java.lang.IllegalStateException: No cluster service found"

I've also tried to install some of the camel cluster service features,
but none is taken into account "by default".

Is there any way to set such a cluster service out of the
application's blueprints ? Any example ?

Thanks for your help.

Regards.
<?xml version="1.0" encoding="UTF-8"?>

<blueprint
	xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0";
    xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0";
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
    xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0
							http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
						http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0
							http://aries.apache.org/schemas/blueprint-cm/blueprint-cm-1.1.0.xsd";>

	<camelContext id="fifi1" xmlns="http://camel.apache.org/schema/blueprint";>
		<route id="fifi1-1-file">
			<from uri="master:fifi1:file:///C:/TMP/FIFI-T1/input?delete=true&amp;recursive=true" />
			<log message="FIFI1 : processing ${file:name} (length ${file:length})..." />
		</route>
	</camelContext>

</blueprint>

Reply via email to