Commit Graph

459 Commits

Author SHA1 Message Date
Marius Bogoevici
7c4058b039 Remove dependency on spring-cloud-commons 2016-04-07 08:51:22 -04:00
Ilayaperumal Gopinathan
7893904e01 Add doc for TestBinder
This resolves #451
2016-04-07 08:29:20 -04:00
Marius Bogoevici
31a10b29a3 Update documentation to reflect that header mode is a generic producer/consumer property 2016-04-06 21:29:51 -04:00
Marius Bogoevici
b28cf627b4 Minor 2016-04-06 20:53:27 -04:00
Marius Bogoevici
e9e36dbbd9 Author list update 2016-04-06 20:46:40 -04:00
Marius Bogoevici
4731280804 Corrections to documentation 2016-04-06 20:09:06 -04:00
Marius Bogoevici
d2e00610cd Make a globally defined ObjectMapper truly optional 2016-04-06 19:54:08 -04:00
Ben Klein
9a92bda9c1 Edit reference manual
Minor formatting corrections to reference manual

Remove directory from reference manual image paths

Further edits to reference manual
2016-04-06 17:54:18 -04:00
Ilayaperumal Gopinathan
502d275b41 Move message header mode as a generic property
- Both the producer and consumer properties have `HeaderMode`
 - Handle the case of embeddedHeaders and raw for both the Sending/ReceivingHandlers in Redis binder

This resolves #408

Move message values extraction to superclass
2016-04-06 15:53:12 -04:00
Marius Bogoevici
cd81f24451 Make bindable channel validation more consistent. 2016-04-06 14:44:05 -04:00
Ilayaperumal Gopinathan
a0cdbdc148 Restrict Message channel types on input/output more explicitly
- Add necessary assertions on the type of message channels for input/output
  - Make sure to support message channel of type `MessageChannel` for @Output-annotated channels
  - support message channel of type `SubscribableChannel` for @Input-annotated channels and if the type is exactly equal to `MessageChannel` type then create subscribable channel
 - Remove references of creating PollableChannel for binding

This resolves #469

Remove bridging of shared channel
2016-04-06 12:28:28 -04:00
Marius Bogoevici
0b4b916fe6 Minor fixes: formatting, cleanup 2016-04-06 11:29:38 -04:00
Ilayaperumal Gopinathan
277d896e1d Use Jackson ObjectMapper from AutoConfiguration
- For the message converters that use Jackson ObjectMapper, autowire the ObjectMapper from JacksonAutoConfiguration
   - This will allow configuration of ObjectMapper using boot configuration properties `JacksonProperties`

 - Add test

This resolves #466
2016-04-06 09:57:40 -04:00
Ilayaperumal Gopinathan
4466331266 Set namespace when using AggregateApplication.run()
- When the apps are aggregated by calling AggregateApplication.run() the namespace for the apps need to be set before creating shared channel registry
2016-04-06 15:15:16 +05:30
Ilayaperumal Gopinathan
6816937827 Polishing AggregateApplication namespace handling 2016-04-06 13:46:58 +05:30
Venil Noronha
99f978a262 Fixes #428 - Enabled namespace propagation at AggregateApplication run.
Updated AggregationApplication* to honor app specific namespace.
2016-04-06 13:46:54 +05:30
Ilayaperumal Gopinathan
12bd4effa1 Allow AggregateApplicationBuilder with no arg constructor
- When the AggregateApplicationBuilder doesn't have constructor args set, then invoke parent configuration setup with no args.
  - This will make sure to set the parent context for the child application contexts

This resolves #464
2016-04-04 21:31:03 -04:00
Ilayaperumal Gopinathan
1730021547 Add basic validation for producer/consumer properties
This resolves #425

Address review comments

 - Update AssertTrue conditional logic
 - Modify the message

Changes after rebase

 - Changes after extendedProperties addition
2016-04-04 20:39:43 -04:00
Ilayaperumal Gopinathan
6c442b7421 Fix compiler warnings
This resolves #467
2016-04-04 20:20:45 -04:00
Marius Bogoevici
0626cc8c07 Clean up the JSON rendering of ConsumerProperties and ProducerProperties (for actuator endpoints). 2016-04-04 19:57:46 -04:00
Ilayaperumal Gopinathan
f390feb42b ChannelsEndpoint to show all the binding properties
- Set the default destination name when it is not explicitly set
 - The producer/consumer properties would also be shown via BindingProperties
  - Handle JSON serialization when the value is of type Expression

This resolves #406 #426
2016-04-04 18:45:07 -04:00
Ilayaperumal Gopinathan
853e340a35 Remove unused Rabbit binder properties 2016-03-30 14:36:50 +05:30
Marius Bogoevici
0a2d826af5 Remove local and redis binders from BOM 2016-03-27 09:21:42 -04:00
Marius Bogoevici
ba371ab67a Eliminate Duplicate RabbitMQ Configuration Options
Fixes #447

Some Rabbit MQ configuration properties duplicate options already found in Spring Boot.
2016-03-24 14:12:18 -04:00
Dave Syer
b5099b610e Fix asciidoctor errors when embedded 2016-03-24 16:27:12 +00:00
Ilayaperumal Gopinathan
6a125b601b Remove ConnectionFactorySettings configuration class
This resolves #386
2016-03-24 10:38:45 -04:00
Spencer Gibb
e5fdc971dd Update mvnw to determine profile on mac and linux 2016-03-22 13:19:46 -06:00
bamboo
a9e432645d [artifactory-release] Next development version 2016-03-22 01:27:46 +00:00
bamboo
70a6abbc61 [artifactory-release] Release version 1.0.0.RC1 2016-03-22 01:27:46 +00:00
Marius Bogoevici
f681e2ce91 Setting version to 1.0.0.BUILD-SNAPSHOT 2016-03-21 21:11:25 -04:00
bamboo
98de668170 [artifactory-release] Next development version 2016-03-22 00:44:17 +00:00
bamboo
13daf68697 [artifactory-release] Release version 1.0.0.RC1 2016-03-22 00:44:17 +00:00
Mark Pollack
7bf9215a6c Basic getting started example 2016-03-21 19:51:42 -04:00
Marius Bogoevici
04a7fe83a5 Updated property prefixes 2016-03-21 19:37:51 -04:00
Marius Bogoevici
cadfd48a1f Adds support for extended binding properties
* Add parameterized ExtendedConsumerProperties and ExtendedProducerProperties;
* Added ExtendedPropertiesBinder with the ability of managing per-binding property extensions and interacting the core service;
* Add extensions for Kafka and Rabbit

Addressing PR comments

Changed binder-specific binding prefix to `spring.cloud.stream.binderType.bindings`

Removing kafka-binder.properties
2016-03-21 18:00:35 -04:00
Marius Bogoevici
a17c3fff50 Documentation
* Introductory and concepts section
* Programming model
* General Binding Properties + Rabbit
* Added kafka options
* Documentation revisions
2016-03-21 15:31:07 -04:00
Marius Bogoevici
95b0197dd7 Removing message history support 2016-03-21 19:28:55 +05:30
Ilayaperumal Gopinathan
216149b78d Rename BindingListenerTests -> StreamListenerTests 2016-03-21 19:04:29 +05:30
Gary Russell
fa035296f2 GH-439: Add 'transacted' to Rabbit Producer Props
Fixes #439
Resolves #401
2016-03-17 18:01:35 -04:00
Marius Bogoevici
4d2ef3c4d0 Introduce StreamListener annotation
Fixes #156

- Supports Spring Messaging infrastructure for argument mapping and type conversion, sharing the same configured converters as the ones configured on input/output channels;

- Also: refactored AbstractFromMessageConverter to return only payload - conversion to a message enriched with the content type of the channel is done by a separate wrapping converter;
2016-03-17 16:02:51 -04:00
Marius Bogoevici
0aeef58495 Remove spring-cloud-stream-redis-binder from BOM 2016-03-17 15:26:21 -04:00
Mark Fisher
2b397b45a7 Moving the Redis Binder out to its own repo
removed redis starter
2016-03-17 15:26:07 -04:00
Patrick Peralta
f9f92ae184 Re-added setter for PartitionSelectorStrategy 2016-03-17 11:10:52 -04:00
Marius Bogoevici
af733faf18 Correct Rabbit defaults for headers 2016-03-17 01:58:45 -04:00
Ilayaperumal Gopinathan
29bafe9807 Create dynamic bindable channels using BindableChannelFactory
- This will make sure to trigger the appropriate message channel configurers

This resolves #411
2016-03-16 11:10:31 -04:00
Marius Bogoevici
3cd513d023 Minor polishing 2016-03-16 10:57:02 -04:00
Ilayaperumal Gopinathan
9abf36879d Set message header using BindingProperties' contentType
- Update MessageConverterConfigurer that uses a channel interceptor to check if the message contentType header is missing and if there is a binding property for `contentType` header is provided, then set that value as the message contentType header

This resolves #397

Add test
2016-03-16 12:41:29 +05:30
Ilayaperumal Gopinathan
d6c2b544e2 Use Set instead of List for supported datatypes
- in CompositeMessageConverterFactory
2016-03-16 11:52:51 +05:30
Marius Bogoevici
a7f21b542a Minor updates for custom content types
- renamed MessageConverterUtils.getJavaType to MessageConverterUtils.getJavaTypeForJavaObjectContentType and restricted usage only to 'application/x-java-object' types
2016-03-15 18:14:36 -04:00
Ilayaperumal Gopinathan
74c6223d3e Support custom message converters
- Autowire custom message converters into MessageConverterConfigurer
  - When configuring the message channel, set the `datatypes` of the channel based on the `supported` datatypes of all the matching message converters

This resolves #381
2016-03-15 17:19:31 -04:00