Commit Graph

136 Commits

Author SHA1 Message Date
Mark Fisher
a07f031300 Added initial version of RequestReplyTemplate (INT-86). 2008-02-20 15:30:41 +00:00
Mark Fisher
d9d15cab76 Simplified the task scheduler configuration and exposed setters/constructors for ScheduledExecutorService (INT-113). 2008-02-18 22:58:45 +00:00
Mark Fisher
69b13fc3bf The MessageHeader now has a single Object-typed 'returnAddress' property rather than both 'replyChannel' and 'replyChannelName'. This also removes a package cycle between 'message' and 'channel' (part of INT-112). 2008-02-18 20:38:33 +00:00
Mark Fisher
61c4aad672 Moved RouterMessageHandlerCreator and SplitterMessageHandlerCreator from 'handler.config' to 'router.config' (part of INT-112). 2008-02-18 18:21:48 +00:00
Mark Fisher
35a09ac5c2 Moved DispatcherPolicy into the 'channel' package (part of INT-112). 2008-02-18 18:15:07 +00:00
Mark Fisher
3719c32a0f Moved ConcurrentHandler into the 'endpoint' package and moved MessageDeliveryException/MessageHandlingException into the 'message' package (part of INT-112). 2008-02-18 18:05:49 +00:00
Mark Fisher
0b5013939e Refactored ConcurrentHandler to accept a preconfigured ExecutorService rather than creating one from the ConcurrencyPolicy. 2008-02-18 17:46:23 +00:00
Mark Fisher
ea2f90b5c8 Moved Subscription from 'bus' to 'scheduling' package. 2008-02-18 15:58:23 +00:00
Mark Fisher
d1ed700380 Using java.util.UUID and default strategy is: UUID.randomUUUID() (INT-111). 2008-02-18 14:08:15 +00:00
Mark Fisher
3ae8672618 Added 'message-converter' attribute for <jms-source> when creating a JmsMessageDrivenSourceAdapter (INT-102). 2008-02-13 15:56:11 +00:00
Mark Fisher
ecce093f6e Added 'autoStartup' to message-bus (INT-101), 'initialDelay' and 'fixedRate' attributes for @Polled (INT-100), <handler-chain> element (INT-58), <selector> sub-element (INT-102), and <interceptor> sub-element (INT-106). 2008-02-13 08:08:26 +00:00
Mark Fisher
405311d9b9 Refactored DefaultMessageDispatcher to delegate to MessageDistributor with logic previously in the DispatcherTask. The DispatcherTask is now an inner class of DefaultMessageDispatcher. Also added ChannelPurger (INT-105), MessageSelectingInterceptor (INT-98), and support for "datatype channels" (INT-99). 2008-02-10 00:06:09 +00:00
Mark Fisher
65abee9eb6 JmsTargetAdapter now passes any JMS attributes from the Spring Integration MessageHeader to the JMS Message prior to sending to its Destination (INT-97). JmsTargetAdapter also supports the 'destinationName' property now in addition to 'destination'. The 'jms-target' element accepts a 'destination-name' attribute as well (INT-96). 2008-02-05 00:09:40 +00:00
Mark Fisher
76c19438ff Added Aggregator, AggregatingMessageHandler, RoutingBarrier, RoutingBarrierCompletionStrategy, and related classes. 2008-02-04 19:15:57 +00:00
Mark Fisher
753a67b8a4 Added the 'replyChannel' property to MessageHeader. It takes precedence over the 'replyChannelName' when DefaultMessageEndpoint resolves the channel for reply Messages. 2008-01-31 23:14:47 +00:00
Mark Fisher
1f5e7b5756 SimpleChannel now creates a SynchronousQueue if the capacity is less than or equal to 0. SplitterMessageHandlerAdapter exposes a configurable 'sendTimeout' property. 2008-01-31 22:04:35 +00:00
Mark Fisher
e3f7bf4681 Added 'clear()' and 'purge()' methods to channel and added 'isExpired()' method to Message. 2008-01-31 18:30:21 +00:00
Mark Fisher
472aa0f436 Added basic ChannelInterceptor functionality and 'unregister' method for ChannelRegistry. 2008-01-31 16:11:02 +00:00
Mark Fisher
269055f439 Setting sessionTransacted to 'true' for the JmsMessageDrivenSourceAdapter (and minor updates in cafe sample). 2008-01-23 08:51:18 +00:00
Mark Fisher
b258239e08 Added Cafe demo to spring-integration-samples 2008-01-23 04:13:39 +00:00
Mark Fisher
1517132465 Extended test coverage 2008-01-23 01:50:21 +00:00
Mark Fisher
104e8c3ddb ChannelParser always uses 2-argument constructor now to avoid potential "related error" messages in the log following a NoSuchBeanDefinitionException. 2008-01-22 21:18:14 +00:00
Mark Fisher
c8c843e294 Extended RouterMessageHandlerAdapterTests 2008-01-22 14:47:18 +00:00
Mark Fisher
55283444da The 'channel' element now requires an 'id'. 2008-01-22 00:52:07 +00:00
Mark Fisher
89e990f661 DefaultMessageEndpoint now provides a ReplyHandler callback for ConcurrentHandlers. 2008-01-21 16:34:20 +00:00
Mark Fisher
35b098b164 Added 'queueCapacity' and 'keepAliveSeconds' properties to ConcurrencyPolicy. Refactored DefaultMessageEndpoint and ConcurrentHandler to delegate to ConcurrencyPolicy and avoid duplication of concurrency properties. Added namespace support for 'dispatcher-policy' as a sub-element of 'channel', and also added namespace support for the new concurrency properties. 2008-01-20 20:03:54 +00:00
Mark Fisher
945bc9511f ConcurrentHandler and DefaultMessageEndpoint now propagate rejection exceptions so that DispatcherTask has proper retry behavior, and PollingSchedule now implements equals and hashCode so that the handler map keys are recognized (handlers are added to the same task if they have the same schedule). 2008-01-19 21:00:44 +00:00
Mark Fisher
5f067925a9 Removed DispatcherTask constructor for ChannelPollingMessageRetriever - it will always be created for the provided MessageChannel. 2008-01-19 19:32:03 +00:00
Mark Fisher
b8aa69e1b5 Moved dispatcher policy into channel - simplified MessageBus, DefaultMessageDispatcher, and DispatcherTask. 2008-01-19 19:26:06 +00:00
Mark Fisher
6bee7a9997 Added 'dispatcher-pool-size' attribute to the 'message-bus' element, and fixed namespace support for 'schedule' and 'concurrency' on endpoints. 2008-01-19 01:43:55 +00:00
Mark Fisher
eaeefd4eb1 Adjusted test timing. 2008-01-18 17:36:36 +00:00
Mark Fisher
3a53c35f0b Refactored so that endpoint is reponsible for managing ConcurrentHandlers rather than dispatchers having that responsibility. Also providing errorHandler for endpoints. That errorHandler is also used for asynchronous handler task execution. 2008-01-17 21:42:51 +00:00
Mark Fisher
a1614c4e3a Simplifications and counting changes for DefaultMessageDispatcherTests. 2008-01-17 17:49:51 +00:00
Mark Fisher
9b367c14ad Simplifications 2008-01-17 04:50:42 +00:00
Mark Fisher
8225cb1405 Added timestamp and methods to retrieve attribute and property names. 2008-01-16 22:09:54 +00:00
Mark Fisher
2ffae06824 Renamed 'invalidMessageChannel' to 'errorChannel' 2008-01-16 16:38:14 +00:00
Mark Fisher
22386aabb7 Added MessageParserTests 2008-01-16 16:20:50 +00:00
Mark Fisher
40182cb07b Added ByteStreamTargetAdapter 2008-01-16 14:46:29 +00:00
Mark Fisher
2121dd5f7f Renamed 'broadcaster' property to 'publishSubscribe'. 2008-01-16 03:39:52 +00:00
Mark Fisher
45d1332659 Added namespace support for publish-subscribe channel. 2008-01-16 03:21:50 +00:00
Mark Fisher
80e785f70e Added broadcaster property to channel parser. 2008-01-16 01:53:17 +00:00
Mark Fisher
6d23f6a64c Exposed setter for messagingTaskScheduler. 2008-01-16 01:34:31 +00:00
Mark Fisher
cc2bd24b8a Fixed JmsTargetAdapterParser after changes to TargetAdapter (now a handler wrapped in endpoint) 2008-01-15 23:21:00 +00:00
Mark Fisher
9014cae6cc Fixed FileTargetAdapterParser after changes to TargetAdapter (now a handler wrapped in endpoint) 2008-01-15 22:50:30 +00:00
Mark Fisher
517eb654f3 Enabled auto-create for endpoint's defaultOutputChannel if necessary, and modified the EndpointParser to use channel names instead of RuntimeBeanReference. 2008-01-15 22:14:02 +00:00
Mark Fisher
6cd1e7be7c Added channel reference to Subscription and refactored/simplified TargetAdapter (implements MessageHandler). 2008-01-15 21:57:12 +00:00
Mark Fisher
0a273b016c Moved PooledMessageHandler to the handler package. 2008-01-14 20:41:53 +00:00
Mark Fisher
aa0930a43a Message bus doActivate(..) only calls start() on dispatcher if it's not already running. 2008-01-14 19:49:38 +00:00
Mark Fisher
2b29791fde Major refactoring of message bus, scheduling, and dispatching. 2008-01-14 19:41:48 +00:00
Mark Fisher
9737b329dc Added messaging task scheduler abstraction. 2008-01-13 18:44:30 +00:00