Commit Graph

181 Commits

Author SHA1 Message Date
Oleg Zhurakousky
f9eec404c3 Polishing previous commit
Resolves #166
2018-10-03 14:49:11 -04:00
Gary Russell
3615664580 GH-159: Truncate stack traces if necessary
Fixes https://github.com/spring-cloud/spring-cloud-stream-binder-rabbit/issues/159
2018-10-03 14:49:11 -04:00
Gary Russell
f7a80cfa61 GH-178: Add confirmAckChannel
Resolves https://github.com/spring-cloud/spring-cloud-stream-binder-rabbit/issues/178

Polishing - PR Comments

- use channel name to avoid early instantiation

Resolves #179
2018-10-03 14:03:56 -04:00
Oleg Zhurakousky
94bb518419 Removed check-style dependencies from main pom 2018-10-02 10:38:11 -04:00
Soby Chacko
91cefc4d38 Next update version: 2.1.0.BUILD-SNAPSHOT 2018-09-21 11:40:10 -04:00
Soby Chacko
6352426b4f 2.1.0.M3 Release 2018-09-21 11:09:18 -04:00
Gary Russell
75ebb08479 GH-176: Add DLX Provisioning Flexibility
Resolves https://github.com/spring-cloud/spring-cloud-stream-binder-rabbit/issues/176
Resolves #177

- Add `declareDlx` to suppress declaration of DLX
- Add `deadLetterExchangeType` to allow specification of the type
2018-09-21 11:47:33 +02:00
Oleg Zhurakousky
1f5d2ad643 Matching core's GH-1485 changes 2018-09-19 11:27:19 +02:00
Oleg Zhurakousky
7d39e0ccf9 Updating with changes related to core GH-1484
Resolves #175
2018-09-19 10:43:29 +02:00
Soby Chacko
bf26977d7f Extended default properties
Allow applications to configure default values for extended prducer and
consumer properties across multiple bindings in order to avoid repetition.

Requires https://github.com/spring-cloud/spring-cloud-stream/pull/1477
2018-09-17 23:45:41 -04:00
Oleg Zhurakousky
3b2b388d76 GH-1457 fixed property names in conditionals 2018-09-13 15:43:39 +02:00
Gary Russell
5e8e3468af GH-1459: Pollable Consumer and Requeue
Resolves https://github.com/spring-cloud/spring-cloud-stream/issues/1459

Requires https://github.com/spring-cloud/spring-cloud-stream/pull/1467
2018-09-10 17:47:30 +02:00
Soby Chacko
79761444bb Next update version: 2.1.0.BUILD-SNAPSHOT 2018-08-28 10:18:41 -04:00
Soby Chacko
f737f28c91 2.1.0.M2 Release 2018-08-28 10:08:04 -04:00
Oleg Zhurakousky
dd5acf7dfc GH-170: Upgraded to RabbitMQP http-client 2.1.0
Fixes spring-cloud/spring-cloud-stream-binder-rabbit#170

* GH-170 upgraded to `http-client 2.1.0`

* added explicit dependency on `spring-web` and Commons `httpclient`
2018-08-14 14:15:06 -04:00
Gary Russell
4c52585c5e GH-167: Upgrade to spring-cloud-build 2.1.0 snap
Resolves https://github.com/spring-cloud/spring-cloud-stream-binder-rabbit/issues/167
2018-08-08 10:41:10 -04:00
Gary Russell
e104de2204 GH-164: Add consumerTagPrefix property
Resolves https://github.com/spring-cloud/spring-cloud-stream-binder-rabbit/issues/164

Resolves #165
2018-07-25 20:48:49 +02:00
Soby Chacko
2fdfc66214 Next update version: 2.1.0.BUILD-SNAPSHOT 2018-06-27 15:41:25 -04:00
Gary Russell
cb14ae347c Restore http-client dependency
No longer provided by boot.
2018-06-27 15:27:43 -04:00
Soby Chacko
415e24a04d 2.1.0.RELEASE 2018-06-27 14:15:43 -04:00
Oleg Zhurakousky
dd6eaba70f GH-139 polishing based on changes in cire GH-1399
Resolves #139
Resolves #145
2018-06-26 12:10:31 -04:00
Gary Russell
f7f801d0ee GH-139: Advanced listener container configuration
Resolves https://github.com/spring-cloud/spring-cloud-stream-binder-rabbit/issues/139

Allow configuration of listener container properties that are not exposed as binding
or binder properties.
2018-06-26 12:10:31 -04:00
Gary Russell
95c2f7ee49 GH-155: Support overflowBehavior
Resolves https://github.com/spring-cloud/spring-cloud-stream-binder-rabbit/issues/155

Add `overFlowBehavior` and `dlqOverflowBehavior` queue properties.

Resolves #158
2018-06-12 14:43:26 -04:00
Gary Russell
dd5c8c2dec GH-156: Fix outbound contentType
Fixes https://github.com/spring-cloud/spring-cloud-stream-binder-rabbit/issues/156

The `SimpleMessageConverter` overwrote the `contentType` property with `application/octet-stream`.

`contentType` set by the stream converter should win.

- `setHeadersMappedLast(true)`
- replace the converter with a simple `byte[]` pass-through converter on both sides.
- if (for some reason) the stream converter produces something other than `byte[]` fall back to
the `SimpleMessageConverter`.
- remove the `afterPropertiesSet` since it's done by the abstract binder.

**cherry-pick to 2.0.x**
Resolves #157
2018-06-12 13:54:46 -04:00
Gary Russell
5a95735615 GH-152: Inject nullChannel for confirm acks
Fixes https://github.com/spring-cloud/spring-cloud-stream-binder-rabbit/issues/152

Reduce log noise since we only express interest in nacks.
2018-05-23 12:21:32 -04:00
Oleg Zhurakousky
a8bf0e8a09 GH-149 Code restructuring/refactoring
Resolves #150
2018-05-21 12:14:08 +02:00
Gary Russell
4a4c88f228 GH-149: Support multiplexed consumers
Resolves https://github.com/spring-cloud/spring-cloud-stream-binder-rabbit/issues/149

When a consumer is multiplexed, configure the container to listen to multiple queues.
Not currently supported for the polled consumer.

When using a DLQ, determine the routing key from the queue in the failed message (unless
an explicit DLQ name has been provisioned - in which case, the same DLQ will be used
for all queues.
2018-05-14 17:04:36 -04:00
Soby Chacko
2f08c0f7cc Update spring-cloud-stream to 2.1.0 snapshot 2018-05-01 13:29:01 -04:00
Oleg Zhurakousky
fa6a9e35d2 Post-release update to 2.1.0.BUILD-SNAPSHOT 2018-04-06 15:28:54 -04:00
Oleg Zhurakousky
7173b77a25 2.0.0.RELEASE 2018-04-06 14:21:56 -04:00
Soby Chacko
80afaebffc 2.0 release updates 2018-04-06 13:02:08 -04:00
Gary Russell
11ba938f11 GH-143: Consumer/Producer properties javadocs
Fixes https://github.com/spring-cloud/spring-cloud-stream-binder-rabbit/issues/143

Resolves #143
Resolves #144
2018-04-01 12:00:28 -04:00
Oleg Zhurakousky
854e922f32 GH-141 Fixed DLQ vs local handler inconsistencies
Given that is already checking for `properties.getExtension().isRepublishToDlq()` removing the IF from the configuration phase of the adapter with RetryTemplate ensures the consistency of the behavior for cases when local error handler is configured and RetryTemplate is used.

Resolves #141
2018-03-29 12:55:17 -04:00
Jay Bryant
0c6bc82fff Full editing pass for Spring Cloud Stream Rabbit Binder
I corrected grammar and spelling and edited for a corporate voice. I also add a
link or two.

Resolves #140
2018-03-21 10:59:21 -04:00
Soby Chacko
4ff8abb756 Back to 2.0.0.BUILD-SNAPSHOT 2018-03-12 16:33:31 -04:00
Soby Chacko
43fae2d697 2.0.0.RC3 Release 2018-03-12 15:32:42 -04:00
Gary Russell
4b36d1cb0d Fix broker cleanup after tests
- `RabbitBinderTests` automatically clean up but remove declaration of an unused queue
- `RabbitBinderModuleTests` didn't clean up properly.

Resolves #138
2018-03-10 10:59:20 -05:00
Gary Russell
79a42e33ae SCST-GH-1260: Binder Doc Polishing
Fixes https://github.com/spring-cloud/spring-cloud-stream/issues/1260

Resolves #137
2018-03-10 10:55:06 -05:00
Gary Russell
e21d2642e3 Polishing and tests.
Resolves #136
2018-03-07 15:00:49 -05:00
Gary Russell
26f27909b8 GH-133: Add connection name prefix property
Fixes https://github.com/spring-cloud/spring-cloud-stream-binder-rabbit/issues/133
2018-03-07 15:00:31 -05:00
Gary Russell
bdfd4a89eb GH-134: Propagate the event publisher to container
Fixes https://github.com/spring-cloud/spring-cloud-stream-binder-rabbit/issues/134

Requires https://github.com/spring-cloud/spring-cloud-stream/pull/1282

Resolves #135
2018-03-07 14:35:21 -05:00
Soby Chacko
fe2a099e5b Next version: 2.0.0.BUILD-SNAPSHOT 2018-03-01 09:33:38 -05:00
Soby Chacko
425e6d4156 2.0.0.RC2 Release 2018-03-01 09:22:49 -05:00
Gary Russell
f7446deddb GH-130: Remove producerConnectionFactory
Resolves https://github.com/spring-cloud/spring-cloud-stream-binder-rabbit/issues/130

Remove the creation of a separate `producerConnectionFactory`; use the `RabbitTemplate`'s
built-in 'usePublisherConnection` instead.

Fix `Duration` retry properties.
2018-02-27 11:49:26 -05:00
Oleg Zhurakousky
306796c8d9 GH-1211 made Actuator optional 2018-02-26 23:01:25 -05:00
Soby Chacko
6398efbccf Next update: 2.0.0.BUILD-SNAPSHOT 2018-02-23 12:56:23 -05:00
Soby Chacko
b023c719ef 2.0.0.RC1 Release 2018-02-23 12:35:21 -05:00
Gary Russell
09a3d4b4a8 GH-128: Fix connection factory destruction
Fixes https://github.com/spring-cloud/spring-cloud-stream-binder-rabbit/issues/128

The binder incorrectly shuts down the connection factory `@Bean`, before the bindings
are stopped, preventing the container waiting for tasks to complete.

Code was added to destroy the CF in the case where we create one locally, which is
correct, but we should not destroy the CF managed by Spring.

Also see https://jira.spring.io/browse/AMQP-800

(cherry picked from commit eaad4d9)
2018-02-22 12:30:50 -05:00
Gary Russell
8ff1fb1513 GH-89: Clarify adminAddresses and nodes Properties
Fixes https://github.com/spring-cloud/spring-cloud-stream-binder-rabbit/issues/89

* Remove double slashes in the URL
2018-02-08 17:56:04 -05:00
Soby Chacko
344a3d9404 Back to 2.0.0.BUILD-SNAPSHOT 2018-02-05 14:00:44 -05:00