Commit Graph

525 Commits

Author SHA1 Message Date
Iwein Fuld
399eee83b1 IN PROGRESS - issue INT-642: Add DefaultAggregator
http://jira.springframework.org/browse/INT-642

Polished Alex' patch
2009-05-20 14:56:36 +00:00
Mark Fisher
2b93373323 INT-646 input-channel may now reference a channel instance defined within a parent ApplicationContext. 2009-05-19 22:03:54 +00:00
Mark Fisher
82d53ff952 INT-649 adding support for interceptors on thread-local-channel 2009-05-18 21:04:19 +00:00
Mark Pollack
af641d5e38 remove use of assertThat which confused java compiler 2009-03-27 03:03:46 +00:00
Iwein Fuld
7b32947f4e minor improvements 2009-03-23 18:37:36 +00:00
Iwein Fuld
51142a0cd9 Hammered out some compiler warnings 2009-03-23 16:14:05 +00:00
Marius Bogoevici
79b3ebb171 Fixing some consistency issues in the behaviour of the Resequencer 2009-03-13 06:51:35 +00:00
Marius Bogoevici
f0385a776f INT-602 Resequencer returning spurious messages. Added get/setAttributes to MessageBarrier so that information can be held by it as part of its state. 2009-03-13 06:03:47 +00:00
Mark Fisher
efd3f5848e INT-599 2009-03-12 16:35:09 +00:00
Mark Fisher
d3a671cd68 INT-598 2009-03-12 14:02:49 +00:00
Mark Fisher
630f10d036 INT-536 2009-03-10 16:11:14 +00:00
Iwein Fuld
0b4982b3de OPEN - issue INT-567: Add round-robin dispatching strategy
http://jira.springframework.org/browse/INT-567

Properly named AbstractUnicastDispatcher
2009-03-10 13:55:53 +00:00
Iwein Fuld
efea914ed1 OPEN - issue INT-567: Add round-robin dispatching strategy
http://jira.springframework.org/browse/INT-567

Fixed issue with concurrent failures and removed triedHandlers
2009-03-10 08:11:58 +00:00
Iwein Fuld
8f122cf58c IN PROGRESS - issue INT-567: Add round-robin dispatching strategy
http://jira.springframework.org/browse/INT-567

- Renamed LoadBalancingDispatcher to more explicit RoundRobinDispatcher
- Removed round-robin option from xsd (not specifying a dispatcher yields the same)
2009-03-09 21:36:10 +00:00
Iwein Fuld
01fe7a0baf IN PROGRESS - issue INT-567: Add round-robin dispatching strategy
http://jira.springframework.org/browse/INT-567

Simplified code and added concurrent tests
2009-03-09 19:14:21 +00:00
Iwein Fuld
242d8291ec IN PROGRESS - issue INT-567: Add round-robin dispatching strategy
http://jira.springframework.org/browse/INT-567

- refactored AbstractDispatcher to use Queue instead of Set
- added AbstractSendOnceDispatcher (for DirectChannel parametrization)
- refactored DirectChannel to use LoadBalancing Dispatcher by default
- renamed SimpleDispatcher to FailOverDispatcher
2009-03-07 19:29:01 +00:00
Marius Bogoevici
0d960df263 INT-266 - adding namespace and annotation support for CorrelationStrategy 2009-02-23 16:18:08 +00:00
Jonas Partner
fca5ae5501 resolves INT-582
Includes refactoring of router hierarchy to avoid duplication of channel resolution logic
Subclasses of AbstractChannelNameResolvingMessageRouter can return MessageChannel , MessageChannel[], collection ... in addition to String
MethodInvokingRouter now extends AbstractChannelNameResolvingMessageRouter and is simplified as a result
2009-02-22 10:34:43 +00:00
Iwein Fuld
f21810af3a OPEN - issue INT-567: Add round-robin dispatching strategy
http://jira.springframework.org/browse/INT-567

tidying in AbstractDispatcher, added LoadBalancingDispatcher
first Mockito testcase
2009-02-20 08:50:48 +00:00
Marius Bogoevici
977ab1b34a Complementary to the fixes made by INT-576. Since the ID of a message will be preserved by components that broadcast messages (e.g. a pub-sub channel), multiple messages in a correlation group may have the same ID. Therefore, organizing the storage support of MessageBarrier as a Map is obsolete. Switched to Collection. Improving the performance of the Aggregator. 2009-02-13 19:53:08 +00:00
Mark Fisher
eaad9e1d81 INT-568 2009-02-12 19:51:11 +00:00
Mark Fisher
04e784d033 INT-572 2009-02-12 17:48:44 +00:00
Marius Bogoevici
7258a6a2c5 INTERIM INT-266: API for CorrelationStrategy provided. Namespace/annotation support needs to follow. 2009-02-10 21:42:31 +00:00
Marius Bogoevici
f8961bcf5b INT-559 - Generic handler methods defined in a generic superclass are not properly resolved by PayloadTypeMatchingHandlerMethodResolver 2009-02-10 18:59:35 +00:00
Iwein Fuld
2540d63b90 RESOLVED - issue INT-574: Chain element should support aggregators mid chain as well as handlers extending AbstractReplyProducingMessageHandler
http://jira.springframework.org/browse/INT-574

test expanded for nested chain... just curious.
2009-02-10 13:26:59 +00:00
Iwein Fuld
965b5fbd0d IN PROGRESS - issue INT-574: Chain element should support aggregators mid chain as well as handlers extending AbstractReplyProducingMessageHandler
http://jira.springframework.org/browse/INT-574

Updated the xsd to allow aggregator (and nested <chain/>)
2009-02-10 13:05:26 +00:00
Iwein Fuld
11b0e85afb IN PROGRESS - issue INT-574: Chain element should support aggregators mid chain as well as handlers extending AbstractReplyProducingMessageHandler
http://jira.springframework.org/browse/INT-574

All MessageHandlers with a setOutputChannel will now be accepted in the chain, the existing functionality has remained identical.
2009-02-10 11:54:33 +00:00
Iwein Fuld
3077b73a78 IN PROGRESS - issue INT-574: Chain element should support aggregators mid chain as well as handlers extending AbstractReplyProducingMessageHandler
http://jira.springframework.org/browse/INT-574

Refactored MessageHandlerChain and added test. Adding tests for new functionality next.
2009-02-10 09:24:49 +00:00
Iwein Fuld
a17927935d FIXED - issue INT-570: property placeholders not replaced for <queue capacity="${placeholder}/>
http://jira.springframework.org/browse/INT-570
2009-02-03 16:36:46 +00:00
Marius Bogoevici
fb1e68cd4f INT-379 - if a message is already having a correlation id, the messages created through splitting will bear that particular correlation id 2009-02-01 16:48:49 +00:00
Mark Fisher
b735f84d3c Passing containing BeanDefinition when parsing an inner-bean. 2009-01-29 13:31:34 +00:00
Iwein Fuld
0a652749c3 OPEN - issue INT-555: chain allows bean as a subelement, but parser cannot handle this.
http://jira.springframework.org/browse/INT-555

added condition to parser to parse bean elements too (with test).
2009-01-29 11:58:13 +00:00
Iwein Fuld
aafdec0108 OPEN - issue INT-505: Add namespace support for MethodInvokingSelector
http://jira.springframework.org/browse/INT-505

Fixed 505, some prework for INT-547
2009-01-12 14:36:10 +00:00
Mark Fisher
f7f1e2cbf6 INT-533 2008-12-18 17:21:45 +00:00
Mark Fisher
17d0b27230 Added support for 'advice-chain' sub-element for the 'poller' element (INT-503). 2008-12-16 23:02:21 +00:00
Mark Fisher
36ef3d32cb INT-521 2008-12-15 22:00:39 +00:00
Mark Fisher
17849dbdea INT-519 2008-12-15 15:02:10 +00:00
Mark Fisher
88dd7f805d Added namespace support for PayloadDeserializingTransformer (INT-517). 2008-12-12 21:48:42 +00:00
Mark Fisher
5e70d0d3c3 Added namespace support for PayloadSerializingTransformer (INT-517). 2008-12-12 21:33:52 +00:00
Mark Fisher
9f22033303 Added namespace support for ObjectToStringTransformer (INT-516). 2008-12-12 21:13:09 +00:00
Mark Fisher
b1881f7b95 Added PayloadSerializingTransformer and PayloadDeserializingTransformer (INT-513). 2008-12-12 20:26:30 +00:00
Mark Fisher
65a2405104 Added ObjectToStringTransformer (INT-514). 2008-12-12 19:45:34 +00:00
Mark Fisher
bc4a20f6c5 All pre-defined internal header names are now valid Java identifiers. Dot delimiters have been replaced by underscores, and hyphenated names are now camelCase. The SimpleHeaderEnricherParser uses Conventions.attributeToPropertyName(). The attributes are now legal for passing as JMS properties (INT-511). 2008-12-09 21:32:29 +00:00
Mark Fisher
c053656af9 INT-506 2008-12-08 22:04:14 +00:00
Mark Fisher
b2ec607634 Added Method resolution for Message-typed parameters including Message implementations and resolution of Message payloads based on parameterized type (INT-504). 2008-12-08 21:34:04 +00:00
Mark Fisher
2c2a1be8ae Removed the MethodResolver interface and the DefaultMethodResolver and AnnotationMethodResolver classes. Only MethodInvokingAggregator was still using those, so that logic is now encapsulated there. If we find a need for this in the future, we can consider exposing it again, but for now it's less clutter for the API. 2008-11-26 15:36:25 +00:00
Mark Fisher
f572b370f3 An explicit 'trigger' property is now required for the AbstractPollingEndpoint. It no longer creates an arbitrary default. 2008-11-25 21:27:12 +00:00
Mark Fisher
dbc079ebe6 Test was accidentally left out of commit. 2008-11-25 20:31:26 +00:00
Mark Fisher
0e5b4bcb50 Removing the @Poller annotation. Now, any Annotation-based endpoint must have a SubscribableChannel reference for its inputChannel. If necessary, the new <bridge/> element can be used to convert PollableChannels to SubscribableChannels. 2008-11-25 19:45:16 +00:00
Mark Fisher
d28414d2c3 Added SourcePollingChannelAdapterFactoryBean. The 'poller' element is now required for inbound-channel-adapter elements unless a default poller has been configured. 2008-11-25 04:10:17 +00:00