You should make sure your component has been registed in Camel's registry with the name same as the uri's prefix; for example: given a uri as "aaa:bbb?para=...", you must make sure your component has registed with the name "aaa";
camel provide several mechanism to regist component, if you are using spring, the simplest way is define your component as a bean, and using the bean's name as uri's prefix; if you are using dsl, you can direct regist your component using camel's API, and using the registed name as uri's prefix; ----- Original Message ----- From: "Michael Prieß" <mailingliste...@googlemail.com> To: "users" <users@camel.apache.org> Sent: Monday, November 07, 2011 5:07 AM Subject: Writing own Camel Components > Hello, > > I started today to write a new Camel Component for RabbitMQ to Consume > and Produce Messages from the message broker. > > At the moment I not understand how to put in parameters. > > When I try to append the parameter hostname > > Exam: > .to("rabbitmq:foo?hostname=localhost") > > I get the following exception: > Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to > resolve endpoint: rabbitmq://foo?hostname=localhost due to: null > > Cheers, > > Michael > >