Commit Graph

1357 Commits

Author SHA1 Message Date
Mark Fisher
b024fa0b56 MessageChannelTemplate now supports a 'defaultChannel'. It may be configured either via setter or constructor (INT-400). 2008-10-07 19:53:39 +00:00
Mark Fisher
71b17fa8a4 Added CronSequenceGenerator. CronTrigger now delegates to the generator, and thus we no longer have a dependency on quartz. 2008-10-07 14:19:13 +00:00
Mark Fisher
05d9528024 AggregatorEndpoint has been replaced by AbstractMessageAggregator, and the Aggregator interface has been removed. The MethodInvokingAggregator is now capable of detecting a single method with the @Aggregator annotation if no "method" attribute is defined on an <aggregator/> element, and it will fall back to detect a single public Method (else throw a IllegalArgumentException). 2008-10-07 03:19:28 +00:00
Mark Fisher
7991ef889c AbstractMessageBarrierEndpoint is now AbstractMessageBarrierConsumer. 2008-10-07 02:10:20 +00:00
Mark Fisher
080c19fb62 ResequencerEndpoint is now Resequencer. 2008-10-07 01:59:56 +00:00
Mark Fisher
0250529aa2 FilterEndpoint is now MessageFilter. 2008-10-07 01:06:22 +00:00
Mark Fisher
95b9212c9f Removed Splitter interface and added AbstractMessageSplitter base class. The MethodInvokingSplitter is now capable of resolving methods when only an Object is provided to its constructor - either a single method containing the @Splitter annotation or a single public Method as a fallback (or if neither is satisifed, an IllegalArgumentException will be thrown). 2008-10-06 23:16:47 +00:00
Mark Fisher
f12c6b3748 AbstractMessageHandlingEndpoint is now AbstractReplyProducingMessageConsumer. 2008-10-06 20:59:55 +00:00
Mark Fisher
b567e9570d Removing unused classes: OutboundChannelAdapter and ReplyMessageCorrelator. 2008-10-06 20:33:43 +00:00
Mark Fisher
709f6d72df AbstractEndpointParser creates a DirectChannel for an 'input-channel' that is not explicitly configured within the context. 2008-10-06 20:11:49 +00:00
Iwein Fuld
97306c4b00 updated documentation 2008-10-06 19:39:02 +00:00
Iwein Fuld
d2645224d6 OPEN - issue INT-396: Update documentation on file reading
http://jira.springframework.org/browse/INT-396
2008-10-06 19:36:16 +00:00
Mark Fisher
7d8dc775e4 AbstractMessageConsumingEndpoint is now AbstractMessageConsumer. 2008-10-06 18:23:00 +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
Iwein Fuld
14cd44d272 adding first bit of file docos 2008-10-06 15:10:21 +00:00
Marius Bogoevici
2d4bb80b10 Force AbstractMessageBarrierEndpoint and subclasses to use the TaskScheduler supplied via TaskSchedulerAware for scheduling the ReaperThread. Introducing a Schedulers helper class for creating a default TaskScheduler. 2008-10-06 04:52:03 +00:00
Mark Fisher
08e6db266b Added ConsumerEndpointFactoryBean. 2008-10-05 22:18:54 +00:00
Mark Fisher
e119d493b2 Added SubscribingConsumerEndpoint. 2008-10-05 21:54:03 +00:00
Mark Fisher
180d57c418 Added PollingConsumerEndpoint. 2008-10-05 21:26:01 +00:00
Mark Fisher
c577d3ef2c MessagingAnnotationPostProcessor now only calls method-annotation postProcessors if the annotated Method should trigger the creation of a MessageEndpoint. To qualify, it must be either a @ChannelAdapter annotation or define an "inputChannel". 2008-10-05 20:14:42 +00:00
Mark Fisher
95c8b83a51 Added MethodResolver strategy interface and two implementations: AnnotationMethodResolver and DefaultMethodResolver. The MessageMappingMethodInvoker no longer resolves based on Annotations. Instead, the component that delegates to the invoker is responsible for resolving the Method instance (e.g. ServiceActivator now does this when its single Object constructor is invoked). 2008-10-05 19:40:53 +00:00
Jonas Partner
1f5e0b6cf1 RESOLVED - issue INT-394: SimpleWebServiceHandler should support an org.w3c.dom.Document payload in addition to Source and String
http://jira.springframework.org/browse/INT-394
2008-10-05 19:28:42 +00:00
Mark Fisher
88df7711e0 MessagingAnnotationPostProcessor no longer creates a proxy for annotated methods. It still creates and registers an endpoint if an "inputChannel" is specified, but for satisfying a "ref" in an XML-based endpoint configuration, it will be the responsibility of the corresponding consumer to create a Method-invoking adapter instance for the annotated Method. The ServiceActivator performs this role already, checking for a single @ServiceActivaotor-annotated method or falling back to a single public Method that is not declared on the Object class. 2008-10-05 18:16:31 +00:00
Mark Fisher
5c16131ce1 Added annotation-type method resolution to MessageMappingMethodInvoker. 2008-10-05 14:57:15 +00:00
Marius Bogoevici
6ad0682bd0 Improve the robustness of the ScheduledTaskExecutor 2008-10-04 21:03:44 +00:00
Jonas Partner
9b26c725e3 IN PROGRESS - issue INT-389: Allow configuration of a WebServiceMessageSender instance for WS handlers
http://jira.springframework.org/browse/INT-389

added setter methods on AbstractWebServiceHandler and namespace support
2008-10-03 10:42:26 +00:00
Mark Fisher
3d6969a837 Removed SourcePoller. SourcePollingChannelAdapter now extends AbstractPollingEndpoint. 2008-10-02 23:53:37 +00:00
Mark Fisher
5d40996acb Moved ErrorHandler dependency from AbstractEndpoint to AbstractMessageConsumingEndpoint. 2008-10-02 22:46:22 +00:00
Mark Fisher
c4f61646f7 Removed getName from AbstractEndpoint. 2008-10-02 19:44:57 +00:00
Mark Fisher
4c02dd0605 Moved SubscribableChannel from the 'message' package to the 'channel' package. 2008-10-02 18:22:18 +00:00
Mark Fisher
5d83da53fc ChannelPoller now has a setConsumer method instead of being Subscribable. 2008-10-02 18:03:49 +00:00
Mark Fisher
e5a8972a97 Subscribable is now SubscribableChannel, and MessageDispatcher no longer implements Subscribable. 2008-10-02 17:50:18 +00:00
Mark Fisher
3f9230d73b Removed empty 'interceptor' package 2008-10-02 03:26:50 +00:00
Mark Fisher
b58706a1d7 Removed EndpointInterceptorParser and removed the "interceptors" sub-element from the "endpoint" element in the schema definition. 2008-10-02 02:47:29 +00:00
Mark Fisher
a8ce041a0b Removed EndpointInterceptor. 2008-10-02 02:40:52 +00:00
Mark Fisher
be566ea60b Moved start() call. 2008-10-02 01:21:22 +00:00
Mark Fisher
8ecc7604d6 Removed SchedulableTask interface. The only implementation (AbstractPoller) now implements Runnable directly and still provides the getTrigger() method. 2008-10-02 01:11:35 +00:00
Mark Fisher
c24df55e06 AbstractEndpoint no longer implements ChannelRegistryAware. AbstractMessageHandlingEndpoint and RouterEndpoint do. 2008-10-02 00:56:05 +00:00
Mark Fisher
64158f454e ReplyMessageCorrelator simply returns the same Message. The base class already resolves the replyChannel from the 'returnAddress' header value. 2008-10-02 00:42:33 +00:00
Jonas Partner
21fb3a9907 2008-10-01 20:10:01 +00:00
Jonas Partner
ddc2e1cda9 OPEN - issue INT-388: XPath message splitter
First pass implementation no namespace support
2008-10-01 20:08:27 +00:00
Mark Fisher
cd5e68c5c1 AbstractPoller now has a setTransactionDefinition method instead of individual setters. 2008-10-01 18:59:32 +00:00
Mark Fisher
5d5f502e8e Removed BlockingSource (unused). 2008-10-01 18:47:42 +00:00
Jonas Partner
7843007930 refactored namespace support for xpath-router and xpath-selector 2008-10-01 17:21:32 +00:00
Jonas Partner
13100735e0 XPathExpression namespace support 2008-10-01 13:38:53 +00:00
Jonas Partner
8cc19d88b1 OPEN - issue INT-309: XPath Message Selector
http://jira.springframework.org/browse/INT-309
namespace support
2008-10-01 12:28:27 +00:00
Jonas Partner
1b4598568c OPEN - issue INT-309: XPath Message Selector
http://jira.springframework.org/browse/INT-309
Throw messaging exception if XPathSingleChannelNameResolver evaluation returns empty string
2008-09-30 09:36:10 +00:00
Jonas Partner
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
2008-09-30 09:20:06 +00:00
Mark Fisher
8cea74f062 Using Asserts with IllegalArgumentException/IllegalStateException instead of ConfigurationException. 2008-09-30 03:44:40 +00:00
Mark Fisher
590d346f08 Simplified router hierarchy and only implementing ChannelRegistryAware for routers that resolve channel names. 2008-09-29 20:59:17 +00:00