francescobianca opened a new issue, #5651:
URL: https://github.com/apache/camel-quarkus/issues/5651

   ### Bug description
   
   Hello,
   
   I am migrating classical queues to quorum-type queues. Communication with 
RabbitMQ is established through the following [camel 
component](https://camel.apache.org/camel-quarkus/2.16.x/reference/extensions/rabbitmq.html)
 (version 2.16.0).
   
     ```
   <dependency>
         <groupId>org.apache.camel.quarkus</groupId>
         <artifactId>camel-quarkus-rabbitmq</artifactId>
     </dependency>
   ```
   
   I defined the route as follows: 
   
_rabbitmq:iot-exchange?queue=telemetry_general_queue&routingKey=telemetry_general_rk&autoDelete=false&arg.queue.x-queue-type=quorum_
   
   Compared with the previous (working) version, I added the following 
argument: **arg.queue.x-queue-type=quorum**.
   
   I have other spring boot framework based microservices that use the 
dependency below and with the same parameter they work correctly.
     ```
   <dependency>
       <groupId>org.apache.camel</groupId>
       <artifactId>camel-spring-rabbitmq</artifactId>
   </dependency>
   ```
   
   When I start the microservice with the route defined as described the rabbit 
server notifies me with the following error:
   
   > [4:36 PM] 2024-01-16 15:34:55.418094+00:00 [error] <0.5583.0> Channel 
error on connection <0.5574.0> (127.0.0.1:39566 -> 127.0.0.1:5672, vhost: '/', 
user: 'default_user_lfHfpaMt6kTqiZDaAk8'), channel 1:
   > 2024-01-16 15:34:55.418094+00:00 [error] <0.5583.0> operation 
queue.declare caused a channel exception precondition_failed: invalid arg 
'x-queue-type' for queue 'telemetry_general_queue' in vhost '/': 
{unacceptable_type,void} (edited)
   
   Is there an alternative mechanism to solve this problem?
   
   Thanks in advance


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to