Commit Graph

60 Commits

Author SHA1 Message Date
Mark Fisher
cfb0d7e2fd Added 'taskAdviceChain' and 'dispatchAdviceChain' to PollingSourceEndpoint. 2008-04-24 19:57:27 +00:00
Mark Fisher
5eb87c218e MailTargetAdapter is now MailTarget. 2008-04-24 00:08:28 +00:00
Mark Fisher
ce6f3dbff5 FileTargetAdapter is now FileTarget, and FileSourceAdapterParser is now FileSourceParser. 2008-04-24 00:00:41 +00:00
Mark Fisher
cdab301ef2 Renamed ApplicationEventSourceAdapter to ApplicationEventSource and ApplicationEventTargetAdapter to ApplicationEventTarget. 2008-04-23 23:54:20 +00:00
Mark Fisher
4d19a02f15 Added PollingSourceEndpoint, removed PollingSourceAdapter, and source-adapter parsers only parse the Source itself. 2008-04-23 23:47:02 +00:00
Mark Fisher
94fa8675ca Errors during MessageHeader mapping are no longer fatal. Logging at WARN level (INT-206). 2008-04-22 22:56:54 +00:00
Mark Fisher
bf0f8b16ec SimpleChannel is now QueueChannel. Also added RendezvousChannel for the zero-capacity SynchronousQueue-based version. 2008-04-22 20:26:19 +00:00
Mark Fisher
3d63406053 MessageBus now registers endpoints and source adapters (and starts if its autoStartup property is set to "true") after receiving a ContextRefreshedEvent rather than the excessively eager start during the 'setApplicationContext' callback (INT-196). 2008-04-22 16:56:27 +00:00
Mark Fisher
d30f3230b0 Simplified Message dispatching. Removed MessageRetriever and MessageDistributor (and the "default" implementations). Added SimpleDispatcher and PollingDispatcher. Added the SubscribableSource interface and a SubscriptionManager to simplify the coordination of dispatchers within the MessageBus. These changes also lay the groundwork for further refactoring of the various Source and SourceAdapter implementations. 2008-04-18 21:26:31 +00:00
Mark Fisher
0bd9ea9255 TargetEndpoint now returns false when one of its MessageSelectors rejects a Message rather than throwing an Exception. Added Source, BlockingSource, and BlockingTarget interfaces. MessageChannel now extends BlockingSource and BlockingTarget. 2008-04-17 21:06:14 +00:00
Mark Fisher
0f6bd60ee0 Added Target interface and split DefaultMessageEndpoint into TargetEndpoint and HandlerEndpoint. All "one-way" adapters now implement Target instead of MessageHandler, the ConcurrentHandler is now ConcurrentTarget, and the MessageDispatcher also operates on Targets rather than MessageHandlers. 2008-04-17 17:25:56 +00:00
Mark Fisher
a0072b3e66 DefaultMessageEndpoint constructor now requires a MessageHandler. The endpoint no longer invokes Lifecycle methods on the MessageHandler. 2008-04-16 19:14:26 +00:00
Mark Fisher
b5e01b447a Providing better separation between PollableSource and PollingSourceAdapter (work in progress). 2008-04-16 16:31:24 +00:00
Mark Fisher
87e5edb0dc PollingSourceAdapter does schedule tasks when connected to a SynchronousChannel (INT-187). 2008-04-11 12:18:03 +00:00
Mark Fisher
64d46f7e67 When a PollableSourceAdapter has a SynchronousChannel, it now registers its source with that channel (and does not start any tasks with the scheduler). This is a temporary implementation of this feature likely to be handled differently after continued source refactoring. 2008-04-11 04:33:26 +00:00
Mark Fisher
ec08c33d99 JmsMessageDrivenSourceAdapter no longer extends AbstractSourceAdapter. It also now properly allows for configuration of a non-default AbstractMessageListenerContainer instance. 2008-04-11 00:33:24 +00:00
Mark Fisher
069e7672e3 PollableSource now returns a Message rather than an Object from poll(). Now PollableSource implementations may use a MessageMapper, but the "source adapter" no longer does. 2008-04-10 21:40:41 +00:00
Mark Fisher
63680cd570 Added mapping for JMSRedlivered flag on inbound JMS Message. 2008-04-10 17:10:32 +00:00
Mark Fisher
e5b2a2a9aa Added timeout to receive calls. 2008-04-10 11:34:52 +00:00
Mark Fisher
6e30173509 PollableSource no longer accepts a "limit" argument in its poll() method (INT-181). 2008-04-09 16:33:16 +00:00
Mark Fisher
fec6dec258 MessageHandlingException and MessageDeliveryException now require the failed/undelivered Message as a constructor argument. 2008-04-09 00:18:56 +00:00
Mark Fisher
a6392bd142 Updated Import-Package and Export-Package for each MANIFEST.MF (INT-166). 2008-04-07 15:22:04 +00:00
Mark Fisher
d54c9347cd Added optional 'charsetName' arguments for the stdout and stderr adapter factory methods. 2008-04-03 01:17:40 +00:00
Mark Fisher
f9834daa15 CharacterStreamSourceAdapter now takes a Reader, and CharacterStreamTargetAdapter takes a Writer (INT-148). 2008-04-03 00:21:04 +00:00
Mark Fisher
945d3606d0 Added "Bundle-Name" to MANIFEST.MF files (INT-165). 2008-04-02 16:14:00 +00:00
Mark Fisher
6e845339ad Committing the initial version of the FTP source adapter (INT-153). 2008-04-01 01:38:51 +00:00
Mark Fisher
c55756ab55 JMS source and target adapters now consider "connectionFactory" as a default bean name (INT-161). 2008-03-31 17:15:42 +00:00
Mark Fisher
f59d9e1bb0 Added 'registry-host', 'registry-port', and 'remote-invocation-executor' attributes to the 'rmi-source' element, and added 'port' attribute to the 'rmi-target' element. 2008-03-29 20:40:48 +00:00
Mark Fisher
9ecf421bc5 Added namespace support for <httpinvoker-source/> and <httpinvoker-target/> (INT-156). 2008-03-20 16:47:25 +00:00
Mark Fisher
5e7141959d Mapping JMS attributes to MessageHeader in source adapters (INT-150). Also provided new strategy interface (MessageHeaderMapper) and a HeaderMappingMessageConverter that wraps an existing MessageConverter implementation. Factored out common configuration code from JmsPollingSourceAdapter and JmsTargetAdapter into AbstractJmsTemplateBasedAdapter. The JMS attribute keys are now defined in JmsAttributeKeys, and a similar class (MailAttributeKeys) is used for MailMessages. 2008-03-19 23:53:49 +00:00
Mark Fisher
183159139b Extended Javadoc with configuration examples for HttpInvokerSourceAdapter. 2008-03-18 22:50:31 +00:00
Mark Fisher
02f159dc61 Added HttpInvokerTargetAdapter (INT-93). 2008-03-18 22:31:57 +00:00
Mark Fisher
cfa6ff79a7 Added HttpInvokerSourceAdapter (INT-92). 2008-03-18 20:52:27 +00:00
Mark Fisher
4b067668d4 Changed junit's "org" attribute back to "org.junit" temporarily since ivy repository needs to be updated first (INT-149). 2008-03-16 15:10:16 +00:00
Mark Fisher
621522b167 Changed junit's "org" attribute from "org.junit" to "junit" in ivy.xml files (INT-149). 2008-03-16 15:04:59 +00:00
Mark Fisher
9f66c37b4c Factored out common remoting-based source adapter behavior into AbstractMessageHandlingSourceAdapter. 2008-03-07 23:48:13 +00:00
Mark Fisher
d723fc6e24 Added tests for RmiSourceAdapterParser and RmiTargetAdapterParser. Also, the <rmi-source/> element now accepts 'send-timeout' and 'receive-timeout' attributes. 2008-03-07 20:37:28 +00:00
Mark Fisher
5191432a8f Added RmiSourceAdapter, RmiTargetAdapter, RmiSourceAdapterParser, and RmiTargetAdapterParser (INT-59, INT-60, and INT-146). 2008-03-07 19:33:36 +00:00
Mark Fisher
4251295a83 Added the (optional) 'header-generator' attribute for the <mail-target/> element (INT-145). 2008-03-07 13:34:27 +00:00
Mark Fisher
c71412d6d5 Added tests for MailTargetAdapterParser. Also, adjusted ApplicationEvent adapter tests to have an explicit context.stop() call rather than relying on context.close() for the stop event (after 2.5.2 upgrade). 2008-03-06 20:20:10 +00:00
Mark Fisher
b27297ef33 Upgrading Spring dependencies to 2.5.2. 2008-03-06 20:08:23 +00:00
Mark Fisher
b536d69f0e Added MailTargetAdapterParser (INT-132). 2008-03-06 19:17:34 +00:00
Mark Fisher
9b0adceaec The mailSender is now a <constructor-arg/> rather than <property/>. 2008-03-05 22:02:52 +00:00
Mark Fisher
f1c0b169fb Added DefaultMailHeaderGenerator (INT-142). 2008-03-05 21:55:35 +00:00
Mark Fisher
e3a018fa74 FileSource now only passes results that are actual files (not directories). 2008-03-04 18:08:43 +00:00
Ben Hale
8ea36fa4f3 Updated to have a default package target for document projects 2008-02-27 14:02:35 +00:00
Mark Fisher
c90100aa9d Added initial versions of MANIFEST.MF files with Import-Package and Export-Package. 2008-02-27 04:18:58 +00:00
Mark Fisher
84e1b1df08 Added spring-integration-1.0.xsd alongside spring-integration-adapters-1.0.xsd. Renamed the previous spring-integration-1.0.xsd to spring-integration-core-1.0.xsd. 2008-02-27 03:21:54 +00:00
Mark Fisher
4f3076caec Added MailTargetAdapterContextTests. 2008-02-26 16:42:52 +00:00
Mark Fisher
38a5996298 Added MailTargetAdapter and associated support classes (INT-107). 2008-02-26 16:20:41 +00:00