Commit Graph

3184 Commits

Author SHA1 Message Date
Jonas Partner
df079b1206 specify version of com.sun.mail.imap in template.mf 2008-07-29 11:10:08 +00:00
Jonas Partner
bc53a4ed8e add in idle call 2008-07-29 11:04:03 +00:00
Jonas Partner
bb56220236 updated to use Java Mail 1.4.1 which has IMAP idle support 2008-07-29 10:55:17 +00:00
Jonas Partner
e6302ffff8 part of INT-261 adding polling support for IMAP and POP3 mailboxes based on the strategies implemented in Spring WS 2008-07-29 10:03:51 +00:00
Mark Fisher
57117efe41 Removed EndpointPolicy interface. 2008-07-29 02:32:39 +00:00
Mark Fisher
654a626419 Added MessageExchangeTemplate, AsyncMessageExchangeTemplate, and AsyncMessage. Removed Poller, SimplePoller, DefaultEndpointPoller, SourceInvoker, and TargetInvoker. 2008-07-28 23:42:50 +00:00
Mark Fisher
0ecda21ea2 HandlerEndpoint now accepts any MessageTarget as a 'returnAddress' rather than expecting a channel or channel-name. 2008-07-28 18:26:59 +00:00
Iwein Fuld
b23e9b43f2 added easymock dependency to org.springframework.integration.adapter 2008-07-25 08:58:20 +00:00
Iwein Fuld
8932a56a18 added spring-test dependency to org.springframework.integration 2008-07-25 08:57:20 +00:00
Iwein Fuld
d257edf44e dispatcher tests added 2008-07-24 13:29:57 +00:00
Mark Fisher
f69dc4572c Removed the 'messageCreator' instance (it exists in the parent class: AbstractDirectorySource) and the 'setMessageCreator' method (INT-312). 2008-07-23 12:18:26 +00:00
Mark Fisher
a85f556bb8 Replaced <handler-endpoint/> with <service-activator/> in demos. 2008-07-19 03:31:11 +00:00
Mark Fisher
71dd2f2e80 Removed support for <handler-endpoint/> (replaced by <service-activator/>). 2008-07-19 03:23:23 +00:00
Mark Fisher
fcc5d56f81 Removed ReplyHandler. 2008-07-19 03:09:23 +00:00
Mark Fisher
0aa8aeb129 Refactored SimpleDispatcher and added test cases in SimpleDispatcherTests. Also removed MessageHandlerNotRunningException. 2008-07-18 23:00:03 +00:00
Mark Fisher
ce88e75725 Moved AbstractPayloadTransfomerParser into 'src/main' (instead of 'src/test'). 2008-07-18 20:34:45 +00:00
Mark Fisher
b37a4d8f12 Removed MessageTransformer due to the redundancy with MessageHandler (now that Messages are immutable). Refactored existing transformers to implement PayloadTransformer instead. All message handling is now the responsibility of the delegating PayloadTransformingMessageHandler. Also added the AbstractPaylaodTransformerParser from which all existing PayloadTransformer parsers now extend. 2008-07-18 20:12:59 +00:00
Marius Bogoevici
3a916b223d Fixes INT-305 - lazy initialization of DefaultChannelFactoryBean. 2008-07-18 19:59:00 +00:00
Mark Fisher
a9a498f3fc Added PayloadTransformer strategy interface, MethodInvokingPayloadTransformer, and PayloadTransformingMessageHandler. 2008-07-18 18:09:24 +00:00
Mark Fisher
9487837186 Refactored from @HeaderAttribute and @HeaderProperty to a single @Header annotation now that MessageHeaders contains a single map (INT-306). 2008-07-18 17:33:13 +00:00
Mark Fisher
a3b1c59d10 JmsTarget and JmsSource now check if the provided messageConverter is already a HeaderMappingMessageConverter and if so do not wrap it again (INT-304). 2008-07-18 14:50:21 +00:00
Mark Fisher
2db30ae829 MessageBuilder's copyHeaders(..) method now accepts a Map<String, Object> so there is no need to create the MessageHeaders object. 2008-07-18 13:26:39 +00:00
Mark Fisher
7231e0867c Removed MessageBuilder copyHeadersFromMessage and copyHeaderFromMessageIfAbsent methods. 2008-07-18 13:13:23 +00:00
Mark Fisher
d854a8e9d8 Added MessageHeaders and MessageBuilder. Messages are now immutable (including header maps). 2008-07-17 23:08:53 +00:00
Mark Fisher
2c95306f63 Added MessageHeaders and MessageBuilder. Messages are now immutable (including header maps). 2008-07-17 22:58:56 +00:00
Jonas Partner
b9ea75ea98 Namespace support for XPathRouter INT-300 2008-07-17 09:06:56 +00:00
Mark Fisher
8dfe625163 Moved ChannelRegistryAware and InitializingBean interfaces to the AbstractEndpoint class declaration instead of the MessageEndpoint interface. 2008-07-16 01:38:41 +00:00
Mark Fisher
d344504e38 Message payload can no longer be set. MessageTransformer's transform() method now returns a Message (instead of void). ChannelInterceptor preSend() and postReceive() methods now return a Message instead of boolean. 2008-07-15 22:43:47 +00:00
Mark Fisher
0056edd10d Message timestamp is now a long (instead of java.util.Date). 2008-07-15 19:16:52 +00:00
Mark Fisher
cb7fe54f17 Only creating a DefaultEndpointPoller if the source is not a Subscribable channel. 2008-07-15 19:04:25 +00:00
Jonas Partner
1b98a3e647 INT-300 XPathRouter
Name space support to follow
2008-07-15 16:44:12 +00:00
Jonas Partner
7d3eac5611 changed org.springframework.test dependency to test->runtime 2008-07-15 16:42:44 +00:00
Mark Fisher
b45514003c Implemented TriggerMessage with an EndpointPoller as its payload for convenience when triggering polling of an endpoint. 2008-07-14 23:11:54 +00:00
Mark Fisher
8f1cf63f5e Added support (in the schema) for the <poller/> sub-element within a <channel-adapter/> and added a setSource(MessageSource) method to DirectChannel. 2008-07-14 22:49:38 +00:00
Mark Fisher
77022d0519 DefaultEndpointPoller now implements InitializingBean (to prepare the transactionTemplate), and the poller element parsing now includes the PROPAGATION_ and ISOLATION_ prefixes to properly configure those transaction attributes from the enumerated values defined in the schema. 2008-07-14 20:01:09 +00:00
Mark Fisher
a645841d66 Added support for the <poller/> sub-element within <service-activator/> and <channel-adapter/>. 2008-07-14 19:27:58 +00:00
Mark Fisher
6438bba84f Added support for the <poller/> sub-element within <service-activator/> and <channel-adapter/>. 2008-07-14 19:19:46 +00:00
Mark Fisher
ca7dc3922e Endpoints now expose a setter for a Poller strategy and no longer implement Lifecycle. 2008-07-14 18:29:07 +00:00
Mark Fisher
9bcd9e12c8 Added DefaultEndpointPoller. 2008-07-14 17:49:24 +00:00
Mark Fisher
9c8bf25f3e Added registration for PoolExecutorParser. 2008-07-14 13:26:06 +00:00
Mark Fisher
4dd443e6c8 Added Poller interface and SimplePoller implementation. 2008-07-14 12:38:05 +00:00
Mark Fisher
5993be4d6c Added PoolExecutorParser. 2008-07-13 21:26:13 +00:00
Mark Fisher
6bc2ee1ff2 AbstractDispatcher now delegates to a TargetInvoker. 2008-07-13 16:00:11 +00:00
Mark Fisher
0efe7990d0 Added SourceInvoker and TargetInvoker helper classes. 2008-07-13 15:32:41 +00:00
Mark Fisher
589206352f Updated cafeDemo.xml for release packaging 2008-07-10 09:24:44 +00:00
Mark Fisher
58896de557 Added more tests for WebServiceHandlerParser with 'messageFactory'. 2008-07-10 08:38:09 +00:00
Mark Fisher
d85b9da3be updated version number 2008-07-10 02:32:57 +00:00
Mark Fisher
7a2dd68965 The WebServiceHandlerParser now provides the WebServiceMessageFactory in the WebServiceTemplate constructor (INT-295). 2008-07-10 01:54:46 +00:00
Mark Fisher
a3a50488d8 Added receiveTimeout and sendTimeout properties to SourceEndpoint. 2008-07-10 01:01:34 +00:00
Mark Fisher
882cba8a07 Added default values. 2008-07-10 00:55:05 +00:00