Commit Graph

142 Commits

Author SHA1 Message Date
Mark Fisher
e0cc920d56 INT-842 moved gateway support base classes to core gateway package 2010-04-30 23:03:54 +00:00
Mark Fisher
2eda315aa6 INT-842 moved AbstractRemotingOutboundGatewayParser to core config.xml package and renamed AbstractOutboundGatewayParser 2010-04-30 22:01:08 +00:00
Chris Beams
71a712a999 RESOLVED - INT-995: Change Eclipse .classpath to reference SI_IVY_CACHE instead of IVY_CACHE to avoid conflicts with other Spring projects 2010-02-27 01:09:47 +00:00
Mark Fisher
b198aa14e5 added description-only constructor to MessageMappingException 2010-01-18 15:11:04 +00:00
Mark Fisher
4a13e38fde INT-901 removed ReplyMessageHolder and refactored AbstractReplyProducingMessageHandler accordingly 2009-12-02 02:37:51 +00:00
Mark Fisher
fdfb537a16 INT-727, INT-728 Refactored parsers so that default beans (errorChannel, nullChannel, and taskScheduler) will always be configured - even when not using the core namespace. Also added support for the 'auto-startup' attribute on several adapters. 2009-07-16 18:04:40 +00:00
Mark Fisher
e55aee06ce Minimizing class loading in parsers and using the parser context error handling capabilities rather than throwing Exceptions or using assertions. This facilitates proper tooling support (INT-114). 2008-12-11 19:33:43 +00:00
Mark Fisher
c296b1af1b Minimizing class loading in parsers and using the parser context error handling capabilities rather than throwing Exceptions or using assertions. This facilitates proper tooling support (INT-114). 2008-12-11 19:18:40 +00:00
Mark Fisher
2129047231 MessageMappingException now extends MessagingException rather than MessageHandlingException, and it provides a constructor that accepts 'description' and 'cause' without a 'failedMessage'. This is necessary to support inbound mapping errors where no 'failedMessage' has been created yet. 2008-11-22 16:57:58 +00:00
Mark Fisher
93a2d2c9f2 Renamed the 'parseConsumer' method to 'parseHandler' since it creates an implementation of MessageHandler. 2008-11-21 17:39:01 +00:00
Mark Fisher
ef1b7fe54b Moved classes from 'consumer' package to 'handler'. 2008-11-03 15:06:45 +00:00
Mark Fisher
81b75415ff Renamed the MessageHandler interface for remote proxies to RemoteMessageHandler. 2008-11-03 14:25:04 +00:00
Mark Fisher
39a8486ac8 Refactored MessageConsumer with onMessage to MessageHandler with handleMessage. 2008-11-03 14:17:53 +00:00
Mark Fisher
ca08c18946 INT-442 2008-10-28 19:09:40 +00:00
Mark Fisher
b6bd0b30fc Created 'consumer' package and moved consumer implementations from 'message' and 'endpoint' packages. 2008-10-20 12:09:30 +00:00
Mark Fisher
e7a1140003 Refactored JmsGateway and HeaderMappingMessageConverter (related to INT-240, INT-355, and INT-376). 2008-10-17 17:43:59 +00:00
Mark Fisher
262bd8fd9c Moved MessageChannel into the new 'org.springframework.integration.core' package. 2008-10-15 03:19:28 +00:00
Mark Fisher
7da7c9e5a0 Moved MessageHeaders into the new 'org.springframework.integration.core' package. 2008-10-15 03:10:17 +00:00
Mark Fisher
08043b541d Moved Message into the new 'org.springframework.integration.core' package. 2008-10-15 02:54:29 +00:00
Mark Fisher
c86b7faef4 Renamed ReplyHolder to ReplyMessageHolder. Modified signature of AbstractReplyMessageProducingConsumer's abstract method to be named 'onMessage'. 2008-10-13 19:50:04 +00:00
Mark Fisher
6f7bd01c2a Added ReplyHolder and modified signature of AbstractReplyProducingMessageConsumer to return void and accept this additional parameter instead. 2008-10-13 19:30:23 +00:00
Mark Fisher
24793ead19 Separated annotation post processors and bean definition parsers into 'annotation' and 'xml' sub-packages of the 'org.springframework.integration.config' package. 2008-10-10 18:55:24 +00:00
Mark Fisher
7f35402b37 Renamed AbstractEndpointParser to AbstractConsumerEndpointParser. 2008-10-08 15:36:35 +00:00
Mark Fisher
f12c6b3748 AbstractMessageHandlingEndpoint is now AbstractReplyProducingMessageConsumer. 2008-10-06 20:59:55 +00:00
Mark Fisher
27e288be08 Refactored existing Message-consuming endpoints to only implement MessageConsumer (not MessageEndpoint). Now, either a PollingConsumerEndpoint or SubscribingConsumerEndpoint delegates to the MessageConsumer thereby separating the Lifecycle responsibilities and configuration settings (trigger, transactions, etc) since they are different for polling vs. subscribing and not relevant for simply consuming Messages. Essentially all MessageConsumers are now "event-driven" since a "polling consumer" is actually handled by the PollingConsumerEndpoint class. The next refactoring step involves renaming several components to clarify this endpoint vs. consumer distinction. 2008-10-06 17:24:46 +00:00
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
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
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
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
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