Commit Graph

7448 Commits

Author SHA1 Message Date
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
dabb76ac26 Added support for a Document-typed reply payload. 2009-03-01 15:11:22 +00:00
Mark Fisher
7591406f2e Renamed 'prototypeBeanName' to 'targetBeanName' and added eager validation of its non-singleton scope. 2009-02-28 16:37:02 +00:00
Mark Fisher
a2112418f4 Added support for a WebBindingInitializer strategy. 2009-02-27 18:24:52 +00:00
Mark Fisher
188d473d28 Initial commit of the ServletRequestBindingTransformer. 2009-02-27 17:54:02 +00:00
Mark Fisher
f3c95795d3 No longer wrapping exceptions that are already MessageTransformationExceptions. 2009-02-27 17:44:44 +00:00
Mark Fisher
dfade35f7a Throwing a MessageTimeoutException if the request/reply Message handling times out. 2009-02-27 15:05:54 +00:00
Mark Fisher
f9f4832582 Added configurable 'requestKey' and 'replyKey' for the model map when response rendering is handled by a provided View instance. 2009-02-26 21:29:10 +00:00
Mark Fisher
f687c6b9ac Added javadoc. 2009-02-26 19:53:57 +00:00
Mark Fisher
7fccd5f8f8 INT-545 2009-02-26 18:56:10 +00:00
Mark Fisher
1082587d20 Upgraded to spring-build 2.0.7 r590 (INT-579) 2009-02-26 15:39:55 +00:00
Jonas Partner
a838f3d5f0 synchronised dependencies from ivy.xml to Maven central poms for 1.0.2 2009-02-23 19:48:25 +00:00
Iwein Fuld
dac5c41712 trivial performance tweak 2009-02-23 19:36:35 +00:00
Iwein Fuld
a0da740a3d OPEN - issue INT-583: FileReadingMessageSource rescanning directory every pass
http://jira.springframework.org/browse/INT-583

Fixed issue, added flag to go back to old behavior. Refactored test to Mockito.
2009-02-23 16:19:36 +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
Jonas Partner
4cb87799b0 added http module 2009-02-21 19:45:07 +00:00
Jonas Partner
bcbded1216 update version for repo1 pom's to 1.0.2.RELEASE 2009-02-21 19:18:40 +00:00
Mark Fisher
b80687b7a7 Initial commit of SimpleWebServiceInboundGateway (INT-162). 2009-02-20 22:57:00 +00:00
Mark Fisher
5945cc19ce Initial commit for MarshallingWebServiceInboundGateway (INT-162). 2009-02-20 22:52:36 +00:00
Mark Fisher
64188597e2 Setting Content-Type for serialized Objects. 2009-02-20 21:38:58 +00:00
Mark Fisher
7bbb97b71a Refactored HttpInboundGateway into HttpInboundEndpoint. It provides the implementation for both 'channel-adapter' and 'inbound-gateway' - depeding on the value of its 'expectReply' boolean flag (INT-470). 2009-02-20 20:21:55 +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
Mark Fisher
809790f068 Determining payload type to extract based on request method and content type. 2009-02-20 04:36:57 +00:00
Mark Fisher
4c40137756 Added namespace support for 'default-reply-destination' (and queue/topic) names (INT-580). 2009-02-19 20:45:58 +00:00
Mark Fisher
0c1b87cce8 expected Exception type changed (now a JMS InvalidDestinationException) 2009-02-19 18:48:21 +00:00
Mark Fisher
004cee34a4 INT-580 2009-02-19 18:38:36 +00:00
Mark Fisher
137d8e86b8 Added default-reply-destination (and queue/topic name) awareness to the JMS inbound gateway parser (INT-580). 2009-02-19 18:26:30 +00:00
Jonas Partner
59ed94a3da resolves INT-577 by adding namespace support for setting of default output channel 2009-02-19 10:08:55 +00:00
Mark Fisher
de0a85b31a Added 'defaultReplyDestination' to ChannelPublishingJmsMessageListener, and now throwing an Exception if there is a reply Message to send and neither a reply-to property or 'defaultReplyDestination' is available (INT-560 and INT-580). 2009-02-18 19:54:18 +00:00
Mark Fisher
afb17f1e18 Added StubProducer. 2009-02-18 19:30:07 +00:00
Mark Fisher
379f86ee4e No longer passing the destination in the producer.send(..) method since it is already provided when the Session's createProducer(..) method is invoked. JMS providers can throw an UnsupportedOperationException when the Destination is provided in both places (INT-560). 2009-02-18 15:13:34 +00:00
Jonas Partner
d65d6d7c49 INT-558 XmlPayloadValidatingRouter 2009-02-16 13:13:55 +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
Iwein Fuld
b6e697103f IN PROGRESS - issue INT-569: FileWritingMessageHandler should perform a rename after copy
http://jira.springframework.org/browse/INT-569

Trivial fix should be good enough for the 1.0.x.
2009-02-13 19:03:57 +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
Mark Fisher
2bf304e041 Updated enquiries email address in notice.txt 2009-02-11 13:49:29 +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
a2b9ec18a0 polishing 2009-02-03 18:49:38 +00:00