202d5817e3
added test for utf-8 encoded request
Iwein Fuld
2009-03-24 11:55:05 +00:00
c756aff3af
Filled out tests, added matchers to TestUtils
Iwein Fuld
2009-03-24 10:36:28 +00:00
7b32947f4e
minor improvements
Iwein Fuld
2009-03-23 18:37:36 +00:00
51142a0cd9
Hammered out some compiler warnings
Iwein Fuld
2009-03-23 16:14:05 +00:00
6bd4daf632
Provided stub test for http inbound-gateway.
Mark Fisher
2009-03-21 13:54:46 +00:00
901589bdd5
Added namespace support for http outbound-gateway (INT-616).
Mark Fisher
2009-03-21 13:53:47 +00:00
d206a84e68
updated maven central poms, added parent pom. Generated from ivy.xml -> pom.xml using makepom ant task. (this is the pom for the S2 bundle repo) The convert pom.xml using mvn org.springframework.build.repository:org.springframework.build.repository.maven:create-central (this is the pom for maven central repo)
Mark Pollack
2009-03-21 02:09:26 +00:00
72e57cab55
DefaultOutboundRequestMapper now has an 'extractPayload' boolean flag. It is 'true' by default, but when set to 'false' the Message itself will be serialized and sent as the request body. Also, the default URL is now optional.
Mark Fisher
2009-03-21 00:16:11 +00:00
980488b0c0
HttpOutboundEndpoint now returns reply payload types based on the response's content-type header. A value of "application/x-java-serialized-object" will trigger deserialization to some Object, a value that begins with "text" will be mapped to a String, and everything else will currently return a byte array.
Mark Fisher
2009-03-20 20:51:21 +00:00
a8408dd216
Setting content type and length headers on responses.
Mark Fisher
2009-03-20 19:34:48 +00:00
9121e6d918
Added HttpResponse abstraction to encapsulate response body and headers.
Mark Fisher
2009-03-20 18:19:17 +00:00
735125a0a3
Setting Content-Type for byte array.
Mark Fisher
2009-03-20 17:06:37 +00:00
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.
Mark Fisher
2009-03-20 15:29:33 +00:00
36889371f9
Added CommonsHttpRequestExecutor (INT-614).
Mark Fisher
2009-03-20 04:34:27 +00:00
9e8ec79f2b
checking last char of StringBuilder not the original URL String
Mark Fisher
2009-03-20 04:09:18 +00:00
5b45423566
Map typed payloads with String keys and values now map to GET requests by default.
Mark Fisher
2009-03-20 03:29:46 +00:00
1a0fa63616
Provided setters for 'requestMapper' and 'requestExecutor' on HttpOutboundEndpoint.
Mark Fisher
2009-03-19 23:39:01 +00:00
788124ad9d
Changed expected-type in XSD from RequestMapper to InboundRequestMapper to match the recent refactoring.
Mark Fisher
2009-03-19 22:44:32 +00:00
064f6694f6
Resolved INT-613
Mark Fisher
2009-03-19 22:17:54 +00:00
703e883a02
Refactored outbound HTTP support to include HttpRequest and HttpRequestExecutor (formerly HttpExchanger). Also refactored existing RequestMapper to InboundRequestMapper, and added OutboundRequestMapper.
Mark Fisher
2009-03-19 18:55:11 +00:00
a75cddfa14
InboundMessageMapper and OutboundMessageMapper strategy methods can now throw any Exception.
Mark Fisher
2009-03-19 17:48:12 +00:00
7bed90ccce
INT-539
Mark Fisher
2009-03-15 22:02:19 +00:00
e16f0f0eae
made inner test class public
Mark Fisher
2009-03-15 19:48:40 +00:00
2a41bf7b9e
removed empty package
Mark Fisher
2009-03-15 19:40:41 +00:00
7f202eefca
Removed ServletRequestBindingTransformer (INT-609).
Mark Fisher
2009-03-15 19:38:56 +00:00
b0f8dedf12
Factored out RequestMapper strategy (INT-609).
Mark Fisher
2009-03-15 19:28:13 +00:00
5ddb2152a0
Reordering in javadoc
Iwein Fuld
2009-03-14 18:37:32 +00:00
bc9b3ee747
INT-470: Committing first cut of outbound HTTP adapter (most logic needs to be refactored out to an executor strategy).
Mark Fisher
2009-03-14 18:36:33 +00:00
80bfef3b5e
Added tests for ServletRequestBindingTransformer.
Mark Fisher
2009-03-14 16:42:44 +00:00
bedc76b86f
INT-607
Mark Fisher
2009-03-14 00:56:26 +00:00
773c677394
Added tests for the "inbound-channel-adapter" element in the "http" namespace.
Mark Fisher
2009-03-13 21:52:53 +00:00
5c373aad52
INT-594 Added namespace support for HTTP inbound-channel-adapter and inbound-gateway
Mark Fisher
2009-03-13 21:49:09 +00:00
e25407e469
HttpInboundEndpoint now deserializes objects if request content-type is "application/x-java-serialized-object".
Mark Fisher
2009-03-13 21:16:35 +00:00
7bdc389ec2
Updated version on title page
Mark Fisher
2009-03-13 19:09:41 +00:00
96d826e4a2
INT-605
Mark Fisher
2009-03-13 18:41:52 +00:00
79b3ebb171
Fixing some consistency issues in the behaviour of the Resequencer
Marius Bogoevici
2009-03-13 06:51:35 +00:00
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.
Marius Bogoevici
2009-03-13 06:03:47 +00:00
dabb76ac26
Added support for a Document-typed reply payload.
Mark Fisher
2009-03-01 15:11:22 +00:00
7591406f2e
Renamed 'prototypeBeanName' to 'targetBeanName' and added eager validation of its non-singleton scope.
Mark Fisher
2009-02-28 16:37:02 +00:00
a2112418f4
Added support for a WebBindingInitializer strategy.
Mark Fisher
2009-02-27 18:24:52 +00:00
188d473d28
Initial commit of the ServletRequestBindingTransformer.
Mark Fisher
2009-02-27 17:54:02 +00:00
f3c95795d3
No longer wrapping exceptions that are already MessageTransformationExceptions.
Mark Fisher
2009-02-27 17:44:44 +00:00
dfade35f7a
Throwing a MessageTimeoutException if the request/reply Message handling times out.
Mark Fisher
2009-02-27 15:05:54 +00:00
f9f4832582
Added configurable 'requestKey' and 'replyKey' for the model map when response rendering is handled by a provided View instance.
Mark Fisher
2009-02-26 21:29:10 +00:00
f687c6b9ac
Added javadoc.
Mark Fisher
2009-02-26 19:53:57 +00:00
7fccd5f8f8
INT-545
Mark Fisher
2009-02-26 18:56:10 +00:00
1082587d20
Upgraded to spring-build 2.0.7 r590 (INT-579)
Mark Fisher
2009-02-26 15:39:55 +00:00
a838f3d5f0
synchronised dependencies from ivy.xml to Maven central poms for 1.0.2
Jonas Partner
2009-02-23 19:48:25 +00:00
0d960df263
INT-266 - adding namespace and annotation support for CorrelationStrategy
Marius Bogoevici
2009-02-23 16:18:08 +00:00
03b99960e0
Using MessageSequenceComparator directly.
Marius Bogoevici
2009-02-23 15:40:42 +00:00
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
Jonas Partner
2009-02-22 10:34:43 +00:00
4cb87799b0
added http module
Jonas Partner
2009-02-21 19:45:07 +00:00
bcbded1216
update version for repo1 pom's to 1.0.2.RELEASE
Jonas Partner
2009-02-21 19:18:40 +00:00
b80687b7a7
Initial commit of SimpleWebServiceInboundGateway (INT-162).
Mark Fisher
2009-02-20 22:57:00 +00:00
5945cc19ce
Initial commit for MarshallingWebServiceInboundGateway (INT-162).
Mark Fisher
2009-02-20 22:52:36 +00:00
64188597e2
Setting Content-Type for serialized Objects.
Mark Fisher
2009-02-20 21:38:58 +00:00
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).
Mark Fisher
2009-02-20 20:21:55 +00:00