Commit Graph

7448 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
Jonas Partner
f4e92104aa fixed some warnings 2008-11-17 20:10:56 +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
Iwein Fuld
304afa1e38 IN PROGRESS - issue INT-472: Concurrency issue in FileReadingMessageSource
http://jira.springframework.org/browse/INT-472

removed removeAll call to prevent iteration over the 'toBeDelivered' queue.
2008-11-16 10:34:37 +00:00
Mark Fisher
19b4557d63 Added documentation for SimpleMessagingGateway and GatewayProxyFactoryBean (INT-458). 2008-11-14 02:08:45 +00:00
Mark Fisher
0e1201e86b Replaced the 'message-bus' thread name reference with 'task-scheduler' 2008-11-14 01:36:41 +00:00
Mark Fisher
afce62c995 Updated the Message Bus configuration documentation 2008-11-14 01:35:04 +00:00
Mark Fisher
3c0775e73d Updated sample overview for RC2 2008-11-14 01:17:17 +00:00
Mark Fisher
aded1d56df Added discussion of the inbound Mail support (INT-459) 2008-11-14 01:03:07 +00:00
Mark Fisher
42f21f3d6e Added documentation for filter (INT-456). 2008-11-14 00:25:31 +00:00
Mark Fisher
cafdec3fb3 Updated title page of ref doc for RC2 2008-11-13 23:40:14 +00:00
Mark Fisher
25c0d1fb9d Updated changelog.txt and readme.txt for RC2 2008-11-13 23:38:15 +00:00
Mark Fisher
91638c78e2 Added support for the 'extractPayload' property for both JMS inbound and outbound Channel Adapters. This includes support for the "extract-payload" attribute in their respective XML elements in the "jms" namespace (INT-460). 2008-11-13 23:01:54 +00:00
Jonas Partner
14ef15af8f remove unused proxy 2008-11-13 22:25:05 +00:00
Mark Fisher
ce99675340 Added the headerMapper, extractRequestPayload, and extractReplyPayload properties to JmsOutboundGateway. Also added the corresponding namespace support with 'header-mapper', 'extract-request-payload', and 'extract-reply-payload' attributes for the 'jms:outbound-gateway' element. This work is related to INT-368, INT-460, and INT-467. 2008-11-13 22:14:49 +00:00
Jonas Partner
f8aff7d281 2008-11-13 22:11:07 +00:00
Mark Fisher
6a77b2b642 Factored out the MessageListener implementation into a separate inner class. 2008-11-13 21:37:26 +00:00
Mark Fisher
e2e98d8c2c The 'extract-payload-for-reply' attribute for a JMS inbound-gateway is now 'extract-reply-payload'. The 'extract-request-payload' attribute has also been added. Both have default values of TRUE (the default for 'extract-reply-payload' had been FALSE). This work is related to INT-368, INT-460, and INT-467. 2008-11-13 21:22:40 +00:00
Jonas Partner
b730a0ddc5 added namespace support for setting resolution required attribute and providing a custom ChannelResolver
SingleChannelRouter also now returns null when the xpath expression evaluates to empty String
INT-360
2008-11-13 20:14:56 +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
0da19e9b66 Removed dependency on the MessageEndpoint interface. 2008-11-13 02:08:52 +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
f5bbea66f9 INT-469 2008-11-13 01:35:17 +00:00
Mark Fisher
618282db91 Removed extra request channel settings in test class. 2008-11-13 01:16:58 +00:00
Mark Fisher
37e47f6510 Added support for the 'receive-timeout' on the JMS 'outbound-gateway' element. 2008-11-13 00:54:28 +00:00
Mark Fisher
5673edddcd INT-468 2008-11-13 00:37:08 +00:00
Mark Fisher
53a398add4 Updated JMS samples for 'outbound-gateway' element change (the 'jms-queue' attribute is now 'request-destination'). 2008-11-13 00:14:12 +00:00
Mark Fisher
34f8cee5b0 Refactored JmsOutboundGateway so that a 'replyDestination' may be set. If none is provided, it will create a TemporaryQueue per invocation (INT-466). 2008-11-12 23:58:01 +00:00
Mark Fisher
482465ff95 Added constructor for message and cause. 2008-11-12 21:50:18 +00:00
Mark Fisher
f54b27bd7b INT-302 2008-11-12 17:39:52 +00:00
Mark Fisher
c68f54df9e INT-302 2008-11-12 17:19:48 +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
76834d94ee Removed empty package 2008-11-12 01:54:07 +00:00