Artem Bilan
c96a62f163
GH-2939: Rely on custom AmqpHeaders.RETRY_COUNT for server retries
...
Fixes: https://github.com/spring-cloud/spring-cloud-stream/issues/2939
The RabbitMQ 4.0 does not deal with client side `x-*` headers.
Therefore, an `x-death.count` is not incremented anymore when
message is re-published from client back to the broker.
* Spring AMQP 3.2 has introduced an `AmqpHeaders.RETRY_COUNT` custom header.
Use `messageProperties.incrementRetryCount()` in the `RabbitMessageChannelBinder`
when we re-published message back to the broker for server-side retries
* Fix docs respectively
Resolves #3019
2024-10-17 12:00:11 +02:00
Soby Chacko
bf9ea9e626
Fix Rabbit binder compiliation issues
2024-10-14 14:19:45 -04:00
buildmaster
a81fb04286
Going back to snapshots
2024-10-08 01:06:11 +00:00
buildmaster
67d4d34a58
Update SNAPSHOT to 4.2.0-M2
2024-10-08 01:03:40 +00:00
Ömer Çelik
cbfd3aa995
Change "synchronized" to reentrant lock for virtual-threads
...
Fix checkstyles before merge
Code cleanup
Double-Checked Locking Optimization was used to avoid unnecessary locking overhead.
2024-10-07 18:40:51 +02:00
Oleg Zhurakousky
6f9809eba1
Fix depreactions
2024-09-27 16:41:56 +02:00
Oleg Zhurakousky
56047ddb19
GH-2997 Fix support for producer's error-handler-definition
...
Resolves #2997
2024-09-24 17:20:46 +02:00
Soby Chacko
29a3558329
Make MessageConverterHelper bean names distinct in binders.
2024-09-19 16:16:41 -04:00
Oleg Zhurakousky
14c10462f8
GH-2994, GH-2986 Add initial support for customizing Message Converter behavior
...
primarily during batch processing.
2024-09-16 16:10:38 +02:00
Ömer Çelik
8e5f67a1a6
Code cleanup
...
Resolves #2990
2024-08-20 15:03:39 +02:00
Ömer Çelik
7fefaa38c0
Code cleanup
2024-08-20 12:53:03 +02:00
buildmaster
1de0e1c690
Going back to snapshots
2024-08-19 18:09:13 +00:00
buildmaster
b1507bdc01
Update SNAPSHOT to 4.2.0-M1
2024-08-19 18:06:14 +00:00
buildmaster
26dddfe1c1
Going back to snapshots
2024-08-19 17:29:31 +00:00
buildmaster
15f5791281
Update SNAPSHOT to 4.2.0-M1
2024-08-19 17:26:43 +00:00
buildmaster
71e0c92e7c
Bumping versions
2024-08-06 18:45:33 +00:00
spencergibb
42c42104ea
Fixed compile errors with replacements for deprecations
2024-08-05 15:53:43 -04:00
buildmaster
b5eccf6232
Bumping versions to 4.1.4-SNAPSHOT after release
2024-07-10 16:21:06 +00:00
buildmaster
2cbcd93232
Going back to snapshots
2024-07-10 16:21:05 +00:00
buildmaster
f459e2bfcd
Update SNAPSHOT to 4.1.3
2024-07-10 16:17:09 +00:00
buildmaster
7c206241cc
Bumping versions to 4.1.3-SNAPSHOT after release
2024-05-30 10:53:13 +00:00
buildmaster
084242ac9e
Going back to snapshots
2024-05-30 10:53:12 +00:00
buildmaster
79d093e984
Update SNAPSHOT to 4.1.2
2024-05-30 10:49:10 +00:00
Soby Chacko
244de0fcea
Rabbit biner AOT/native runtime hints
...
* Add missing native runtime hints for the Rabbit binder properties classes
Resolves https://github.com/spring-cloud/spring-cloud-stream/issues/2938
2024-05-29 16:59:46 -04:00
Soby Chacko
fd9fa80055
Test cleanup
...
* Use `EnableAutoConfiguration` instead of `SpringBootApplication` in tests
2024-05-16 15:28:54 -04:00
buildmaster
99f1f1eb4a
Bumping versions to 4.1.2-SNAPSHOT after release
2024-03-27 13:18:07 +00:00
buildmaster
3e7e65f259
Going back to snapshots
2024-03-27 13:18:06 +00:00
buildmaster
71727654ef
Update SNAPSHOT to 4.1.1
2024-03-27 13:13:52 +00:00
Artem Bilan
3e24d331db
Rework observability for Rabbit Binder ( #2903 )
...
Fixes : #2901
* Rework an observation for Rabbit Binder
The observation propagation doesn't work in multi-binder configuration
* Remove `ObservationAutoConfiguration` since it is not visible in case of multi-binder configuration
* Instead move `setObservationEnabled` flag setting to the `RabbitMessageChannelBinder`
* Add `io.micrometer.observation.ObservationRegistry` into `shared.beans` to make it visible for binder-specific application context
* Add `RabbitMultiBinderObservationTests` integration test where Rabbit Binder is in a multi-binder environment
As a side effect, this fixes an observation propagation for the Kafka binder as well in the multi-binder environment.
Its configuration is OK, but an `ObservationRegistry` must make it visible for the binder-specific application context.
See the mentioned `shared. beans`
Related to https://github.com/spring-cloud/spring-cloud-stream/issues/2901
Also see https://github.com/spring-cloud/spring-cloud-stream/issues/2902 for possible evolution
* Update the copyright of the affected classes
2024-02-14 18:53:06 -05:00
buildmaster
aa597bbfcb
Bumping versions to 4.1.1-SNAPSHOT after release
2023-12-06 15:16:34 +00:00
buildmaster
fae2175dc3
Going back to snapshots
2023-12-06 15:16:33 +00:00
buildmaster
a4fb285836
Update SNAPSHOT to 4.1.0
2023-12-06 15:12:11 +00:00
Soby Chacko
bafffad0f5
Test cleanup in rabbit binder modules
...
- Remove the test name prefix from the test methods in the rabbit binder modules
- package protected tests in rabbit binder
Part of fixing https://github.com/spring-cloud/spring-cloud-stream/issues/2371 .
2023-11-08 12:49:00 -05:00
Soby Chacko
36a43be235
package protected tests in rabbit binder
2023-11-02 15:34:17 -04:00
buildmaster
9054367f67
Going back to snapshots
2023-10-31 13:34:17 +00:00
buildmaster
b3a3e03634
Update SNAPSHOT to 4.1.0-RC1
2023-10-31 13:30:45 +00:00
buildmaster
cd0e3c1a38
Going back to snapshots
2023-09-27 10:33:44 +00:00
buildmaster
ecaf757a38
Update SNAPSHOT to 4.1.0-M2
2023-09-27 10:29:34 +00:00
Oleg Zhurakousky
38ce1f79d9
Fix property value type
2023-09-26 07:09:46 +02:00
buildmaster
6c28820e8e
Going back to snapshots
2023-08-10 01:30:10 +00:00
buildmaster
4743859cd7
Update SNAPSHOT to 4.1.0-M1
2023-08-10 01:26:38 +00:00
Soby Chacko
63d2bd3256
Updating to 4.1.0-SNAPSHOT
2023-06-14 14:22:10 -04:00
buildmaster
0b7d773b30
Bumping versions to 4.0.4-SNAPSHOT after release
2023-05-24 18:47:37 +00:00
buildmaster
16cf46d74f
Going back to snapshots
2023-05-24 18:47:37 +00:00
buildmaster
1550366414
Update SNAPSHOT to 4.0.3
2023-05-24 18:43:23 +00:00
buildmaster
ea37eed9be
Bumping versions
2023-03-29 17:33:29 +00:00
buildmaster
b2f2b51b90
Bumping versions
2023-03-28 17:27:48 +00:00
buildmaster
58c028f339
Bumping versions to 4.0.3-SNAPSHOT after release
2023-03-28 14:51:23 +00:00
buildmaster
c45f2e3ac7
Going back to snapshots
2023-03-28 14:51:22 +00:00
buildmaster
d932cf990f
Update SNAPSHOT to 4.0.2
2023-03-28 14:47:17 +00:00