[ 
https://issues.apache.org/jira/browse/CAMEL-7678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14211930#comment-14211930
 ] 

Yap Poh Soon commented on CAMEL-7678:
-------------------------------------

I think [~edwardost] is refering to the RabbitMQ's default exchange, where the 
default exchange is specify with empty string.  I use camel-rabbitmq just two 
days ago, and i encounter that i am unable to define a <from> route with the 
rabbitmq default exchange following:
{quote}
<camelContext xmlns="http://camel.apache.org/schema/spring";>
  <route>
    <from uri="rabbitmq://localhost/?routingKey=ad_google_dfa_reporting_queue"/>
{quote}

instead, the following is required:
{quote}
<from 
uri="rabbitmq://localhost/*adserver*?routingKey=ad_google_dfa_reporting_queue"/>
{quote}

> Update camel-rabbitmq URI for consumers
> ---------------------------------------
>
>                 Key: CAMEL-7678
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7678
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-rabbitmq
>    Affects Versions: 2.13.2
>            Reporter: Edward Ost
>
> The camel-rabbitmq requires a mandatory amqp exchange as the first parameter 
> in the URI.  Other options are specfied after the "?.  This is appropriate 
> for producers, but not for consumers.  Subscribers should specify the queue 
> name as the first parameter.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to