Spring RabbitMQ Component

2023-07-14 Thread Santiago Acosta
I have seen that there is a way to configure Publisher Confirms in the old RabbitMQ component but I have not found an equivalent in the Spring version of the component. I understand that Spring provides 3 publisher confirm modes when using CachingConnectionFactory: NONE, SIMPLE, CORRELATED. Is

Re: Spring RabbitMQ Component

2023-07-14 Thread Santiago Acosta
thanks but I forgot to mention we do not use spring-boot so there is no auto-wiring or annotation magic and we also do not use the xml declaration of routes. We do everything programmatically so I was targeting something like the following return CachingConnectionFactory().apply { ...

Re: Spring RabbitMQ Component

2023-07-14 Thread Federico Mariani
Hello, You can leverage spring-boot autoconfiguration using spring.rabbitmq.publisher-confirm-type and spring.rabbitmq.publisher-returns properties and camel will autowire the CCF and the AmqpAdmin. Il giorno ven 14 lug 2023 alle ore 12:55 Santiago Acosta <

Re: Counterintuitive behavior in S3 producer and consumer

2023-07-14 Thread Andrea Cosentino
This is a known behavior. You need to override the header explicitly. Il ven 14 lug 2023, 23:05 Anthony Wu ha scritto: > Hi folks, > > I noticed something odd in Camel 3.14.x where, if you have a > from("aws2-s3://bucket1") and a to("aws2-s3://bucket2") - basically a > download, some

Counterintuitive behavior in S3 producer and consumer

2023-07-14 Thread Anthony Wu
Hi folks, I noticed something odd in Camel 3.14.x where, if you have a from("aws2-s3://bucket1") and a to("aws2-s3://bucket2") - basically a download, some processing in the middle, and an upload of a different file and a different bucket (where the KEY header is set to tell Camel which file to

Re: Counterintuitive behavior in S3 producer and consumer

2023-07-14 Thread Andrea Cosentino
By the way I'll have another look. I don't remember this behavior, at least not with bucket2 explicit in the URI Il ven 14 lug 2023, 23:42 Andrea Cosentino ha scritto: > This is a known behavior. > > You need to override the header explicitly. > > Il ven 14 lug 2023, 23:05 Anthony Wu ha