Commit Graph

574 Commits

Author SHA1 Message Date
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
Mark Fisher
9ed99eb10c INT-1257, INT-1263 Renamed HistoryProvider to TrackableComponent. 2010-08-25 20:42:46 +00:00
Mark Fisher
c044299015 INT-1257, INT-1263 Renamed setShouldIncludeInHistory() to setShouldTrack() on the HistoryProvider interface. 2010-08-25 20:28:18 +00:00
Mark Fisher
64ab7f5734 INT-1257, INT-1263 Refactoring Message History (work in progress): Removed the getHistory() method from MessageHeaders. Using headers.get(MessageHistory.HEADER_NAME) instead. 2010-08-25 19:31:55 +00:00
Mark Fisher
1c8da6f251 INT-1257, INT-1263 Refactoring Message History (work in progress): Removed MessageHistoryWriter. Added MessageHistory. 2010-08-25 19:25:26 +00:00
Mark Fisher
f5f948da4c INT-1257, INT-1263 Refactoring Message History (work in progress): MessageHistoryWriter's writeHistory method is now static. Added HistoryProvider interface and MessageHistoryBeanPostProcessor. 2010-08-25 18:53:56 +00:00
Mark Fisher
97c292cc56 formatting 2010-08-25 15:04:15 +00:00
Mark Fisher
220538ec08 INT-1257, INT-1263 Refactoring Message History (work in progress): removed MessageHistory and MessageHistoryEvent, moved MessageHistoryWriter and NamedComponent to the 'context' package. 2010-08-25 14:20:30 +00:00
David Syer
d98ff8eaa1 INT-1280: ship commons code out to external project 2010-08-25 12:22:27 +00:00
Oleg Zhurakousky
78deab7677 Added test for router configuration which delegates to errorChannel if channel can't be resolved 2010-08-25 09:55:34 +00:00
David Syer
02d191c5d0 INT-1227: fix bug frdom last commit 2010-08-25 07:45:42 +00:00
David Syer
4ed390526c INT-1227: add EL to resequencer and fix schema 2010-08-25 07:21:20 +00:00
Mark Fisher
d67cbd2984 INT-1286 first step: the history header is now stored as a List<Properties> instead of relying on custom Object types. Also, the header is not mutated directly but now history is written by copying the Message. The next step might involve moving that into the MessageBuilder. 2010-08-24 22:19:58 +00:00
Josh Long
d6176a7f1b Adding support for retreival of a MetadataPersister implementation if possible. 2010-08-24 08:25:17 +00:00
Josh Long
fa12ec61a6 Adding support for retreival of a MetadataPersister implementation if possible. 2010-08-24 08:20:19 +00:00
Oleg Zhurakousky
2c7b57448b INT-1338, Added support for property placeholder 2010-08-23 18:10:58 +00:00
Oleg Zhurakousky
78dbf2bef5 INT-1338, Added namespace support for 'event-types' attribute 2010-08-23 17:09:32 +00:00
Mark Fisher
7816d5f681 removed unnecessary methods from the temporary channel implementation used within MessagingTemplate 2010-08-23 14:39:43 +00:00
Mark Fisher
e4a8e71847 removed e.printStackTrace 2010-08-23 14:35:17 +00:00
Mark Fisher
d5a80421ec added test for @Payload annotation with SpEL on a Gateway 2010-08-18 19:47:09 +00:00
Josh Long
bacbee1588 fixed a potential NPE 2010-08-17 23:23:06 +00:00
Josh Long
6766db3f37 Adding support for alternatively injecting a simple MessageChannel reference 2010-08-17 23:09:20 +00:00
Josh Long
1d1302acdf Adding support for alternatively injecting a simple MessageChannel reference 2010-08-17 23:06:15 +00:00
Mark Fisher
929e14a320 INT-1343, INT-1355 @Publisher can now be used as a meta-annotation, and when the "channel" is not available at method-level, a class-level annotation will now be checked next, and only if neither are present will it fall back to the default channel of the advisor. 2010-08-17 22:18:40 +00:00
Josh Long
3eed02fbb3 fixing wayward packages 2010-08-17 21:00:13 +00:00
Josh Long
395331ae4c removing wayward packages 2010-08-17 20:58:46 +00:00
Josh Long
bd38c25abb Fixing wayward folder / package move 2010-08-17 20:25:56 +00:00
Josh Long
ca5e17c5f1 removing wayward duplicated package 2010-08-17 20:15:52 +00:00
Mark Fisher
71f78c807e INT-1270 ExpressionFactoryBean now extends AbstractFactoryBean 2010-08-17 19:28:45 +00:00
Mark Fisher
a8fb06ee07 INT-1270 no need for a null check 2010-08-17 19:22:18 +00:00