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

Claus Ibsen commented on CAMEL-19916:
-------------------------------------

Can you look at their connection factory as you can set confirm type 

        CachingConnectionFactory cf = new CachingConnectionFactory();
        if (confirm) {
            
cf.setPublisherConfirmType(CachingConnectionFactory.ConfirmType.CORRELATED);
        }



> spring-rabbitmq-component mandatory option
> ------------------------------------------
>
>                 Key: CAMEL-19916
>                 URL: https://issues.apache.org/jira/browse/CAMEL-19916
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-rabbitmq
>    Affects Versions: 4.0.0
>            Reporter: Dries Van Autreve
>            Priority: Minor
>
> In Camel 4, the component {{camel-rabbitmq}} was removed in favor of 
> {{spring-rabbitmq-component}}
> It seems however that not all options are supported in the new component. I 
> was looking for 
> [mandatory|https://camel.apache.org/components/3.21.x/rabbitmq-component.html#_component_option_mandatory],
>   but I cannot find a replacement. (Nor there seems a way to hook in a custom 
> Spring {{RabbitTemplate}} with own implementation for it as 
> {{SpringRabbitMQEndpoint}} creates its own.)
> The use case in which this is helpful, is when there's an exchange but the 
> routing to a queue fails (e.g. invalid routing key).
> It would be useful if this option is also implemented in 
> {{spring-rabbitmq-component}}



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

Reply via email to