Commit Graph

341 Commits

Author SHA1 Message Date
Mark Fisher
39a8486ac8 Refactored MessageConsumer with onMessage to MessageHandler with handleMessage. 2008-11-03 14:17:53 +00:00
Mark Fisher
9be19cfd93 Updated CronSequenceGenerator and added more tests. 2008-11-03 02:46:04 +00:00
Mark Fisher
c322dfd61e Moved BoundedHashMap (used by SimpleMessageStore) to the sandbox. 2008-11-02 17:17:23 +00:00
Mark Fisher
7cc24bba50 Moved MessageStore, SimpleMessageStore, and MessageStoringInterceptor to the sandbox. 2008-11-02 17:11:41 +00:00
Jonas Partner
bbfdf3bcf8 latch count down in wrong place 2008-11-02 16:31:46 +00:00
Mark Fisher
48180e8939 ApplicationContextMessageBus no longer implements the ChannelResolver interface. 2008-11-01 00:06:03 +00:00
Mark Fisher
898f67aec2 Removed the MessageBus interface. The ApplicationContextMessageBus now implements Lifecycle directly. The MessageEndpoint interface had no additional methods after the removal of registerEndpoint(). 2008-10-31 23:44:22 +00:00
Mark Fisher
dae343a07f Removed MessageBusAware and MessageBusAwareBeanPostProcessor. 2008-10-31 23:30:02 +00:00
Mark Fisher
cb25a95280 Removed dependency on MessageBus. 2008-10-31 21:20:58 +00:00
Mark Fisher
aed3be2ae2 Registering endpoint directly with ApplicationContext instead of MessageBus. 2008-10-31 21:04:55 +00:00
Mark Fisher
25a174b35c Depends on Lifecycle interface only rather than MessageBus. 2008-10-31 21:02:37 +00:00
Mark Fisher
f3bbd7d705 Added reply timeouts. 2008-10-31 21:01:38 +00:00
Mark Fisher
35ae2ac334 Moved context refresh after bean registration. 2008-10-31 21:01:17 +00:00
Jonas Partner
1631fe3921 refactored to avoid need for sleep 2008-10-30 16:34:01 +00:00
Jonas Partner
e44ec9d230 increase sleep 2008-10-30 14:45:40 +00:00
Jonas Partner
81629363a9 sleep after the latch to make sure the exception is there 2008-10-30 14:38:32 +00:00
Jonas Partner
efa42f761a make the throwables list volatile 2008-10-30 14:33:51 +00:00
Jonas Partner
6ac93f1825 remove extra wait 2008-10-30 14:20:29 +00:00
Jonas Partner
05687725c3 increased timeouts 2008-10-30 07:34:57 +00:00
Jonas Partner
df5c72f653 BeanPostProcessor for proxying TaskExecutor instances to allow delegation to an error handler when async execution throws errors.
Relates to INT-440
2008-10-29 14:36:40 +00:00
Mark Fisher
379fed3f5b Refactored to associate latch with trigger instead of consumer. 2008-10-20 19:06:36 +00:00
Mark Fisher
6e4b501ec6 Moving the MethodPublishingInterceptor and @Publisher annotation support to the sandbox for now. 2008-10-20 17:55:36 +00:00
Mark Fisher
1dc2c175a2 Removed AbstractPoller and ChannelPoller. Refactored test cases to use PollingConsumerEndpoint. 2008-10-20 15:27:03 +00:00
Mark Fisher
f8b2724f7a ApplicationContextMessageBus now implements the ChannelResolver interface. The MessagePublishingErrorHandler for the SimpleTaskScheduler is now created in the MessageBusParser rather than in the initialization code of the MessageBus. 2008-10-20 13:50:22 +00:00
Mark Fisher
b6bd0b30fc Created 'consumer' package and moved consumer implementations from 'message' and 'endpoint' packages. 2008-10-20 12:09:30 +00:00
Mark Fisher
31f1116cff Renamed DefaultMessageBusTests to ApplicationContextMessageBusTests (to match the renamed class under test). 2008-10-20 11:41:50 +00:00
Mark Fisher
25d0ac78b6 INT-435 2008-10-20 11:38:00 +00:00
Mark Fisher
e31520bc64 Renamed DefaultMessageBus to ApplicationContextMessageBus. 2008-10-20 10:43:16 +00:00
Mark Fisher
7f7fb10ae5 Added RouterFactoryBean. MethodInvokingRouter now provides a constructor to accept the 'targetObject' only (without a method or methodName). It will resolve a single method annotated with @Router or else fallback to a single public method (INT-433, INT-434). 2008-10-19 23:02:18 +00:00
Iwein Fuld
f099083d66 RESOLVED - issue INT-431: AbstractMessageBarrierConsumer calls processMessages twice
http://jira.springframework.org/browse/INT-431

Reworked testcase
2008-10-19 14:41:49 +00:00
Mark Fisher
55eb3ae05d MessageHeaders no removes any non-serializable values from its map upon serialization. A warn-level notification will be logged. 2008-10-17 15:04:10 +00:00
Mark Fisher
a8694526ec Removed the 'errorHandler' property from AbstractMessageConsumer and the 'error-handler' attribute from the schema. Will be adding configurable errorChannel Message header instead. 2008-10-15 22:21:27 +00:00
Mark Fisher
18b65fdf0a Renamed the 'pool-executor' element to 'thread-pool-task-executor' (INT-426). 2008-10-15 19:45:58 +00:00
Mark Fisher
11e3fbb584 Removed BlockingChannel interface. The send(message, timeout) method is now defined directly in the top-level MessageChannel interface. 2008-10-15 16:49:00 +00:00
Mark Fisher
0afc835679 Reorganized DefaultMessageBus methods. 2008-10-15 16:19:04 +00:00
Mark Fisher
8e24ef2dd0 Renamed 'setReturnAddress(MessageChannel)' in MessageBuilder to 'setReplyChannel(MessageChannel)'. Also, the version that takes a String instead of a MessageChannel is now named 'setReplyChannelName(String)' for clarity. 2008-10-15 16:08:55 +00:00
Mark Fisher
344e1cecd7 Renamed 'returnAddress' in MessageHeaders to 'replyChannel'. 2008-10-15 15:55:37 +00:00
Mark Fisher
ebcccdc5c9 Moved MessagingException into the new 'org.springframework.integration.core' package. 2008-10-15 03:28:50 +00:00
Mark Fisher
262bd8fd9c Moved MessageChannel into the new 'org.springframework.integration.core' package. 2008-10-15 03:19:28 +00:00
Mark Fisher
2d84ee860b Moved MessagePriority into the new 'org.springframework.integration.core' package. 2008-10-15 03:12:47 +00:00
Mark Fisher
7da7c9e5a0 Moved MessageHeaders into the new 'org.springframework.integration.core' package. 2008-10-15 03:10:17 +00:00
Mark Fisher
08043b541d Moved Message into the new 'org.springframework.integration.core' package. 2008-10-15 02:54:29 +00:00
Mark Fisher
7ef7f57c2b Renamed MessageSelectorChain's enum from Strategy to VotingStrategy and changed MORE_THAN_HALF and AT_LEAST_HALF to MAJORITY and MAJORITY_OR_TIE respectively. 2008-10-14 18:20:01 +00:00
Mark Fisher
21eefa90dc Added namespace support for a MessageSelectorChain's Strategy (ALL, ANY, AT_LEAST_HALF, MORE_THAN_HALF), and added support for nesting <selector-chain/> elements (INT-308). 2008-10-14 17:39:14 +00:00
Mark Fisher
109343d14e Moved MessageSelector interface and implementations into a new 'org.springframework.integration.selector' package (instead of a sub-package under 'message'). Also added support for "Strategy" enum in MessageSelector with the following values available [ALL, ANY, AT_LEAST_HALF, MORE_THAN_HALF] (INT-308). 2008-10-14 16:16:55 +00:00
Mark Fisher
9286f1fdaa Refactored tests. 2008-10-14 15:19:04 +00:00
Mark Fisher
5f6e6277cd ServiceActivatorEndpoint is now ServiceActivatingConsumer. 2008-10-14 15:06:18 +00:00
Mark Fisher
10fd9304f0 Removed ServiceActivatorEndpoint from MethodInvokingConsumerTests. 2008-10-14 14:42:16 +00:00
Mark Fisher
79d9d8dc07 DefaultMethodResolver and AnnotationMethodResolver now use the target class of an AOP proxy. Added tests to DefaultMethodResolverTests: 'jdkProxy' and 'cglibProxy' (INT-425). 2008-10-14 14:16:49 +00:00
Mark Fisher
7ccc8f28d5 The <poller/> element no longer defines trigger properties (interval, initial-delay, cron, etc). Instead it expects a sub-element - either <interval-trigger/> or <cron-trigger/> (INT-423). 2008-10-14 12:25:56 +00:00