Commit Graph

765 Commits

Author SHA1 Message Date
Mark Fisher
82d53ff952 INT-649 adding support for interceptors on thread-local-channel 2009-05-18 21:04:19 +00:00
Mark Fisher
f31564dacb formatting only 2009-04-17 21:30:12 +00:00
Iwein Fuld
bde9178a1f INT-638 2009-04-14 17:20:51 +00:00
Mark Fisher
33787588ab INT-624 2009-04-08 13:11:35 +00:00
Mark Pollack
f07caa7d7c INT-619 - Compilation error on Sun JDK 2009-03-27 03:13:51 +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
Mark Fisher
901589bdd5 Added namespace support for http outbound-gateway (INT-616). 2009-03-21 13:53:47 +00:00
Mark Fisher
a75cddfa14 InboundMessageMapper and OutboundMessageMapper strategy methods can now throw any Exception. 2009-03-19 17:48:12 +00:00
Iwein Fuld
5ddb2152a0 Reordering in javadoc 2009-03-14 18:37:32 +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
Iwein Fuld
02d49417e4 added MessageHandlingException to javadoc 2009-03-12 16:34:09 +00:00
Mark Fisher
d3a671cd68 INT-598 2009-03-12 14:02:49 +00:00
Mark Fisher
00bdb391e5 INT-596 2009-03-11 20:42:58 +00:00
Mark Fisher
710f7f858f INT-589 2009-03-11 20:36:07 +00:00
Mark Fisher
c1040cec61 INT-593 2009-03-11 20:13:24 +00:00
Mark Fisher
781cb4a405 added 'since 1.0.2' 2009-03-11 18:03:42 +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
Mark Fisher
f3c95795d3 No longer wrapping exceptions that are already MessageTransformationExceptions. 2009-02-27 17:44:44 +00:00
Marius Bogoevici
0d960df263 INT-266 - adding namespace and annotation support for CorrelationStrategy 2009-02-23 16:18:08 +00:00
Marius Bogoevici
03b99960e0 Using MessageSequenceComparator directly. 2009-02-23 15:40:42 +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
Mark Fisher
9d6b53944c Message IDs are now maintained when creating a new Message from an existing Message or copying another Message's headers (INT-576). The AbstractMessageSplitter will generate a new ID for each split Message, and the BroadcastingDispatcher (used by Publish Subscribe Channels) will also generate a new ID if its 'applySequence' value is true. 2009-02-12 15:38:40 +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
b18dc6f50e fixed javadoc 2009-02-10 19:08:21 +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
cca1f29a20 removing external dependency from config.xml 2009-02-03 18:26:35 +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
Mark Fisher
ac09ed55e0 queues and triggers are now defined as XSD types rather than elements (INT-548) 2009-01-26 18:14:46 +00:00
Mark Fisher
15ea01e6d5 Checking whether the DefaultConfiguringBeanFactoryPostProcessor has been registered within the parse() call so that the registration occurs upon bundle refresh and deployment to a running server (INT-537). 2009-01-12 17:42:52 +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