Commit Graph

363 Commits

Author SHA1 Message Date
Mark Fisher
b4178d3740 Initial commit of MessageHandlerChain (INT-391). 2008-11-20 15:04:44 +00:00
Mark Fisher
8e09a38ce9 Added 'max-size' attributes to test configurations of the 'thread-pool-task-executor' element. 2008-11-19 18:50:03 +00:00
Mark Fisher
3d13f7e954 Increased test receive timeout value. 2008-11-19 17:09:10 +00:00
Mark Fisher
85d429d29f PublishSubscribeChannel now wraps a provided TaskExecutor with the ErrorHandlingTaskExecutor if necessary (INT-440). Also, added namespace support for the publish-subscribe-channel's 'error-handler' reference (INT-483). 2008-11-19 16:53:25 +00:00
Mark Fisher
8ca2c3227b MessageMappingMethodInvoker now delegates to an instance of HandlerMethodResolver. Multiple annotated methods or method name matches are possible, and in such cases, the Method-resolution will occur at runtime based on the payload type of the Message to be handled (INT-72 and INT-191). 2008-11-18 19:42:56 +00:00
Mark Fisher
38e3fae8c1 Added PayloadTypeMatchingHandlerMethodResolver. 2008-11-18 18:59:09 +00:00
Mark Fisher
637e124add Added StaticHandlerMethodResolver. 2008-11-18 17:30:52 +00:00
Mark Fisher
bd16a126c4 Moved MessageMappingMethodInvoker to the 'handler' package instead of 'message'. 2008-11-17 21:48:07 +00:00
Jonas Partner
14ef15af8f remove unused proxy 2008-11-13 22:25:05 +00:00
Jonas Partner
f8aff7d281 2008-11-13 22:11:07 +00:00
Mark Fisher
f5cc9b3591 Removed the MessageEndpoint interface (it defined no methods). AbstractEndpoint is still the base class for all Message-producing and Message-consuming components. 2008-11-13 02:15:25 +00:00
Mark Fisher
0ef08a42ba PriorityChannel now uses a null semaphore to indicate an unbounded queue rather than relying on Integer.MAX_VALUE. 2008-11-12 16:56:09 +00:00
Mark Fisher
fb52ef630c INT-465 2008-11-12 15:57:11 +00:00
Mark Fisher
6771eaea23 The 'enable-annotations' element is now <annotation-config/>. 2008-11-11 23:35:12 +00:00
Mark Fisher
818226069f Added tests for explicitly defined TaskScheduler. 2008-11-11 23:20:09 +00:00
Mark Fisher
fea222b37f The <message-bus/> element is no longer necessary. It has been removed from the XSD (INT-462). The annotations are enabled by a separate element, and the application-event-multicaster element is also now separate. 2008-11-11 23:08:45 +00:00
Mark Fisher
f4ccde6257 Message Endpoints and the SimpleTaskScheduler now manage their own lifecycles. The ApplicationContextMessageBus is no longer necessary (part of INT-462). The MessagePublishingErrorHandler now detects the default error channel within the beanFactory if necessary (INT-464). 2008-11-11 20:11:21 +00:00
Iwein Fuld
396e9e179f resolved warning left over earlier 2008-11-05 10:11:53 +00:00
Mark Fisher
4b64978bdd Renamed MethodInvokingSource to MethodInvokingMessageSource. 2008-11-03 15:45:46 +00:00
Mark Fisher
ef1b7fe54b Moved classes from 'consumer' package to 'handler'. 2008-11-03 15:06:45 +00:00
Mark Fisher
515ed698a6 Renamed SubscribingConsumerEndpoint to EventDrivenConsumer. 2008-11-03 14:41:53 +00:00
Mark Fisher
3e2d09e5d7 Renamed PollingConsumerEndpoint to PollingConsumer. 2008-11-03 14:32:02 +00:00
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