Commit Graph

6614 Commits

Author SHA1 Message Date
Mark Fisher
3a7144d8d6 JmsInboundGateway now delegates to a MessageListener or SessionAwareMessageListener instance. The 'jms:inbound-gateway' parser now configures an instance of ChannelPublishingJmsMessageListener (part of INT-477 and INT-482). 2008-11-20 17:34:15 +00:00
Mark Fisher
92f13c8517 Initial commit of the new ChannelPublishingJmsMessageListener (part of INT-477 and INT-482). 2008-11-20 16:48:14 +00:00
Mark Fisher
e88d69529c Removed 'jms-template' attribute from elements where it should not be used. 2008-11-20 16:37:05 +00:00
Mark Fisher
da45a1a925 Removed unused ChannelPublishingJmsListener. 2008-11-20 16:36:11 +00:00
Mark Fisher
b4178d3740 Initial commit of MessageHandlerChain (INT-391). 2008-11-20 15:04:44 +00:00
Mark Fisher
3e0ca28288 Added namespace support for the 'pub-sub-domain' attribute for both JmsInboundGateway and JmsOutboundGateway (INT-482). This is most likely an interim step while refactoring continues with the ultimate goal of providing a clearer separation between the MessageListener container and MessageListener implementation. This will also be relevant for INT-477. 2008-11-20 14:18:17 +00:00
Mark Fisher
17a93b64c0 Added 'pubSubDomain' property to JmsOutboundGateway. 2008-11-20 14:14:11 +00:00
Mark Fisher
24f3251b67 Added 'pubSubDomain' property to JmsInboundGateway. 2008-11-20 14:12:48 +00:00
Mark Fisher
f481b010b2 Renamed inner class from TemporaryReturnAddress to TemporaryReplyChannel since the Message header name is now 'replyChannel'. 2008-11-19 21:52:07 +00:00
Mark Fisher
13d12557e5 Added protected getBeanName() for subclass access. 2008-11-19 21:47:47 +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
7badd53b9f INT-481 2008-11-19 17:37:39 +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
41460e63be INT-480 2008-11-19 14:26:47 +00:00
Mark Fisher
1e1b2ce9b8 Triggers are now created as BeanDefinitions so that property placeholder values will be applied when parsing with the namespace support (INT-359). 2008-11-18 22:04:39 +00:00
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