Commit Graph

  • b009bb137c Backlog concurrency improvements (and tests) Iwein Fuld 2008-08-30 13:55:16 +00:00
  • 37b4ee5bd7 Removed the "NEXT_TARGET" header, since it is no longer used by the Router implementations. Also, the MessagingAnnotationPostProcessor now considers any component annotated with a "stereotype" as a candidate for post-processing. Mark Fisher 2008-08-28 20:49:45 +00:00
  • ba9c086aea Added Router strategy interface, and refactored Message-routing support in general to avoid MessageHandler. Mark Fisher 2008-08-28 18:46:36 +00:00
  • 62c7439960 MessagingAnnotationPostProcessor now requires the class-level @MessageEndpoint annotation. Mark Fisher 2008-08-28 18:25:15 +00:00
  • 023bf6cbd8 Removed the 'resolution-required' attribute for xpath-router (it is being refactored as a responsibility of the RouterEndpoint rather than individual Router implementations). Mark Fisher 2008-08-28 18:22:04 +00:00
  • c6f4bd910d Added @MessageEndpoint annotations for samples. Mark Fisher 2008-08-28 18:13:04 +00:00
  • 5fd3ed90d3 Added Splitter strategy interface, and refactored Message-splitting support in general to avoid MessageHandler. Mark Fisher 2008-08-27 23:00:27 +00:00
  • 59c3d5c9e3 Moved the @Header annotation from the 'org.springframework.integration.handler.annotation' to the 'org.springframework.integration.annotation' package. Mark Fisher 2008-08-27 21:21:57 +00:00
  • 3061d6ed8a Moved channelRegistry property to AbstractEndpoint superclass instead of DefaultEndpoint, and removed the 'returnAddressOverrides' property as well as the corresponding XML attribute. Mark Fisher 2008-08-27 19:21:56 +00:00
  • 1f4acb82c8 Added tests for default splitter handling of Array and Collection payloads. Mark Fisher 2008-08-25 14:03:49 +00:00
  • dedb3294e4 Removed IdGenerator strategy and RandomUuidGenerator implementation. We are always using UUID within GenericMessage. Mark Fisher 2008-08-25 13:49:07 +00:00
  • 50a227aaa1 The expirationDate header is now stored as a Long instead of a Date. Mark Fisher 2008-08-25 13:44:25 +00:00
  • a162156b2a typo Mark Fisher 2008-08-25 12:15:30 +00:00
  • 8559f2f74b Incomplete: Improve FileSource - refactored Backlog to be more robust (still missing concurrent testcases) - refactored FileInfo into FileSnapshot (to remove need for maps in backlog) - refactored testcases and AbstractDirectorySource accordingly Iwein Fuld 2008-08-24 13:24:15 +00:00
  • eba716e65b Adding aggregation capabilities to the CafeDemo sample, renaming a few domain objects Marius Bogoevici 2008-08-23 16:44:24 +00:00
  • 8a5b0c8832 INT-351 - nextTarget is now reset after a message has been sent. Marius Bogoevici 2008-08-23 03:44:01 +00:00
  • 3b256d9e81 Renamed 'setMaxMessagesPerPayload()' method to 'setMaxFilesPerMessage()'. Mark Fisher 2008-08-21 13:15:46 +00:00
  • 42c60752c2 Added instructions for building from source and importing projects for Eclipse and Idea (INT-254). Mark Fisher 2008-08-20 14:24:08 +00:00
  • 11366a4602 Fixed minor typos in XML configuration examples. Mark Fisher 2008-08-20 07:37:19 +00:00
  • 6147a4f28c Updated adapters section of reference guide. Mark Fisher 2008-08-20 07:03:21 +00:00
  • fe817a7161 Updated readme and changelog. Mark Fisher 2008-08-20 06:47:58 +00:00
  • fbfa5e03aa Setting default receiveTimeout to 1000 ms. Mark Fisher 2008-08-20 05:46:55 +00:00
  • f3dd549723 Setting default receiveTimeout to 5000 ms instead of indefinite (-1). Mark Fisher 2008-08-20 05:33:17 +00:00
  • 78a5d9a7b3 Fixing javadoc. Marius Bogoevici 2008-08-20 05:25:28 +00:00
  • 05ce8ba7e3 Updated @Handler and @Publisher JavaDoc. Mark Fisher 2008-08-20 05:02:19 +00:00
  • 0ab8dd31af Fix for job naming - generating better unique names. Marius Bogoevici 2008-08-20 05:00:40 +00:00
  • 4be2fa45dd Added JavaDoc for @Aggregator. Mark Fisher 2008-08-20 04:53:14 +00:00
  • 218b100ab7 Moved the @Publisher annotation into the 'aop' package to avoid a cycle. Mark Fisher 2008-08-20 04:42:43 +00:00
  • 2d57bee9d5 Updated images for reference manual. Mark Fisher 2008-08-20 04:39:48 +00:00
  • a4b09d6ec0 Updated configuration section of reference guide. Mark Fisher 2008-08-20 04:29:49 +00:00
  • 1edd57cf18 Updated the Message Channel, Message Endpoint, and Message Bus sections. Mark Fisher 2008-08-20 03:40:30 +00:00
  • 45c3066eb9 Updated Message Endpoint, MessageExchangeTemplate, and Messaging Gateway sections. Mark Fisher 2008-08-20 02:31:07 +00:00
  • 71a62e6b47 adding a reference to org.springframework.integration.quartz Marius Bogoevici 2008-08-20 01:05:22 +00:00
  • 31c1127dc2 Updated the individual channel sections and the Message Bus section. Mark Fisher 2008-08-20 01:00:48 +00:00
  • b9d1779bf1 Quartz-based variant of the odd/even application. Demonstrates configuring a poller using cron expressions. Marius Bogoevici 2008-08-20 00:57:19 +00:00
  • d27fe44831 Fixing unit tests, inner class visibility. Marius Bogoevici 2008-08-20 00:33:28 +00:00
  • 9285e739d4 Added quartz, commons-collections, and javax.transaction to the .classpath file. Mark Fisher 2008-08-20 00:01:22 +00:00
  • 5eb46b285b Added org.springframework.test Marius Bogoevici 2008-08-19 23:51:04 +00:00
  • 892a1e28a4 Updated template.mf for org.springframework.integration.quartz module. Mark Fisher 2008-08-19 23:42:37 +00:00
  • 8c9de58254 Updated MessageSource and MessageChannel sections. Mark Fisher 2008-08-19 23:30:12 +00:00
  • e0a760fff6 Adds QuartzScheduleServiceProvider. Marius Bogoevici 2008-08-19 23:18:58 +00:00
  • 42e7a6bffa Added support for the "method" attribute on the <channel-adapter/> element in order to create MethodInvokingSource or MethodInvokingTarget instances. Mark Fisher 2008-08-19 22:51:41 +00:00
  • 1a92320ef7 Updated discussion of Message and added coverage of MessageBuilder. Mark Fisher 2008-08-19 21:55:38 +00:00
  • 42508cc231 Added some tests for MessageBuilder. Mark Fisher 2008-08-19 21:50:32 +00:00
  • 38bda54d4c Adding CronSchedule and parsing support for <poller cron="cronExpression"/>. Internal changes to the SPI. Marius Bogoevici 2008-08-19 21:26:36 +00:00
  • 8058ec7484 Updated CafeDemo overview for M6 in the reference guide. Mark Fisher 2008-08-19 20:47:33 +00:00
  • b4751ba769 Added 'org.springframework.integration.quartz' module to the project list Mark Fisher 2008-08-19 20:05:47 +00:00
  • 99ee1a8e1d Initial commit for 'org.springframework.integration.quartz' module Mark Fisher 2008-08-19 20:05:13 +00:00
  • 01a545c51b Updated title page and overview section of the reference guide (INT-348). Mark Fisher 2008-08-19 19:38:08 +00:00
  • 54a78fcd72 Added JavaDoc for @Router and @Splitter (INT-273). Mark Fisher 2008-08-19 18:24:42 +00:00
  • a43315e17e Added @Header parameter annotation test to SplitterMessageHandlerTests. Mark Fisher 2008-08-19 18:21:52 +00:00
  • ce87fef7ac Renamed JmsAttributeKeys to JmsHeaders and MailAttributeKeys to MailHeaders. JMS Headers are now propagated properly by the JmsGateway (INT-290). Mark Fisher 2008-08-19 17:32:48 +00:00
  • c00c13bdff Fixed issue with target ChannelAdapter when 'channel' is provided but <poller/> is not. Mark Fisher 2008-08-19 17:05:19 +00:00
  • 17832c2913 added ResultToStringTransformer Jonas Partner 2008-08-19 16:36:39 +00:00
  • 3f79525907 Updated MessageTarget JavaDoc (INT-331). Mark Fisher 2008-08-19 16:07:36 +00:00
  • 44e0c1c0c0 PublisherAnnotationPostProcessor now checks if any @Publisher annotations are defined on class methods only (rather than interfaces), and if so, the proxy will set the 'proxyTargetClass' property to 'true' prior to creating the proxy (INT-263). Mark Fisher 2008-08-19 15:43:35 +00:00
  • 8432e84e10 Upgraded Spring Security to version 2.0.2.A (INT-347). Mark Fisher 2008-08-19 14:03:28 +00:00
  • 947a0e546f Upgraded Spring-WS, XML, and OXM to version 1.5.4.A (INT-346). Mark Fisher 2008-08-19 13:51:25 +00:00
  • 2ba1fe0842 AbstractMailHeaderMapper correctly handles FROM and REPLY_TO as String values rather than Arrrays (INT-345). Mark Fisher 2008-08-19 12:44:55 +00:00
  • 6c76f5b3bd modified unmarshalling transformer to support payloads consistently with xslt transformer INT-311 Jonas Partner 2008-08-19 12:33:46 +00:00
  • 94746fb6a4 Updated logic to make it easier to wrok with XML as Document and String payloads INT-311 Jonas Partner 2008-08-19 08:42:55 +00:00
  • d55c89e170 ChannelFactory is no longer tied to the MessageBus. Instead it will be discovered based on the bean name ("channelFactory"). The DefaultChannelFactoryBean no longer creates proxies. This also fixes INT-322. Mark Fisher 2008-08-19 03:39:09 +00:00
  • c060e68fbc Added initial implementation of messaging bridge. Mark Fisher 2008-08-19 02:02:57 +00:00
  • e472e64309 Added the "task-executor" attribute for the <message-bus/> element (INT-344). Mark Fisher 2008-08-18 22:07:22 +00:00
  • b6ef9c8e1a Removed unnecessary initialize() call from registerEndpoint. Mark Fisher 2008-08-18 21:10:58 +00:00
  • 58c768541a Added namespace support for configuring an endpoint's ErrorHandler strategy. For example, the "error-handler" attribute can be provided on the <service-activator/> element with a bean name reference to any implementation of the ErrorHandler interface (INT-178). Mark Fisher 2008-08-18 20:43:38 +00:00
  • 0ec6cd61d9 SimpleDispatcher no longer continues to retry sending any time it catches an Exception. Instead, it will try to send to each of its targets until one of them accepts the message (returns true). If a target returns false (e.g. for a timeout) or throws a MessageRejectedException (e.g. a MessageSelector did not accept the Message), then it will continue trying its other targets. However, any other Exceptions will be re-thrown immediately. Also, it no longer attempts to send to its targets more than once. Thus, the 'rejectionLimit' and 'retryInterval' properties have been removed. The retry behavior actually belongs in an interceptor/template on a per-MessageTarget basis. Some targets are retry-able (e.g. might throw a RemoteAccessException), but others are not. Therefore, the SimpleDispatcher should not have this awareness; such configuration options belong with the individual target instead (part of INT-337). Mark Fisher 2008-08-18 19:36:04 +00:00
  • b4701c0150 SimpleDispatcher no longer wraps a MessagingException inside of a MessageDeliveryException (part of INT-337). Mark Fisher 2008-08-18 19:04:46 +00:00
  • 4834c8a1b4 TextMailMessageMapper invokes the toString method on any Message payload rather than requiring a StringMessage. Also, removed the obsolete toMessage() method. Mark Fisher 2008-08-18 18:48:05 +00:00
  • 30fd7decc8 Modified the 'onFailure' method signature in MessageDeliveryAware so that any Exception can be passed along with a separate Message parameter instead of always expecting a MessagingException. Mark Fisher 2008-08-18 18:40:39 +00:00
  • 80935d3bd0 Removed support for 'auto-create-channels' on the MessageBus. All channels must be explicitly created and registered with the bus (INT-247). Mark Fisher 2008-08-18 17:36:13 +00:00
  • d8c4b0df69 Refactored common annotation value retrieval logic into a separate (private) method. Mark Fisher 2008-08-18 16:34:27 +00:00
  • 0fcf546ad0 Added support for publishing arguments, exception, or return value from the MessagePublishingInterceptor and the @Publisher-aware version (INT-175). Mark Fisher 2008-08-18 15:53:42 +00:00
  • 2977f4f61b added timeout to FtpSourceTests Iwein Fuld 2008-08-18 13:28:12 +00:00
  • d03c985e44 switched source tests to use xml unit Jonas Partner 2008-08-18 11:12:10 +00:00
  • 9b85225675 Channel Adapters are now endpoints, but if no "channel" attribute if provided for a <channel-adapter/> element, a DirectChannel will be created automatically. The <poller/> sub-element now belongs within the <channel-adapter/> (not the consumer endpoint downstream). This enables support for multiple Channel Adapters to share a MessageChannel. Also, the @Poller annotation belongs at class-level along with @ChannelAdapter if a @Pollable method is being adapted via MethodInvokingSource. Mark Fisher 2008-08-17 22:37:35 +00:00
  • c48fa5a361 missed @Ignore Iwein Fuld 2008-08-17 05:52:25 +00:00
  • 5a70203349 Finishing up INT-293, INT-154. Parametrized DefaultMessageMapper, refactored FtpSource to use a pool, added namespace support for FtpTarget. Iwein Fuld 2008-08-17 05:47:46 +00:00
  • d6aed95948 Finishing up INT-293, INT-154. Parametrized DefaultMessageMapper, refactored FtpSource to use a pool, added namespace support for FtpTarget. Iwein Fuld 2008-08-17 05:37:03 +00:00
  • 8272a7d94c Added 'remove' functionality to the MessageHeaders (when setting a NULL value), and improved comments. Mark Fisher 2008-08-15 18:20:11 +00:00
  • 34710691aa Renamed MessageDispatcher's 'setTimeout' to 'setSendTimeout'. The more specific name is much clearer when the dispatcher is also being used for receive operations (e.g. PollingDispatcher). Mark Fisher 2008-08-15 14:23:09 +00:00
  • 32f4722ee4 FtpTargetTest and pool improvement Iwein Fuld 2008-08-15 13:25:10 +00:00
  • 08252fdbaf ... and FtpTarget should depend on that interface Iwein Fuld 2008-08-14 20:23:23 +00:00
  • d8778de0e5 Updated manifest templates for Spring 2.5.5.A Mark Fisher 2008-08-14 20:21:58 +00:00
  • b4ba382404 added missing interface Iwein Fuld 2008-08-14 20:16:56 +00:00
  • c02bfd4a49 Upgraded to Spring 2.5.5.A (INT-336). Mark Fisher 2008-08-14 19:58:32 +00:00
  • 4ae5e7d0ff Removed FTPClientPool for now since the QueuedFTPClientPool was expecting an interface. Mark Fisher 2008-08-14 19:53:36 +00:00
  • 8c8f5dbd49 The commons-net and apache oro dependencies are now configured as "optional->runtime" in ivy.xml (INT-297). Mark Fisher 2008-08-14 19:11:38 +00:00
  • 890b09c0c5 FTPClientPool improvements and javadoc. Iwein Fuld 2008-08-14 19:03:04 +00:00
  • 73a848046a Removed the name parameter from channelRegistry.registerChannel() since the MessageChannel interface already defines getName(). Removed the setName() method from the MessageChannel interface. Removed the 'error-channel' attribute from the <message-bus/> element and the setErrorChannel() method from MessageBus. The "errorChannel" name is now sufficient for configuration. Mark Fisher 2008-08-14 19:00:44 +00:00
  • 824fff8381 Moved PollingDispatcher back into the 'dispatcher' package now that the cycle (with 'channel' and 'scheduling') has been removed. Mark Fisher 2008-08-14 15:53:21 +00:00
  • 1ce101f2bf Moved MessagePublishingErrorHandler from 'scheduling' package to 'channel'. Mark Fisher 2008-08-14 15:47:12 +00:00
  • 76762ed960 Moved DirectChannel and PublishSubscribeChannels to the 'channel' pacakge. Mark Fisher 2008-08-14 15:40:13 +00:00
  • add3d6a121 Moved PollingDispatcher from the dispatcher package to the bus package. It depends on the scheduling and channel packages. Mark Fisher 2008-08-14 15:28:27 +00:00
  • 8389842976 Removed CollectionSplitter. Mark Fisher 2008-08-14 15:02:45 +00:00
  • ee3ea753a9 Moved all channel parsers into the org.springframework.integration.config package. Mark Fisher 2008-08-14 14:57:22 +00:00
  • 1cc799b438 AbstractDispatcher now uses a Set instead of List (INT-335). Mark Fisher 2008-08-14 12:58:21 +00:00
  • 3e15df93ed MessageDispatcher now extends SubscribableSource. The 'addTarget' and 'removeTarget' methods have been replaced with 'subscribe' and 'unsubscribe' respectively. Mark Fisher 2008-08-14 11:53:24 +00:00
  • 234c87da1d Removed AbstractMethodInvokingAdapter and AbstractMessageHandlerAdapter (has been replaced by the new AbstractMessageHandler). The MethodInvokingPayloadTransformer now uses a NameResolvingMethodInvoker. Mark Fisher 2008-08-14 10:34:26 +00:00
  • a99b03c387 SimpleMessagingGateway's default 'replyTimeout' is now -1 for "indefinite" (matches the default of MessageExchangeTemplate). Mark Fisher 2008-08-14 10:29:29 +00:00