Commit Graph

  • 21fb3a9907 Jonas Partner 2008-10-01 20:10:01 +00:00
  • ddc2e1cda9 OPEN - issue INT-388: XPath message splitter First pass implementation no namespace support Jonas Partner 2008-10-01 20:08:27 +00:00
  • cd5e68c5c1 AbstractPoller now has a setTransactionDefinition method instead of individual setters. Mark Fisher 2008-10-01 18:59:32 +00:00
  • 5d5f502e8e Removed BlockingSource (unused). Mark Fisher 2008-10-01 18:47:42 +00:00
  • 7843007930 refactored namespace support for xpath-router and xpath-selector Jonas Partner 2008-10-01 17:21:32 +00:00
  • 13100735e0 XPathExpression namespace support Jonas Partner 2008-10-01 13:38:53 +00:00
  • 8cc19d88b1 OPEN - issue INT-309: XPath Message Selector http://jira.springframework.org/browse/INT-309 namespace support Jonas Partner 2008-10-01 12:28:27 +00:00
  • 1b4598568c OPEN - issue INT-309: XPath Message Selector http://jira.springframework.org/browse/INT-309 Throw messaging exception if XPathSingleChannelNameResolver evaluation returns empty string Jonas Partner 2008-09-30 09:36:10 +00:00
  • ed96dcc58f OPEN - issue INT-309: XPath Message Selector http://jira.springframework.org/browse/INT-309 refactored XPath selectors and routers added support for Node payloads Jonas Partner 2008-09-30 09:20:06 +00:00
  • 8cea74f062 Using Asserts with IllegalArgumentException/IllegalStateException instead of ConfigurationException. Mark Fisher 2008-09-30 03:44:40 +00:00
  • 590d346f08 Simplified router hierarchy and only implementing ChannelRegistryAware for routers that resolve channel names. Mark Fisher 2008-09-29 20:59:17 +00:00
  • 0c35a1781e Simplified RecipientListChannelResolver. It now requires a List of MessageChannel instances rather than also allowing channel names. Mark Fisher 2008-09-29 20:01:26 +00:00
  • a7dcd5f31f Removed DefaultChannelRegistry, and add TestChannelRegistry (for tests only). Mark Fisher 2008-09-29 18:48:29 +00:00
  • 4954228395 Removed the 'unregisterChannel' method from ChannelRegistry. DefaultMessageBus now implements ChannelRegistry directly (no longer delegates to DefaultChannelRegistry). Mark Fisher 2008-09-29 18:37:26 +00:00
  • f0d6a78c0c Added comment to indicate that this class is thread safe Jonas Partner 2008-09-29 16:36:35 +00:00
  • d03bb7ae5a OPEN - issue INT-309: XPath Message Selector Added XPAth MessageSelector namespace to follow Jonas Partner 2008-09-29 16:07:44 +00:00
  • 039679b173 Using Asserts with IllegalArgumentException/IllegalStateException instead of ConfigurationException. Mark Fisher 2008-09-29 15:06:27 +00:00
  • 6cda0b8e7c Added support for String payloads to XPath Routers Jonas Partner 2008-09-29 14:26:02 +00:00
  • 1f0cf0fcf2 Using Asserts with IllegalArgumentException/IllegalStateException instead of ConfigurationException. Mark Fisher 2008-09-29 14:24:56 +00:00
  • c78e7e67ad Using Asserts with IllegalArgumentException/IllegalStateException instead of ConfigurationException. Mark Fisher 2008-09-29 13:49:47 +00:00
  • c76daa497d Using Asserts with IllegalArgumentException/IllegalStateException instead of ConfigurationException. Mark Fisher 2008-09-29 13:26:27 +00:00
  • e6f22df1bb Using Asserts with IllegalArgumentException/IllegalStateException instead of ConfigurationException. Mark Fisher 2008-09-29 13:25:43 +00:00
  • 5bf96eeb08 OPEN - issue INT-310: XML Document Builders Not Namespace Aware set default on document builders to be namespace aware Jonas Partner 2008-09-29 12:48:25 +00:00
  • 6d8a640600 Removed empty 'endpoint' package Mark Fisher 2008-09-29 03:22:20 +00:00
  • 29554a130b Removed empty 'endpoint' package Mark Fisher 2008-09-29 02:24:13 +00:00
  • f55336ba55 Renamed SecurityTestUtil to SecurityTestUtils. Mark Fisher 2008-09-29 02:23:00 +00:00
  • 121c7a65b1 Moved all security code other than ChannelSecurityInterceptor (including endpoint interceptor and securityContext propagation) to the sandbox prior to 1.0. Mark Fisher 2008-09-29 02:16:50 +00:00
  • 73bf0a0a20 Increased test timeout. Mark Fisher 2008-09-28 22:28:16 +00:00
  • f4a3dadb55 Updated CafeDemo to use the new @Gateway method annotation. Mark Fisher 2008-09-28 22:18:43 +00:00
  • 170bc6ea79 Added the @Gateway annotation for per-method configuration when using GatewayProxyFactoryBean (INT-383). Also, the AbstractMessagingGateway now supports non-pollable reply channels. Note however, if using a gateway for no-arg receive() invocations, a PollableChannel is required and otherwise an IllegalStateException will be thrown (INT-384). Mark Fisher 2008-09-28 22:15:22 +00:00
  • 30dd76190b formatting Mark Fisher 2008-09-28 21:41:23 +00:00
  • 285a6d2fb3 RESOLVED - issue INT-382: write integration test for Splitter http://jira.springframework.org/browse/INT-382 Iwein Fuld 2008-09-28 21:24:57 +00:00
  • a76c65220b GatewayProxyFactoryBean now creates a Map of gateways (per-Method). This will enable support for @Gateway annotations (coming soon). Also, the @Header and @Headers annotations are now supported for gateway method parameters. The 'request-channel' and 'reply-channel' attributes of the <gateway/> element have been changed to 'default-request-channel' and 'default-reply-channel' since the request/reply channels will be configurable on a method-by-method basis with annotations (the same applies to 'request-timeout' and 'reply-timeout'). The MessageMapper interface has been split into InboundMessageMapper (with 'toMessage') and OutboundMessageMapper (with 'fromMessage') since the behavior is not always symmetrical For example, the gateway uses MethodParameterMessageMapper for creating a Message *from* the args array but it uses SimpleMessageMapper (the new name for DefaultMessageMapper) to create a Message whose payload is the method's return value. Mark Fisher 2008-09-28 19:58:24 +00:00
  • 9afcda0a68 The <splitter/> element now creates a DefaultSplitter when no "ref" attribute is defined (INT-354). Mark Fisher 2008-09-28 18:56:34 +00:00
  • 98fc463155 Refactored MethodParameterMessageMapper's 'resolveHeaderName()' method into the MethodParameterMetadata inner class as getHeaderName(). Mark Fisher 2008-09-28 13:46:39 +00:00
  • 414fa7645e OPEN - issue INT-382: write integration test for Splitter http://jira.springframework.org/browse/INT-382 Iwein Fuld 2008-09-28 05:16:12 +00:00
  • 2e175b638d The @Headers annotation is now required (for clarity) when mapping from a Message to a parameter intending to receive MessageHeaders. If the expected payload type is a Map or Properties object, it can still be mapped to any non-annotated parameter of that same type. Mark Fisher 2008-09-28 00:03:55 +00:00
  • cf57a20b33 Added validation and tests (exactly 1 Message or payload when mapping with toMessage(), etc). Mark Fisher 2008-09-27 19:33:32 +00:00
  • e86b9eb6d8 Added the @Headers parameter-level annotation for mapping a java.util.Map (with String-typed keys) to/from the MessageHeaders in MethodParameterMessageMapper. Mark Fisher 2008-09-27 18:50:35 +00:00
  • f643196b64 Added tests for the 'toMessage()' method of MethodParameterMessageMapper. Mark Fisher 2008-09-27 16:11:41 +00:00
  • fd77d1a1d7 Started implementation of the 'toMessage()' functionality on MethodParameterMessageMapper (to be used by GatewayProxyFactoryBean after refactoring). Resolves parameters annotated with @Header and payload Objects. Mark Fisher 2008-09-27 16:09:23 +00:00
  • 1cfe32cd21 Moved the MessageMapper strategy interface from the 'gateway' package to the 'message' package. Mark Fisher 2008-09-27 15:22:28 +00:00
  • 9773908155 Refactored MessageMappingParameterResolver to MethodParameterMessageMapper, an implementation of the MessageMapper interface. Mark Fisher 2008-09-27 15:18:28 +00:00
  • acd1527470 Refactored isEligibleForCopying() to isReadyOnly(). The check is now done in the setHeader() method instead of only when copying header values. Mark Fisher 2008-09-27 00:44:44 +00:00
  • 1c9e7af1da Simplified PREFIX for MailHeaders. Mark Fisher 2008-09-26 23:36:23 +00:00
  • 235c7ee385 Added MailToStringTransformerParser. Mark Fisher 2008-09-26 23:17:08 +00:00
  • 13f7003a4e Added AbstractMailMessageTransformer. Mark Fisher 2008-09-26 23:16:24 +00:00
  • d5d227bcc5 Added MailToStringTransformer. Mark Fisher 2008-09-26 23:12:48 +00:00
  • 485a5aa071 Defined the <mail-to-string-transformer/> element. Mark Fisher 2008-09-26 23:11:17 +00:00
  • e1a4ad1a8f Added support for the <header-enricher/> element in the 'mail' namespace. Mark Fisher 2008-09-26 21:13:15 +00:00
  • 70bb85f7a1 MailOutboundChannelAdapterParser now configures the "port" and "javamail-properties" on the MailSender if defined. Mark Fisher 2008-09-26 21:12:27 +00:00
  • 34979a6927 MailSendingMessageConsumer now fails with an IllegalStateException if no value is available for MailHeaders.TO. The array-based header values (e.g. to, cc, bcc) are now converted from comma-delimited Strings if necessary. Mark Fisher 2008-09-26 21:08:57 +00:00
  • e6c41360db Added 'port' and 'javamail-properties' attributes for the 'outbound-channel-adapter' element. Mark Fisher 2008-09-26 21:07:21 +00:00
  • ccd3a2f831 Header names are lowercase. Nicer when using header-enricher in xml. Mark Fisher 2008-09-26 20:58:59 +00:00
  • 8ea24913b5 Added SimpleHeaderEnricherParser. Mark Fisher 2008-09-26 20:47:42 +00:00
  • a055f0d97d Added HeaderEnricher. Mark Fisher 2008-09-26 20:42:25 +00:00
  • c441b2254f Removed 'headerGenerator' property from MailOutboundChannelAdapterParser. Mark Fisher 2008-09-26 18:45:07 +00:00
  • f2b7353165 Added namespace support for FileToStringTransformer and FileToByteArrayTransformer. Mark Fisher 2008-09-26 18:27:22 +00:00
  • 959b906f4e AbstractTransformerParser now creates the actual endpoint rather than requiring a "ref" to an object that implements Transformer. Therefore the element being parsed must provide 'input-channel' and 'output-channel'. Mark Fisher 2008-09-26 17:42:11 +00:00
  • 9ee921ed7c Removed the PollableSource interface, and migrated the 'receive()' method to MessageSource. Mark Fisher 2008-09-26 16:31:26 +00:00
  • 78c49157bd Refactored inbound Mail adapters. Removed MailHeaderMapper and MessageConverter strategies. The Message payload will be a javax.mail.Message instance. Transformers will be used to convert the payload (e.g. Mail-to-String) and map header values. Mark Fisher 2008-09-26 16:03:01 +00:00
  • 40938a36f3 MessageMapper is parameterized. Mark Fisher 2008-09-25 21:31:27 +00:00
  • b0a00c7c0d Refactored SimpleMessagingGateway to include a base AbstractMessagingGateway with abstract methods for mapping messages to and from Objects. SimpleMessagingGateway delegates to a MessageMapper instance or uses DefaultMessageMapper. Mark Fisher 2008-09-25 21:18:01 +00:00
  • 6b659523b9 Moving 'org.springframework.integration.test' module to the sandbox until post 1.0 Mark Fisher 2008-09-25 20:52:15 +00:00
  • c0747a8bb9 Moving 'org.springframework.integration.test' module to the sandbox until post 1.0 Mark Fisher 2008-09-25 20:51:38 +00:00
  • 1aff8abeee Removed MailHeaderGenerator. The MailSendingMessageConsumer handles the mapping of header values, but those values should be provided by a Transformer initially. Mark Fisher 2008-09-25 20:36:00 +00:00
  • 8b24cd7d6b MessageMapper now defines toMessage() and fromMessage() methods, and the MessageCreator has been removed. Mark Fisher 2008-09-25 18:27:52 +00:00
  • ec304b2c10 FtpSource no longer uses a MessageCreator. Instead, it uses MessageBuilder internally, and any Message customization can be applied with Transformers. Mark Fisher 2008-09-25 15:39:14 +00:00
  • d30fe71dc2 MessagePublishingInterceptor uses MessageBuilder instead of MessageCreator. Mark Fisher 2008-09-25 15:12:53 +00:00
  • 51eb976236 Removed MailMessageMappers. MailMessageSendingConsumer now handles any MailMessage payload or byte array payload. For all other payload types, it calls 'toString' to generate the Mail text. Mark Fisher 2008-09-25 14:40:48 +00:00
  • 3e675ca2e5 Solves a race condition between start() on the class and run() on the internal SchedulerTask. Marius Bogoevici 2008-09-25 04:56:26 +00:00
  • 60e245f5a6 BroadcastingDispatcher tries to send to all consumers even if one "Selective Consumer" throws a MessageRejectedException (consistent with SimpleDispatcher's behavior). Mark Fisher 2008-09-25 03:52:35 +00:00
  • 91c094a174 Added namespace support for the <filter/> element. Mark Fisher 2008-09-25 00:20:36 +00:00
  • 784c732389 Added MethodInvokingSelector. Mark Fisher 2008-09-24 23:44:33 +00:00
  • 2feb20e022 MessageMappingMethodInvoker now uses Assert instead of throwing ConfigurationException if the method does not accept any arguments. Mark Fisher 2008-09-24 23:37:21 +00:00
  • b0fc5da6a2 The <poller/> element now accepts the "interval" attribute for an IntervalTrigger instead of "period". Mark Fisher 2008-09-24 19:40:38 +00:00
  • b52a2bb551 Updated the Odd-Even demos to use the new 'inbound-channel-adapter' element with 'ref' and 'method' attributes instead of 'channel-adapter'. Mark Fisher 2008-09-24 18:51:37 +00:00
  • 506636caf0 The 'lifecycleLock' is now acquired within the isRunning() method. Mark Fisher 2008-09-24 18:47:57 +00:00
  • d2bddbbbfa Removed Schedule, PollingSchedule, and CronSchedule. These have been replaced by Trigger, IntervalTrigger, and CronTrigger. Mark Fisher 2008-09-24 18:36:36 +00:00
  • ee7a8d0725 Replacing Schedule with Trigger. Mark Fisher 2008-09-24 18:29:23 +00:00
  • 8b6f7be72c Removed empty test package Mark Fisher 2008-09-24 17:35:16 +00:00
  • 05cfa42426 Added context.stop() calls at end of test methods. Mark Fisher 2008-09-24 17:29:27 +00:00
  • 26834f88f8 Iteration on a SynchronizedSet must be manually synchronized (default mutex is the collection instance itself). Mark Fisher 2008-09-24 17:28:47 +00:00
  • eee8352093 Removing empty 'spi' package Mark Fisher 2008-09-24 16:44:41 +00:00
  • 86986d5cfb Refactored cron-based "OddEvenDemo" sample for new TaskScheduler interface based on Trigger (and the CronTrigger in particular). Mark Fisher 2008-09-24 16:35:18 +00:00
  • e0bb87bd2f Removed the 'org.springframework.integration.quartz' module Mark Fisher 2008-09-24 16:31:20 +00:00
  • 09b4c3c2d5 Removed the 'org.springframework.integration.quartz' module from the build Mark Fisher 2008-09-24 16:30:40 +00:00
  • 9e1e1199ee Refactored TaskScheduler to use the new Trigger interface. Also added the SimpleTaskScheduler implementation. Mark Fisher 2008-09-24 16:29:14 +00:00
  • 98b32a9516 Adding Trigger interface and the IntervalTrigger and CronTrigger implementations. Mark Fisher 2008-09-24 14:59:32 +00:00
  • de10530387 Moved MessageChannelTemplate and AsyncMessageChannelTemplate to the 'channel' package (was in 'message'). Mark Fisher 2008-09-24 13:50:31 +00:00
  • 648ae40605 Modified channel-adapter configuration in tests. Mark Fisher 2008-09-24 02:08:14 +00:00
  • 4664ef5f81 The <inbound-channel-adapter/> and <outbound-channel-adapter/> elements now expect the "ref" attribute (instead of "source" for inbound and "target" for outbound). Mark Fisher 2008-09-24 01:54:11 +00:00
  • 6655511d3d Refactored the ChannelAdapterParser to MethodInvokingInboundChannelAdapterParser. MethodInvokingOutboundChannelAdapterParser had already been committed. The namespace now defines "inbound-channel-adapter" and "outbound-channel-adapter" elements instead of using "channel-adapter" for both. Mark Fisher 2008-09-24 01:42:28 +00:00
  • bc91df7db6 AbstractOutboundChannelAdapterParser now correctly invokes the 'parseAndRegisterConsumer()' method. Mark Fisher 2008-09-24 01:26:01 +00:00
  • ab7d7fa5f8 Refactored ByteStreamOutboundChannelAdapter to ByteStreamWritingMessageConsumer. Mark Fisher 2008-09-24 00:11:22 +00:00
  • 0ed3ba7657 Refactored CharacterStreamOutboundChannelAdapter to CharacterStreamWritingMessageConsumer and simplified the abstract method for AbstractOutboundChannelAdapter so that only a bean definition is returned (the base class now handles registration). Mark Fisher 2008-09-24 00:00:55 +00:00
  • db33965e77 Added namespace support for the <transformer/> element (INT-342). Mark Fisher 2008-09-23 22:36:01 +00:00
  • e1e3d21af7 Removing empty 'handler' packages Mark Fisher 2008-09-23 22:19:21 +00:00
  • 37840238d9 Cleaning out 'handler' pacakge within src/test. Mark Fisher 2008-09-23 20:20:23 +00:00
  • 699b3bec29 Committing modified ChannelAdapterAnnotationPostProcessor that missed the last commit. Mark Fisher 2008-09-23 20:16:15 +00:00