Commit Graph

531 Commits

Author SHA1 Message Date
Mark Fisher
4e9d1178da AbstractEndpoint now has a channelResolver property (initialized in the setBeanFactory(..) method), and therefore the GatewayProxyFactoryBean is no longer BeanFactoryAware directly (inherits from AbstractEndpoint). 2008-11-12 02:10:20 +00:00
Mark Fisher
6771eaea23 The 'enable-annotations' element is now <annotation-config/>. 2008-11-11 23:35:12 +00:00
Mark Fisher
16dfec6601 INT-462 2008-11-11 23:13:24 +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
Mark Fisher
11af44fe43 Moved the MessagingGateway interface from the 'endpoint' package to the 'gateway' package. 2008-11-10 15:48:05 +00:00
Mark Fisher
76a20e57d0 SourcePollingChannelAdapter no longer implements BeanNameAware since it inherits that implementation from AbstractEndpoint already. 2008-11-07 16:54:29 +00:00
Mark Fisher
f543f1430e Adding tool annotations to schema (INT-114). 2008-11-07 16:41:41 +00:00
Mark Fisher
e8bb6d1f69 Relaxing XSD types for attribute values (part of INT-302). 2008-11-06 21:00:56 +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
96fbfa221b Renamed AbstractConsumerFactoryBean to AbstractMessageHandlerFactoryBean. 2008-11-03 14:54:53 +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
90dcb7e88b Renamed AbstractMessageProducingEndpoint to MessageProducerSupport. 2008-11-03 11:52:30 +00:00
Mark Fisher
9be19cfd93 Updated CronSequenceGenerator and added more tests. 2008-11-03 02:46:04 +00:00
Mark Fisher
e375776811 Setting the TaskExecutor prior to calling afterPropertiesSet(). 2008-11-02 23:23:07 +00:00
Mark Fisher
654da47b20 Removed endpoints Set instance variable (always loading from beanFactory). 2008-11-02 22:39:31 +00:00
Mark Fisher
da0d975ff0 Removed MessageProducer interface. 2008-11-02 19:27:31 +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
Mark Fisher
fcef6c078e Moved 'outputChannel' configuration into each implementation instead of AbstractMethodAnnotationPostProcessor. 2008-11-01 15:34:21 +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
14d892e044 Removed the registerEndpoint method from MessageBus. 2008-10-31 21:21:42 +00:00
Mark Fisher
c4ba251b57 GatewayProxyFactoryBean now implements Lifecycle and manages the lifecycle of its gateway map. 2008-10-31 21:20:31 +00:00
Mark Fisher
18bc987e26 AbstractMessagingGateway now provides the TaskScheduler to its replyMessageCorrelator and manages its Lifecycle rather than delegating to MessageBus. 2008-10-31 21:19:09 +00:00
Mark Fisher
b3b346e175 MessagingAnnotationPostProcessor now depends on the Lifeycle interface rather than the MessageBus. It starts any endpoints that it creates itself rather than calling bus.registerEndpoint(). 2008-10-31 21:16:12 +00:00
Mark Fisher
5e5562e180 TaskScheduler bean name is now public (will likely move to a different class though). 2008-10-31 21:10:59 +00:00
Mark Fisher
380eb3baa1 removed 'lookupEndpoint' method 2008-10-31 17:33:33 +00:00
Mark Fisher
101f4717a2 deactivateEndpoint is now private 2008-10-31 17:22:50 +00:00
Mark Fisher
90f115eb91 fixed typo in inner class name 2008-10-31 15:55:52 +00:00
Mark Fisher
8f4d481ab2 No longer subtracting 1 from the max value in getRange(). 2008-10-31 14:29:05 +00:00
Iwein Fuld
cc9e98255e IN PROGRESS - issue INT-443: add javadoc to TaskScheduler.schedule
http://jira.springframework.org/browse/INT-443
2008-10-30 14:04:44 +00:00
Jonas Partner
1ca740ab8b simplified so Runnable is wrapped not proxied 2008-10-29 15:08:26 +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
fad389fd2e INT-438 2008-10-27 14:38:25 +00:00
Iwein Fuld
fddd8792d5 removed TODO, added constant for task executor bean name 2008-10-21 20:13:48 +00:00
Iwein Fuld
09fbae826d resolved BitSet todo and added hamcrest to .classpath again 2008-10-21 09:36:18 +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
df8bf6ed8f Removed DefaultErrorChannel. 2008-10-20 15:52: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
7124894646 MessagePublishingErrorHandler is now BeanFactoryAware and therefore capable of creating a default BeanFactoryChannelResolver. 2008-10-20 13:45:43 +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
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