Commit Graph

127 Commits

Author SHA1 Message Date
Mark Fisher
616d44a290 removed unused import 2010-12-02 19:57:27 -05:00
Mark Fisher
bdab24a6b0 INT-1657, INT-1658 outbound http adapters now use an explicitly mapped 'Content-Type' header and only fallback to determining the header value from payload type. Also fixed a casting issue in the MultiValueMap conversion code. 2010-12-02 19:50:21 -05:00
Chris Beams
c8a24acfc6 Catch poms up with 2.0.1.BUILD-SNAPSHOT version 2010-11-26 11:26:07 -07:00
Mark Fisher
c712ac6315 Release version 2.0.0.RELEASE 2010-11-22 21:23:47 -05:00
Chris Beams
365108e7e3 Reflect hamcrest 1.1 dependency in generated poms 2010-11-22 16:18:21 -07:00
Chris Beams
1d3f4b2987 Upgrade junit:junit:4.7 -> junit:junit-dep:4.8.2
junit-dep does not bundle dependencies like hamcrest. This avoids
'duplicate package org.hamcrest' errors during javadoc generation
2010-11-22 15:06:02 -07:00
Mark Fisher
f3e854b10c INT-1568 removed the MessageHeaders.PREFIX constant since it's no longer necessary. Also added @ManagedOperation to the IntegrationMBeanExporter's getChannelSendRate(..) method. 2010-11-18 00:03:58 -05:00
Chris Beams
536fda2200 Check in Gradle-generated poms for convenience (INT-1609)
For ease of use by those (a) more familiar with Maven or (b) relying
on m2eclipse support within Eclipse/STS, generated poms are now checked
in. Changes to these files will be overwritted on subsequent gradle
builds.

Any changes to project dependencies should first be reflected in
build.gradle; then run `gradle generatePom` or simply `gradle build`
to see the change reflected in the pom(s).

Note that org.springframework.integration.ip.tcp.TcpInboundGatewayTests
currently fails when running `mvn clean test` from the root. This
problem does not manifest when running `gradle clean test`. The latter
is what's most important; Gary has been contacted to take a look at the
former.

Issues resolved:
    INT-1609, INT-1610, INT-1611
2010-11-12 23:27:32 -08:00
Chris Beams
a9c70aa1e7 Synchronize with latest buildSrc updates
buildSrc updated to use latest Gradle wrapper.  See buildSrc git log
for complete details; in short, eclipse JDT prefs are now auto-generated
and the gradle daemon is no longer 'on by default', but must be enabled
with --daemon or -Dorg.gradle.daemon=true.

* removed all existing jdt preferences files in favor of auto-generation.

* removed .springBeans from .gitignore; this file should be
  source-controlled for consistency and convenience.

* removed illegal @Override annotations.  Eclipse/STS now catch these
  properly!
2010-11-11 10:04:20 -08:00
Chris Beams
bd3b0222f3 Add Bundle-Version and placeholder to all Bundlor templates 2010-11-09 10:33:14 -08:00
Dave Syer
222cd88bac Clean up .settings 2010-11-09 09:24:58 +00:00
Mark Fisher
1df19858b3 moved test code to correspond to refactored package structure 2010-11-05 18:23:56 -04:00
Mark Fisher
0c89067687 refactored package structure, added: inbound, outbound, converter, multipart, and support 2010-11-05 18:21:30 -04:00
Mark Fisher
d9eafee19b removed unused code, and got rid of warnings 2010-11-05 18:01:54 -04:00
Chris Beams
e7a4364762 Remove .classpath and .project files
Run `gradle eclipse` to generate prior to import into Eclipse.
2010-10-29 01:37:29 -04:00
Chris Beams
0d55f086bc Eliminate Maven POMs
POMs removed in favor of Gradle build. pom.xml added to .gitignore
to accommodate future generation of source-level poms for those who
wish to use m2eclipse tooling in STS (to come in a later commit)
2010-10-28 15:32:26 -04:00
Mark Fisher
be20d1a8ae INT-1551 replaced SimpleBeanResolver with BeanFactoryResolver. SimpleBeanResolver was a stop-gap solution and has now been removed. 2010-10-28 15:32:25 -04:00
Josh Long
e44f9a6e31 cleanup of the code: removing cyclic dependencies, cleaning out package hierarchy, etc, in support of INT-1548 INT-1549 INT-1547 2010-10-23 17:18:22 -07:00
Mark Fisher
e8da488033 INT-1526 updating template.mf files for minimum version of Spring 3.0.5 2010-10-23 12:56:13 -05:00
Mark Fisher
8737d46c6e INT-1382 added support for 'expression' sub-elements in the core schema 2010-10-12 19:12:37 -04:00
Mark Fisher
b55a54729e INT-1504 added support for 'error-handler' attribute on HTTP outbound adapters (for the ResponseErrorHandler on the underlying RestTemplate) 2010-10-08 11:11:31 -04:00
Oleg Zhurakousky
28b482c25d INT-1481, consolidated old and new tests, added more tests to validate the exchange with RestTemplate for all supported Content-Types and paylod combinations (e.g, Arrays, primitives collection maps etc.) 2010-09-27 18:39:18 -04:00
Oleg Zhurakousky
6cc180bd2f INT-1481, added test for primitive arrays 2010-09-27 16:27:38 -04:00
Oleg Zhurakousky
db10a4cbca INT-1481, final polishing, renamed convertMultipart method 2010-09-27 16:02:28 -04:00
Oleg Zhurakousky
a6fb411d62 INT-1481, final polishing, removed import 2010-09-27 15:56:10 -04:00
Oleg Zhurakousky
9af4244471 INT-1481, final polishing 2010-09-27 15:55:39 -04:00
Oleg Zhurakousky
a10f547269 INT-1481, more refactoring, added MVP generation only if applicable content-type oherwise payload is untouched 2010-09-27 15:48:14 -04:00
Oleg Zhurakousky
0bed56e780 INT-1481, added support for serialized content type, mroe refactoring and test cases 2010-09-27 15:01:39 -04:00
Oleg Zhurakousky
b131953ed7 INT-1481, added support for multipart/form-data content type to outbound http adapters 2010-09-27 12:29:24 -04:00
Mark Fisher
26f4c341a7 removing cycle between context and util 2010-09-24 16:56:24 -04:00
Oleg Zhurakousky
0be4d2ef60 INT-1263, more MessageHistory related changes 2010-09-22 22:18:45 -04:00
Oleg Zhurakousky
b6e058c59b INT-1263, added more changes and tests related valdating MessageHistory in every module 2010-09-22 18:44:51 -04:00
Oleg Zhurakousky
c4d31af848 INT-1257, added tests and minor modification to support MessageHistory in MAIL, JDBC, IP, HTTP modules 2010-09-21 22:15:37 -04:00
Chris Beams
2d88bdd2e8 Increment versions to 2.0.0.BUILD-SNAPSHOT 2010-09-03 20:12:54 +00:00
Chris Beams
f4efc62ca7 Increment versions to 2.0.0.M7 2010-09-03 18:23:12 +00:00
Mark Fisher
2f5dc0c202 INT-1306 renamed AbstractMessagingGateway to MessagingGatewaySupport 2010-09-03 04:02:49 +00:00
Chris Beams
2c17719313 Introduce Maven release:update-versions plugin (INT-1320)
- Upgrade to version 2.0 of the maven-release-plugin in order to
  get the new 'update-versions' goal, which allows for doing nothing
  other than updating pom versions - no tagging, no checkins, etc.

- Accommodate idiosyncracies of the plugin. When running for the first
  time, it became clear that update-versions not only updates versions
  as advertised, but also formats certain elements of the pom.
  Committing just those format changes now so that future actual version
  updates will not have to deal with this uninvited 'help'.

- How to run the command:

  mvn --batch-mode release:update-versions -DdevelopmentVersion=2.0.0.M7

  This will edit the <version> elements in the poms of the projects listed
  in the root pom's <modules> section.
2010-09-02 15:57:05 +00:00
Chris Beams
41e8194239 Revert update to 3.0.4 (INT-1293) due to SpEL issue (SPR-7519)
Upon updating to 3.0.4 the build fails with SpEL error code EL1004E when
executing test method shouldFindSimpleAggregatorMethodWithArray().
Reverting for now, but SPR-7519 has been created for tracking what
appears to be a minor SpEL regression.

- template.mf files now declare range [3.0.3, 4.0.0) for all Spring dependencies

- pom.xml files reverted to dependence on 3.0.3.RELEASE
2010-09-02 12:42:23 +00:00
Chris Beams
4ded74b317 Update pom and template.mf files Spring 3.0.4 (INT-1293) 2010-09-02 10:54:11 +00:00
Chris Beams
9e6e232837 Disconnect samples from parent pom (INT-1316) 2010-09-02 10:22:53 +00:00
David Syer
cd5ca10ae2 Add spring integration to OSGi template 2010-09-01 20:13:48 +00:00
David Syer
754b9a198d INT-1347: add convertExceptions to request handler and error-key/code to controller 2010-09-01 17:23:23 +00:00
Mark Fisher
3b15a0dd38 INT-1390 moved MessageBuilder into the 'support' package, moved GenericMessage and ErrorMessage into the 'message' package 2010-08-31 02:51:27 +00:00
Mark Fisher
7c1ab04cd5 INT-1390 Refactoring: moved MessageChannel to the root package, and moved ChannelResolver and BeanFactoryChannelResolver into a new 'suport.channel' package 2010-08-31 01:53:45 +00:00
David Syer
d98ff8eaa1 INT-1280: ship commons code out to external project 2010-08-25 12:22:27 +00:00
Mark Fisher
b6aa9edbd7 INT-1350, INT-1356 added namespace support for 'mapped-request-headers' on the HTTP <outbound-gateway> and <outbound-channel-adapter> elements as well as 'mapped-response-headers' on the the <outbound-gateway> 2010-08-17 23:47:35 +00:00
Jeremy Grelle
933c8e42f0 Making the inbound/outbound header mapping strategy symmetrical. 2010-08-17 16:37:33 +00:00
Mark Fisher
57d5e5c400 INT-1350 Now checking if the prefix "X-" is already in place before adding it. 2010-08-17 01:00:01 +00:00
Mark Fisher
75a925bced INT-1350 DefaultHttpHeaderMaper now has 'outboundHeaderNames' and 'inboundHeaderNames'. Both are empty by default. The outbound headers will be prefixed with "X-". 2010-08-16 23:33:27 +00:00
Mark Fisher
86f69e08bb moved the DefaultOutboundRequestMapper code into the HttpRequestExecutingMessageHandler since we no longer expose the OutboundRequestMapper as a configurable strategy 2010-08-16 23:00:32 +00:00