Commit Graph

54 Commits

Author SHA1 Message Date
Mark Fisher
18d03ae2d7 Added support for the 'expect-reply' attribute in JmsGatewayParser. SimpleMessagingGateway now returns void instead of boolean, but it throws a MessageDeliveryException if the underlying RequestReplyTemplate fails to send the Message to the request channel. 2008-05-14 14:38:58 +00:00
Mark Fisher
2b8b4f5a7e Added 'append-newline' attribute to <console-target/> (INT-214), and the <jms-gateway/> element's 'expect-reply' attribute is now FALSE by default (same as JmsGateway itself). 2008-05-14 14:25:44 +00:00
Mark Fisher
28d2a98d66 Added support for 'append-newline' to the <console-target/> element (INT-214). 2008-05-14 14:08:56 +00:00
Mark Fisher
c59004c841 Updated import after renaming MessagingGateway to SimpleMessagingGateway. 2008-05-14 13:29:56 +00:00
Mark Fisher
b2562992da JmsPollableSource is now JmsSource, and JmsMessageDrivenSourceAdapter is now JmsGateway. 2008-05-03 22:38:56 +00:00
Mark Fisher
4c0c3677d0 The <jms-gateway/> element is now available for message-driven JMS adapters. The <jms-source/> is strictly for polling adapters. Provided basic foundation for converting other request-reply adapters into "gateways". This includes the following namespace changes: 'send-timeout' is now 'request-timeout', 'receive-timeout' is now 'reply-timeout', and the 'channel' element is now 'request-channel'. The Source interface now includes the receive() method itself. PollableSource and SubscribableSource interfaces have both been removed. The Subscribable interface was added (e.g. for SynchronousChannel), but "gateway" adapter types will be configured directly with a request channel (and optionally a response channel). 2008-05-03 22:23:40 +00:00
Mark Fisher
78905d9bcb Added MessagingGateway as a subclass of RequestReplyTemplate that is also a superclass for the GatewayProxyFactoryBean. 2008-05-01 13:09:11 +00:00
Mark Fisher
15ead1c3ad JmsTargetAdapter is now JmsTarget. JmsTargetParser (f.k.a. JmsTargetAdapterParser) no longer creates the endpoint (just the target). 2008-04-29 21:20:30 +00:00
Mark Fisher
a263ad4451 ByteStreamTargetAdapter is now ByteStreamTarget. CharacterStreamTargetAdapter is now CharacterStreamTarget. 2008-04-29 16:12:03 +00:00
Mark Fisher
491bcf7cb1 MailTargetAdapter is now MailTarget. MailTargetParser (f.k.a. MailTargetAdapterParser) no longer creates the endpoint (just the target). 2008-04-29 12:25:45 +00:00
Mark Fisher
746031668b FileTargetAdapterParser is now FileTargetParser. 2008-04-29 03:49:17 +00:00
Mark Fisher
b85d38641c Added support for <console-source/> and <console-target/> elements. 2008-04-28 22:12:12 +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
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
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
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
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
b536d69f0e Added MailTargetAdapterParser (INT-132). 2008-03-06 19:17:34 +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
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
38a5996298 Added MailTargetAdapter and associated support classes (INT-107). 2008-02-26 16:20:41 +00:00
Mark Fisher
96ef57d36f Added configurable acknowledge modes for JmsMessageDrivenSourceAdapter (INT-124). 2008-02-22 00:16:34 +00:00