You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2023/02/03 13:35:00 UTC

[jira] [Commented] (CAMEL-19008) spring-rabbitmq component does not fail on sending to non-existent RabbitMQ topic

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

Claus Ibsen commented on CAMEL-19008:
-------------------------------------

Can you look at rabbitmq docs / spring-rabbitmq docs as it may be default, and you need to turn on something to fail for non existing topics

> spring-rabbitmq component does not fail on sending to non-existent RabbitMQ topic
> ---------------------------------------------------------------------------------
>
>                 Key: CAMEL-19008
>                 URL: https://issues.apache.org/jira/browse/CAMEL-19008
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-rabbitmq
>    Affects Versions: 3.20.1
>            Reporter: Vyacheslav Boyko
>            Priority: Minor
>
> Sending a message to non-existant RabbitMQ topic does not brake the passage through the whole Camel Route
>  
> Here is a test describing such an issue
> [https://github.com/anatoly-spb/spring-boot-camel-rabbitmq-bug/blob/main/src/test/java/dev/bug/spring/camel/rabbitmq/SpringBootCamelRabbitmqBugApplicationTests.java]
> I expect the route with route id "process" get failed on step 
> ```
> .to("spring-rabbitmq:invalidExchange")
> ```
> because of this topic does not exist.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)