Instead of writing your own component have you tried using or improving the amqp component? http://camel.apache.org/amqp.html
On Sun, Nov 6, 2011 at 4:07 PM, Michael Prieß < [email protected]> 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 >
