Commit Graph

639 Commits

Author SHA1 Message Date
Mark Fisher
5c752a86ec MessageMappingMethodInvoker no longer implements MethodInvoker (simplified - since it always requires a single Message arg). 2008-11-18 20:43:07 +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
0859124aba Added 'getCandidateHandlerMethods()' to HandlerMethodUtils. 2008-11-18 18:45:47 +00:00
Mark Fisher
637e124add Added StaticHandlerMethodResolver. 2008-11-18 17:30:52 +00:00
Mark Fisher
24afbf6059 Added HandlerMethodUtils. 2008-11-18 17:10:35 +00:00
Mark Fisher
709b488622 Added the HandlerMethodResolver strategy interface. 2008-11-18 16:55:46 +00:00
Mark Fisher
bd16a126c4 Moved MessageMappingMethodInvoker to the 'handler' package instead of 'message'. 2008-11-17 21:48:07 +00:00
Mark Fisher
82b1922ac9 Moved annotation-based method resolution into the MessageMappingMethodInvoker instead of the individual handler types (ServiceActivatingHandler, MethodInvokingRouter, and MethodInvokingSplitter). 2008-11-17 20:19:07 +00:00
Mark Fisher
e3ae9f6a0f GenericMessage's payload is now 'final'. 2008-11-17 19:32:36 +00:00
Mark Fisher
6a4a246e31 JmsOutboundGateway now throws a MessageTimeoutException in case a JMS reply Message is not received within the alloted timeout. The null object is no longer passed to the MessageConverter where a misleading Exception ("payload must not be null") was being thrown (INT-479). 2008-11-17 17:07:11 +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
6b468da46d Removed the LifeycleSupport base class. SimpleTaskScheduler and AbstractEndpoint now provide their own Lifecycle implementations. Added an IntegrationObjectSupport class with convenient access to the 'channelResolver' and 'taskScheduler' instances. 2008-11-13 17:49:13 +00:00
Mark Fisher
6c554f929d Added namespace support for 'auto-startup' on endpoints (INT-463). 2008-11-13 16:15:38 +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
ab13665033 Relying on SpringTransactionAnnotationParser. Spring 2.5.6 added support for parsing the Transactional annotation directly rather than requiring an AnnotatedElement. 2008-11-13 01:52:13 +00:00
Mark Fisher
482465ff95 Added constructor for message and cause. 2008-11-12 21:50:18 +00:00
Mark Fisher
9e7d631a72 INT-302 2008-11-12 17:05:10 +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
3a3ac1c298 Removed the check for "UNBOUNDED" String in the channel parser. 2008-11-12 16:53:28 +00:00
Mark Fisher
fb52ef630c INT-465 2008-11-12 15:57:11 +00:00
Mark Fisher
b34c2488c7 Changed MessageHeaders non-serializable log message to INFO-level (instead of WARN). 2008-11-12 14:30:29 +00:00
Mark Fisher
cc51f68993 PoolExecutorParser is now ThreadPoolTaskExecutorParser, and the IntegrationContextUtils 'createTaskExecutor' method is now 'createThreadPoolTaskExecutor'. 2008-11-12 02:17:03 +00:00
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
818226069f Added tests for explicitly defined TaskScheduler. 2008-11-11 23:20:09 +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
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
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
Jonas Partner
bbfdf3bcf8 latch count down in wrong place 2008-11-02 16:31:46 +00:00
Mark Fisher
8279cce04d Upgraded dependencies to Spring 2.5.6 (INT-446). 2008-11-02 16:12:07 +00:00