Commit Graph

135 Commits

Author SHA1 Message Date
Mark Fisher
c76daa497d Using Asserts with IllegalArgumentException/IllegalStateException instead of ConfigurationException. 2008-09-29 13:26:27 +00:00
Mark Fisher
8a103b7ec5 Moved the MessageHandler interface into the 'org.springframework.integration.adapter' module/package since it is now only used for proxy-based Messaging Gateways. 2008-09-22 19:16:01 +00:00
Mark Fisher
866b4ab3f8 Removed unused dependencies from ivy.xml 2008-09-22 17:51:27 +00:00
Mark Fisher
e00cd62997 The "core" schema is now 'spring-integration-1.0.xsd' instead of 'spring-integration-core-1.0.xsd'. The adapters module no longer provides the combined schema, since the adapter modules have been separated - each with its own schema, namespace handler, and parsers. 2008-09-22 16:41:24 +00:00
Mark Fisher
db7bc0b9ea Migrated Mail Channel Adapter code from 'org.springframework.integration.adapter' to the new 'org.springframework.integration.mail' module. 2008-09-22 15:16:47 +00:00
Mark Fisher
a97b767d56 Migrated FTP Channel Adapter code from the 'org.springframework.integration.adapter' module to the new 'org.springframework.integration.ftp' module. 2008-09-22 14:25:08 +00:00
Mark Fisher
b7756e881d Removing 'file' package contents from 'org.springframework.integration.adapter'. The new 'org.springframework.integration.file' module replaces it. 2008-09-22 05:17:30 +00:00
Mark Fisher
28c7bfc4e7 Adjusted expected exception (now IllegalArgumentException). 2008-09-21 22:37:11 +00:00
Mark Fisher
f105d3c3d9 Using Assert.notNull. 2008-09-21 22:22:19 +00:00
Mark Fisher
d20a8977be Added the remoting JAR back to template.mf due to a dependency on RemoteAccessException. 2008-09-21 15:06:59 +00:00
Mark Fisher
5c4434087f Removing unused JARs from '.classpath' and 'template.mf'. 2008-09-21 15:00:32 +00:00
Mark Fisher
890d7b227a Migrated HttpInvoker adapter and parser code from "org.springframework.integration.adapter" to the new "org.springframework.integration.httpinvoker" module, and added a dedicated spring-integration-httpinvoker-1.0.xsd schema and HttpInvokerNamespaceHandler. Also refactored base and support classes for remoting-based Messaging Gateways (including both HttpInvoker and RMI adapters). 2008-09-20 19:32:56 +00:00
Mark Fisher
13e98d7a55 Removed unused JMS jars from ivy.xml 2008-09-20 16:50:01 +00:00
Mark Fisher
6ed4c1d7bf Migrated RMI adapter and parser code from "org.springframework.integration.adapter" to the new "org.springframework.integration.rmi" module, and added a dedicated spring-integration-rmi-1.0.xsd schema and RmiNamespaceHandler. 2008-09-20 16:36:50 +00:00
Mark Fisher
6de1fd9b63 Removed unused JMS jars from '.classpath' file. 2008-09-20 15:48:32 +00:00
Mark Fisher
82630b96dc Migrated JMS adapter and parser code from "org.springframework.integration.adapter" to the new "org.springframework.integration.jms" module, and added a dedicated spring-integration-jms-1.0.xsd schema and JmsNamespaceHandler. 2008-09-20 15:37:21 +00:00
Mark Fisher
f3632fd330 JmsTarget now implements MessageConsumer instead of MessageTarget. 2008-09-19 23:21:53 +00:00
Mark Fisher
73370d35a7 FileTarget now implements MessageConsumer instead of MessageTarget. 2008-09-19 21:16:07 +00:00
Mark Fisher
6e56e8acbe Renamed MessageBuilder.fromPayload() to MessageBuilder.withPayload(). 2008-09-17 22:57:58 +00:00
Mark Fisher
9f2b0af8c3 Migrated the stream-based adapters from the "adapters" module to "org.springframework.integration.stream" (INT-375). 2008-09-17 20:32:47 +00:00
Mark Fisher
f7ea3f765d Removed 'event' code from the 'org.springframework.integration.adapter' module (INT-375). 2008-09-17 18:13:16 +00:00
Iwein Fuld
a4daf1c0f7 Added noOp check to QueuedFtpClientPool
removed tracing from PollableFileSource
2008-09-14 12:31:16 +00:00
Iwein Fuld
0f9dc8c750 Complete - task 6: Create PollableFileSource
Last review done by Mark and Arjen, modification time concern pushed out.
Added parameter to MessageDeliveryAware
2008-09-11 13:40:12 +00:00
Mark Fisher
2a2d076b36 Renamed MessageExchangeTemplate to MessageChannelTemplate. 2008-09-09 10:36:29 +00:00
Mark Fisher
35e744e60a Added AbstractMessageConsumingEndpoint. MessageDispatchers now expect MessageConsumer instances as subscribers, and the MessageEndpoint no longer has a send() method or a getSource() method. All consumer endpoints now use 'inputChannel' as the property (instead of source). The MessageBus is less involved in endpoint activation now, since endpoints that need to poll a channel can create, configure, and schedule their own poller. 2008-09-07 21:04:50 +00:00
Mark Fisher
15f9875b5b Refactored PollingDispatcher into separate ChannelPoller and SourcePoller implementations with an AbstractPoller base class. 2008-09-07 15:23:17 +00:00
Mark Fisher
f0079d97f2 Updated test configuration for stdout and stderr Channel Adapter parsing. 2008-09-07 01:51:18 +00:00
Mark Fisher
673d7d250b MessageEndpoint no longer extends the MessageTarget interface. 2008-09-07 01:48:34 +00:00
Mark Fisher
b47d81ff16 MessageChannels no longer implement MessageTarget, and MessageEndpoints that send a reply have a setOutputChannel() method instead of setTarget(). 2008-09-05 16:36:13 +00:00
Iwein Fuld
69c4441dde Create PollableFileSource
This version waits until the next whole second before picking up files. This behavior should be made optional later.
2008-09-04 17:29:54 +00:00
Iwein Fuld
82b92ecf05 Incomplete: Create PollableFileSource (this is the first step to make Backlog obsolete) 2008-09-03 15:40:59 +00:00
Mark Fisher
788b2364ec The <channel/> element is now used for creating all Point-to-Point channel types. It accepts a queue sub-element (options are: <queue/>, <priority-queue/>, or <rendezvous-queue/>). If no queue sub-element is provided, the channel type will be a DirectChannel. 2008-09-01 22:50:56 +00:00
Iwein Fuld
a27ae5726e INT-356: Changed namespace parsing to resolve incompatible MessageCreator problem. type attribute on ftpsource no longer supported. 2008-09-01 17:41:19 +00:00
Iwein Fuld
12a0142d7b Complete: Test Backlog concurrency
Incomplete: Improve FileSource. Added comparator constructor arg. Still need namespace cleanup
2008-09-01 11:46:14 +00:00
Iwein Fuld
b009bb137c Backlog concurrency improvements (and tests) 2008-08-30 13:55:16 +00:00
Mark Fisher
a162156b2a typo 2008-08-25 12:15:30 +00:00
Iwein Fuld
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
2008-08-24 13:24:15 +00:00
Mark Fisher
3b256d9e81 Renamed 'setMaxMessagesPerPayload()' method to 'setMaxFilesPerMessage()'. 2008-08-21 13:15:46 +00:00
Mark Fisher
ce87fef7ac Renamed JmsAttributeKeys to JmsHeaders and MailAttributeKeys to MailHeaders. JMS Headers are now propagated properly by the JmsGateway (INT-290). 2008-08-19 17:32:48 +00:00
Mark Fisher
2ba1fe0842 AbstractMailHeaderMapper correctly handles FROM and REPLY_TO as String values rather than Arrrays (INT-345). 2008-08-19 12:44:55 +00:00
Mark Fisher
4834c8a1b4 TextMailMessageMapper invokes the toString method on any Message payload rather than requiring a StringMessage. Also, removed the obsolete toMessage() method. 2008-08-18 18:48:05 +00:00
Mark Fisher
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. 2008-08-18 18:40:39 +00:00
Iwein Fuld
2977f4f61b added timeout to FtpSourceTests 2008-08-18 13:28:12 +00:00
Mark Fisher
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. 2008-08-17 22:37:35 +00:00
Iwein Fuld
c48fa5a361 missed @Ignore 2008-08-17 05:52:25 +00:00
Iwein Fuld
5a70203349 Finishing up INT-293, INT-154. Parametrized DefaultMessageMapper, refactored FtpSource to use a pool, added namespace support for FtpTarget. 2008-08-17 05:47:46 +00:00
Iwein Fuld
d6aed95948 Finishing up INT-293, INT-154. Parametrized DefaultMessageMapper, refactored FtpSource to use a pool, added namespace support for FtpTarget. 2008-08-17 05:37:03 +00:00
Iwein Fuld
32f4722ee4 FtpTargetTest and pool improvement 2008-08-15 13:25:10 +00:00
Iwein Fuld
08252fdbaf ... and FtpTarget should depend on that interface 2008-08-14 20:23:23 +00:00
Mark Fisher
d8778de0e5 Updated manifest templates for Spring 2.5.5.A 2008-08-14 20:21:58 +00:00