Commit Graph

7448 Commits

Author SHA1 Message Date
Mark Fisher
9121e6d918 Added HttpResponse abstraction to encapsulate response body and headers. 2009-03-20 18:19:17 +00:00
Mark Fisher
735125a0a3 Setting Content-Type for byte array. 2009-03-20 17:06:37 +00:00
Mark Fisher
c90db4b078 DefaultOutboundRequestMapper now first checks for the Message header for the key: HttpHeaders.REQUEST_URL. If present, that URL will be used as the target. Otherwise, it will fallback to the default URL of the mapper instance (as passed to the constructor). Now, the request method is also determined by a header if available: HttpHeaders.REQUEST_METHOD. If that is not available, the default type is "POST". There is no longer any automatic mapping based on the content type of the Message payload. However, for a "PUT" or "POST" request, the payload must be a byte array, String, or Serializable instance. Other request types require a Map payload with String-typed keys and values. The Map may be empty, but if it is not the map's values will be appended to the URL in the form of a query string. 2009-03-20 15:29:33 +00:00
Mark Fisher
36889371f9 Added CommonsHttpRequestExecutor (INT-614). 2009-03-20 04:34:27 +00:00
Mark Fisher
9e8ec79f2b checking last char of StringBuilder not the original URL String 2009-03-20 04:09:18 +00:00
Mark Fisher
5b45423566 Map typed payloads with String keys and values now map to GET requests by default. 2009-03-20 03:29:46 +00:00
Mark Fisher
1a0fa63616 Provided setters for 'requestMapper' and 'requestExecutor' on HttpOutboundEndpoint. 2009-03-19 23:39:01 +00:00
Mark Fisher
788124ad9d Changed expected-type in XSD from RequestMapper to InboundRequestMapper to match the recent refactoring. 2009-03-19 22:44:32 +00:00
Mark Fisher
064f6694f6 Resolved INT-613 2009-03-19 22:17:54 +00:00
Mark Fisher
703e883a02 Refactored outbound HTTP support to include HttpRequest and HttpRequestExecutor (formerly HttpExchanger). Also refactored existing RequestMapper to InboundRequestMapper, and added OutboundRequestMapper. 2009-03-19 18:55:11 +00:00
Mark Fisher
a75cddfa14 InboundMessageMapper and OutboundMessageMapper strategy methods can now throw any Exception. 2009-03-19 17:48:12 +00:00
Mark Fisher
7bed90ccce INT-539 2009-03-15 22:02:19 +00:00
Mark Fisher
e16f0f0eae made inner test class public 2009-03-15 19:48:40 +00:00
Mark Fisher
2a41bf7b9e removed empty package 2009-03-15 19:40:41 +00:00
Mark Fisher
7f202eefca Removed ServletRequestBindingTransformer (INT-609). 2009-03-15 19:38:56 +00:00
Mark Fisher
b0f8dedf12 Factored out RequestMapper strategy (INT-609). 2009-03-15 19:28:13 +00:00
Iwein Fuld
4e62f25364 IN PROGRESS - issue INT-470: Add a general HTTP outbound handler
http://jira.springframework.org/browse/INT-470

Split out all java.net specific code to strategy.
2009-03-15 14:31:12 +00:00
Iwein Fuld
5ddb2152a0 Reordering in javadoc 2009-03-14 18:37:32 +00:00
Mark Fisher
bc9b3ee747 INT-470: Committing first cut of outbound HTTP adapter (most logic needs to be refactored out to an executor strategy). 2009-03-14 18:36:33 +00:00
Mark Fisher
80bfef3b5e Added tests for ServletRequestBindingTransformer. 2009-03-14 16:42:44 +00:00
Mark Fisher
bedc76b86f INT-607 2009-03-14 00:56:26 +00:00
Mark Fisher
773c677394 Added tests for the "inbound-channel-adapter" element in the "http" namespace. 2009-03-13 21:52:53 +00:00
Mark Fisher
5c373aad52 INT-594 Added namespace support for HTTP inbound-channel-adapter and inbound-gateway 2009-03-13 21:49:09 +00:00
Mark Fisher
e25407e469 HttpInboundEndpoint now deserializes objects if request content-type is "application/x-java-serialized-object". 2009-03-13 21:16:35 +00:00
Mark Fisher
7bdc389ec2 Updated version on title page 2009-03-13 19:09:41 +00:00
Mark Fisher
96d826e4a2 INT-605 2009-03-13 18:41:52 +00:00
Iwein Fuld
12bb0a65a6 INT-567 except callouts 2009-03-13 16:38:12 +00:00
Iwein Fuld
80e9a7b20f INT-563 except callouts 2009-03-13 16:34:48 +00:00
Iwein Fuld
229ffc0489 OPEN - issue INT-601: Typo in MarshallingWebServiceInboundGateway.setReplyChannel()
http://jira.springframework.org/browse/INT-601

fixed
2009-03-13 14:28:30 +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
Iwein Fuld
fc112ff51c resolved INT-600 2009-03-12 19:33:18 +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
Iwein Fuld
a0d82a743d IN PROGRESS - issue INT-597: Add namespace support for inbound WS gateway
http://jira.springframework.org/browse/INT-597

allowes for setting only marshaller now
2009-03-12 14:45:57 +00:00
Mark Fisher
d3a671cd68 INT-598 2009-03-12 14:02:49 +00:00
Iwein Fuld
34a977a3a0 OPEN - issue INT-597: Add namespace support for inbound WS gateway
http://jira.springframework.org/browse/INT-597

Modified xsd, added namespace handler and testcase.
2009-03-12 13:43:47 +00:00
Iwein Fuld
3c9ddafdcd RESOLVED - issue INT-162: Provide Spring-WS source adapters
http://jira.springframework.org/browse/INT-162

Added integration test for inbound gateway
2009-03-12 10:48:47 +00:00
Marius Bogoevici
b817c04202 Documentation for CorrelationStrategy - cleanup 2009-03-12 04:04:39 +00:00
Marius Bogoevici
b590e03c39 INT-586 Adding documentation for CorrelationStrategy 2009-03-12 03:55:39 +00:00
Marius Bogoevici
b5a51da5aa Added a @CorrelationStrategy for illustration purposes. 2009-03-12 03:27:57 +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
5bcbc6a896 Committed tests for HttpInboundEndpoint. 2009-03-11 19:44:43 +00:00
Mark Fisher
781cb4a405 added 'since 1.0.2' 2009-03-11 18:03:42 +00:00
Iwein Fuld
527ec41f46 IN PROGRESS - issue INT-162: Provide Spring-WS source adapters
http://jira.springframework.org/browse/INT-162

Added tests, created INT-593 for silent delivery failure on timeout
2009-03-11 11:46:54 +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