Commit Graph

629 Commits

Author SHA1 Message Date
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
Mark Fisher
a55ab3af05 INT-1401 renamed ExpressionSource to PublisherMetadataSource 2010-09-02 15:37:23 +00:00
Mark Fisher
8285e6b645 updated javadoc 2010-09-02 15:10:02 +00:00
Mark Fisher
e03d934b77 INT-1403 verifying a valid payload expression for void-returning methods with @Publisher 2010-09-02 14:54:07 +00:00
Mark Fisher
5c7f97f101 INT-1401 EvaluationContext variable names are now fixed (#return, #method, #args, and #exception) 2010-09-02 14:19:57 +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
Mark Fisher
a1a4a31a71 INT-1227 removed the protected, overridable shouldSplitIterableReply method in favor of a private, internal method in AbstractReplyProducingMessageHandler that simply checks if at least one item in the Iterable result is a Message or MessageBuilder instance. 2010-09-01 21:35:08 +00:00
Mark Fisher
dc86d88df4 INT-1129, INT-1263, INT-1306 removed SimpleMessagingGateway, refactored AbstractMessagingGateway to support GatewayProxyFactoryBean. AbstractMessagingGateway now uses HistoryWritingMessagePostProcessor. 2010-09-01 20:48:15 +00:00
Mark Fisher
a73810dbf9 INT-1263 added HistoryWritingMessagePostProcessor 2010-09-01 20:34:39 +00:00
Mark Fisher
e031723c21 added setter methods for InboundMessageMapper and OutboundMessageMapper on SimpleMessageConverter 2010-09-01 20:29:09 +00:00
Mark Fisher
5afe552d82 INT-1398 added MessagePostProcessor for use with MessagingTemplate convertAndSend methods as well as convertSendAndReceive methods 2010-09-01 20:17:46 +00:00
Mark Fisher
110cde02a9 INT-1397 MessageProducerSupport now implements TrackableComponent 2010-09-01 20:00:23 +00:00
Mark Fisher
3581ae95d7 removed unused import 2010-09-01 19:54:49 +00:00
Oleg Zhurakousky
79b3998572 INT-1257 added MessageHistory performance test 2010-09-01 16:42:20 +00:00
David Syer
c39cf0bbf1 Weird compiler error still there... 2010-09-01 14:21:53 +00:00
David Syer
cae40b8dcd Remove parameter from methods (works in Eclipse not with javac) 2010-09-01 14:13:59 +00:00
David Syer
93be55d84d INT-1394: add expression parameter source 2010-09-01 14:09:00 +00:00
Oleg Zhurakousky
353b61160f INT-1263, refactored MessageHandlers in several modules to subclass from AbstractMessageHandler to support MessageHistory 2010-08-31 22:56:05 +00:00
Iwein Fuld
f3574c96a6 Reduced the errors in build output 2010-08-31 21:19:47 +00:00
Mark Fisher
899808e4c9 removing dependency on SimpleMessagingGateway from ServiceActivatorParserTests 2010-08-31 19:56:21 +00:00
Mark Fisher
aaf75243e9 removing dependency on SimpleMessagingGateway from HeaderEnricher tests 2010-08-31 19:47:37 +00:00
Oleg Zhurakousky
63e5cd8e06 INT-1257, added namespace support for specifying name patterns for tracked components (fixed the bug) 2010-08-31 19:40:31 +00:00
Oleg Zhurakousky
3982994704 INT-1257, added namespace support for specifying name patterns for tracked components 2010-08-31 19:19:16 +00:00
Mark Fisher
812a8c657f INT-1129 added receiveAndConvert methods to MessagingOperations and MessagingTemplate 2010-08-31 17:49:09 +00:00
Mark Fisher
4d73334e16 INT-1129 added convertAndSend and convertSendAndReceive methods to MessagingOperations and MessagingTemplate 2010-08-31 17:06:00 +00:00
Mark Fisher
6c5610693a INT-1129 adding MessageConverter strategy and SimpleMessageConverter implementation 2010-08-31 16:41:39 +00:00
Mark Fisher
93bc11fca7 INT-1364 AbstractMessagingGateway's default request and reply timeouts are now 1000 ms (were indefinite). 2010-08-31 16:29:04 +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
Mark Fisher
b42d5b84ad INT-1227 Refactored AbstractReplyProducingMessageHandler to limit the overridable "logic" methods to "handleRequestMessage(..)" only. The other protected, overridable methods only provide boolean values to the base class: "shouldSplitIterableReply()" (which is FALSE by default, but TRUE for Splitter) and "shouldCopyRequestHeaders()" (which is TRUE by default, but FALSE for Transformer and Filter). 2010-08-31 00:38:21 +00:00
Mark Fisher
a5490139e6 INT-1227 parameterized MessageProcessor 2010-08-30 22:56:57 +00:00
Mark Fisher
8967d7eb51 INT-1227 removed the protected getOutputChannel() method from AbstractReplyProducingMessageHandler. BridgeHandler no longer asserts an output channel in order to throw an Exception. Instead, a ChannelResolutionException is thrown in the normal place for a missing outputChannel property or replyChannel header in the AbstractReplyProducingMessageHandler. 2010-08-30 21:29:16 +00:00
Mark Fisher
c44355c5c9 INT-1389 removed StringMessage 2010-08-30 21:05:46 +00:00
Mark Fisher
a74595819e INT-1389 removed all dependencies on StringMessage from unit tests in spring-integration-core 2010-08-30 18:27:27 +00:00
Mark Fisher
a5638e44a3 renamed MessageHistory's static 'addComponentToHistory' method to 'write'; simpler and more consistent with the new 'read' method 2010-08-30 12:36:37 +00:00
Mark Fisher
b9b877cc6b INT-1387 added 'read' method to MessageHistory and committed some unit tests 2010-08-29 22:00:54 +00:00
Mark Fisher
e7ad8ff72a INT-1385 Transformers now require a reply by default. 2010-08-28 16:29:02 +00:00
Mark Fisher
47ee0c737b INT-1384 removed the recently added (yesterday) "requiresReply" Message header, but added the "requires-reply" attribute on the <service-activator> element 2010-08-28 16:04:13 +00:00
Mark Fisher
ea611a3082 GatewayMethodInboundMessageMapper is now limited to package visibility 2010-08-27 21:32:56 +00:00
Mark Fisher
7fcc04766a renamed ArgumentArrayMessageMapper to GatewayMethodInboundMessageMapper and moved from the 'handler' package to 'gateway' (only place it's used now) 2010-08-27 21:29:01 +00:00
Mark Fisher
9c55cdf5df INT-1180 Added a 'requiresReply' header. The default value is FALSE, but Gateway request Messages now have this value set to true whenever the invoked method has a non-void return. This will trigger a MessageHandlingException instead of a timeout downstream if no reply is produced by an instance of AbstractReplyProducingMessageHandler. 2010-08-27 21:20:10 +00:00
Mark Fisher
b2d66aeab5 delegating to single constructor from others 2010-08-27 21:11:36 +00:00
Mark Fisher
3debfa814a removed empty pacakge 2010-08-27 19:58:53 +00:00
Mark Fisher
2e1ba3efc0 regenerated serialVersionUID 2010-08-26 19:03:28 +00:00
Mark Fisher
972f6affc5 INT-1257, INT-1263 Refactoring Message History (work in progress): MessageHistory's toString() now only returns the name of components that have been visited. Programmatically one can still access the 'type' and 'timestamp' properties as well. 2010-08-26 18:58:46 +00:00
Mark Fisher
49fcba6d57 INT-1257, INT-1263 Refactoring Message History (work in progress): MessageHistoryConfigurer's stop() method now disables any tracked components it started in a previous start() call. 2010-08-26 18:31:58 +00:00
Mark Fisher
f535cdbcd1 INT-1257, INT-1263 Refactoring Message History (work in progress): Replaced MessageHistoryBeanPostProcessor with MessageHistoryConfigurer in order to set tracking parameters at the right time. 2010-08-26 17:58:18 +00:00
Mark Fisher
0dc095a815 INT-1257, INT-1263 Moved MessageHistory, TrackableComponent, and MessageHistoryBeanPostProcessor to 'history' package. 2010-08-25 20:56:50 +00:00