Commit Graph

370 Commits

Author SHA1 Message Date
Oleg Zhurakousky
2bb02b13ae INT-789 2010-06-17 22:54:26 +00:00
Mark Fisher
246db01eb9 INT-1186 added bean resolution support for expression based routers 2010-06-17 20:47:37 +00:00
Mark Fisher
b62b8f0f80 INT-1187 added bean resolution support for expression based filters 2010-06-17 20:25:26 +00:00
David Syer
8df7265abb INT-1176: added scope= attribute to channels and removed thread-local-channel 2010-06-17 11:07:37 +00:00
Mark Fisher
49558ea82f INT-1184 added bean resolution support for expression based transformers 2010-06-16 21:52:07 +00:00
Mark Fisher
1c75b71884 INT-1183 added bean resolution support for expression based splitters 2010-06-16 21:38:00 +00:00
Mark Fisher
40f05047d2 refactored ServiceActivatorHandler configuration for the expression-evaluation case 2010-06-16 21:02:13 +00:00
Mark Fisher
0fe776d607 INT-681, INT-710, INT-1181 added more tests 2010-06-16 19:37:32 +00:00
Mark Fisher
7565773418 INT-681, INT-710, INT-1181 The <service-activator> element now supports an "expression" attribute as an alternative to "ref" + "method". Added ServiceActivatorFactoryBean, modified parser, updated schema, added ServiceActivator constructor to accept expression string, and provided some basic tests. 2010-06-16 19:25:35 +00:00
Mark Fisher
be92d13413 minor improvement for error message 2010-06-16 19:21:04 +00:00
Mark Fisher
88845df5e2 no longer have to check if expectedType is void.class after Spring 3.0.3 upgrade 2010-06-16 18:32:33 +00:00
Mark Fisher
162214a9b1 INT-1181 added support for bean resolution within the ExpressionEvaluatingMessageProcessor 2010-06-16 18:14:16 +00:00
Mark Fisher
7ba407defe INT-1124 relying on $ with MapAccessor after upgrade to Spring 3.0.3 2010-06-16 15:58:42 +00:00
Mark Fisher
9f1913512d INT-1167 added namespace support for the 'should-skip-nulls' attribute on the <header-enricher> element 2010-06-15 21:59:15 +00:00
Mark Fisher
9724b0c832 INT-1154 The <header-enricher> element now supports the 'send-timeout' attribute. 2010-06-14 23:35:27 +00:00
Mark Fisher
53842d3b70 INT-1165, INT-1175 The 'send-timeout' on a chain element (if provided explicitly) will now take precedence over the send-timeout of its last handler (assuming it's a producer in the first place). Also, duplicate handlers are now rejected in a chain. 2010-06-14 23:02:28 +00:00
Iwein Fuld
2fbf5da2c7 INT-1174: Added CorrelatingMessageBarrier and tests 2010-06-14 15:15:48 +00:00
Iwein Fuld
05d9ea3c2c INT-1174: prepared MessageGroup to support marking single message 2010-06-14 12:41:48 +00:00
Mark Fisher
b6974b712c INT-836 refactored HeaderEnricher to delegate to MessageProcessor implementations 2010-06-11 22:10:11 +00:00
Mark Fisher
bfd6c81673 INT-1168 added a setExpectedType method to ExpressionEvaluatingMessageProcessor, NULL indicates no specific type is expected (behavior is in the base AbstractMessageProcessor) 2010-06-11 21:29:24 +00:00
Mark Fisher
16fab7af81 INT-1167, INT-836 added 'shouldSkipNulls' option to HeaderEnricher and refactored XPathHeaderEnricher to extend from the core HeaderEnricher 2010-06-11 20:30:11 +00:00
Iwein Fuld
6acce320b4 QUALITY: added some javadoc, removed visibility bug in SimpleMessageGroupStore 2010-06-11 15:17:41 +00:00
Iwein Fuld
7bcadf6e90 INT-1152: migrated marked and unmarked to BlockingQueue and added synchronization around them to facilitate concurrent use. 2010-06-11 15:17:39 +00:00
Mark Fisher
aed96e1c93 switched from 'Object' to '?' for the parameterized 'values' of the header map being copied 2010-06-02 22:03:40 +00:00
Chris Beams
e5219dfe8f eliminated all compiler warnings throughout all projects
updated pom to emit compiler warnings so that any new ones become obvious
added serialVersionUID to classes that could reasonably need to be serialized (GenericMessage, MessageHeaders, etc)
@SuppressWarnings("serial") on all others
@SuppressWarnings("unused") on private static classes used as spring beans for testing (their methods never get called from java)
eliminated all redundant casting
introducted generics metadata where raw types were still being used
changed public API on several FactoryBeans (by adding <Type> information to 'implements FactoryBean' clause)
2010-05-25 23:18:25 +00:00
Chris Beams
c08a7a657e renamed modules org.springframework.integration.* -> spring-integration-*
@Ignore'd SimpleTcpNetOutboundGatewayTests#testOutboundClose() to avoid failure; this failure is correlated to the module name change, but hard to understand how it would be caused by it
2010-05-25 13:21:25 +00:00
Ben Hale
6696064dd0 Updated the names of the projects 2008-05-20 21:41:01 +00:00
Mark Fisher
9fa4a6b80e Added a "configure-async-event-multicaster" attribute to the <message-bus/> element and a corresponding 'configureAsynEventMulticaster' property to the MessageBus class. When set to 'true', the 'taskScheduler' of the MessageBus will also be configured as the TaskExecutor for the ApplicationContext's ApplicationEventMulticaster. The default value for this property is 'false' (INT-58). 2008-05-20 20:32:04 +00:00
Mark Fisher
d3c2fdc0a4 Added namespace support for the <router/> element (INT-168). 2008-05-20 17:56:48 +00:00
Mark Fisher
6f207bc2d7 Added namespace support for ThreadLocalChannel (INT-222). 2008-05-20 16:51:12 +00:00
Mark Fisher
2c731b239f Added ThreadLocalChannelFactory (INT-221). 2008-05-20 16:41:42 +00:00
Mark Fisher
4c14e21cbe Added namespace support for <splitter/> element (INT-135). 2008-05-20 16:23:50 +00:00
Mark Fisher
5e5e5438be Removed 'property' and 'attribute' from the @Router annotation now that the @HeaderProperty and @HeaderAttribute parameter annotations are available. 2008-05-20 15:24:13 +00:00
Mark Fisher
3b9cd481ea Added RootCauseErrorMessageRouter (INT-169). 2008-05-20 15:14:39 +00:00
Mark Fisher
5ab34d7da3 Added support for @Polled annotation at class-level alongside the @MessageEndpoint annotation (INT-220). 2008-05-20 14:08:36 +00:00
Mark Fisher
1c8f44a41c Factored out a new ThreadLocalChannel implementation from SynchronousChannel, and then renamed SynchronousChannel to DirectChannel. 2008-05-19 21:10:11 +00:00
Mark Fisher
04dd70f764 Increased receive timeouts for tests. 2008-05-19 17:25:38 +00:00
Mark Fisher
019ec2123d PollingSourceEndpoint is now just SourceEndpoint. 2008-05-19 17:09:32 +00:00
Mark Fisher
73f4a0c7de Reverted the RuntimeBeanReference to a String value for the constructor-arg of the Subscription object when parsing an endpoint. That is necessary to handle the case where channels are 'auto-created' by the MessageBus on demand (e.g. HelloWorldDemo). 2008-05-19 13:45:24 +00:00
Mark Fisher
984d335f14 PollingSourceEndpoint only expects a Schedule instance in its constructor rather than requiring a PollingSchedule instance. 2008-05-17 18:55:35 +00:00
Mark Fisher
71532737e2 Method invocation for namespace-based handlers now falls back to the Message as method parameter instead of passing the Message payload if the first invocation attempt throws a NoSuchMethodException (INT-216). 2008-05-16 14:38:36 +00:00
Mark Fisher
f2186b815c Refactored MethodInvokingSource to the "message" package and MethodInvokingTarget to the "handler" package. The "adapter" package has been removed (INT-215). 2008-05-16 02:28:00 +00:00
Mark Fisher
a5c99f6ba8 Added comments to AnnotationMethodMessageMapper. 2008-05-15 20:49:57 +00:00
Mark Fisher
397f976c08 Moved the setting of target object and method into DefaultMessageHandlerCreator instead of AbstractMessageHandlerCreator. If AbstractMessageHandlerAdapter's mapping result is null, the corresponding method argument will be null (no longer invoking getPayload() since there is a chance for null mapping results). 2008-05-15 20:43:00 +00:00
Mark Fisher
d38a7259d3 ResponseCorrelator is now ReplyMessageCorrelator. 2008-05-15 20:08:04 +00:00
Mark Fisher
6c31589987 Method parameter matching for Map or Properties will resolve to the payload if its type matches. Otherwise, the header attributes or properties will be passed respectively (INT-192). 2008-05-15 19:42:19 +00:00
Mark Fisher
be192a1691 Added support for @HeaderAttribute and @HeaderProperty parameter annotations (INT-192). 2008-05-15 18:29:13 +00:00
Mark Fisher
f6541eb7ec Refactored "channel-factory" from sub-element to attribute of the <message-bus/> element. 2008-05-15 14:00:51 +00:00
Mark Fisher
ce37d6b4e7 polishing 2008-05-15 13:39:58 +00:00
Mark Fisher
37b2f0a87d polishing 2008-05-15 13:21:59 +00:00