Hello,

the reason why I started to build a own component for RabbitMQ is that
the actual AMQP Component is based on the QPID Client Library which is not full
compatible with RabbitMQ.

For my component I used auto discovery and it all works well without parameters.

But with the param I got this error that I described above.

Regards,

Michael

2011/11/6 Jason Whaley <[email protected]>:
> 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ß <
> [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
>>
>

Reply via email to