Also, if you are intent on writing a custom component, did you either add your component to the CamelContext with the name of "rabbitmq" or use the auto discovery by creating a file in META-INF as described here http://camel.apache.org/writing-components.html ?
On Sun, Nov 6, 2011 at 4:07 PM, Michael Prieß < mailingliste...@googlemail.com> wrote: > 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 >