Commit Graph

392 Commits

Author SHA1 Message Date
Mark Fisher
f7f1e2cbf6 INT-533 2008-12-18 17:21:45 +00:00
Mark Fisher
17d0b27230 Added support for 'advice-chain' sub-element for the 'poller' element (INT-503). 2008-12-16 23:02:21 +00:00
Mark Fisher
36ef3d32cb INT-521 2008-12-15 22:00:39 +00:00
Mark Fisher
17849dbdea INT-519 2008-12-15 15:02:10 +00:00
Mark Fisher
88dd7f805d Added namespace support for PayloadDeserializingTransformer (INT-517). 2008-12-12 21:48:42 +00:00
Mark Fisher
5e70d0d3c3 Added namespace support for PayloadSerializingTransformer (INT-517). 2008-12-12 21:33:52 +00:00
Mark Fisher
9f22033303 Added namespace support for ObjectToStringTransformer (INT-516). 2008-12-12 21:13:09 +00:00
Mark Fisher
b1881f7b95 Added PayloadSerializingTransformer and PayloadDeserializingTransformer (INT-513). 2008-12-12 20:26:30 +00:00
Mark Fisher
65a2405104 Added ObjectToStringTransformer (INT-514). 2008-12-12 19:45:34 +00:00
Mark Fisher
bc4a20f6c5 All pre-defined internal header names are now valid Java identifiers. Dot delimiters have been replaced by underscores, and hyphenated names are now camelCase. The SimpleHeaderEnricherParser uses Conventions.attributeToPropertyName(). The attributes are now legal for passing as JMS properties (INT-511). 2008-12-09 21:32:29 +00:00
Mark Fisher
c053656af9 INT-506 2008-12-08 22:04:14 +00:00
Mark Fisher
b2ec607634 Added Method resolution for Message-typed parameters including Message implementations and resolution of Message payloads based on parameterized type (INT-504). 2008-12-08 21:34:04 +00:00
Mark Fisher
2c2a1be8ae Removed the MethodResolver interface and the DefaultMethodResolver and AnnotationMethodResolver classes. Only MethodInvokingAggregator was still using those, so that logic is now encapsulated there. If we find a need for this in the future, we can consider exposing it again, but for now it's less clutter for the API. 2008-11-26 15:36:25 +00:00
Mark Fisher
f572b370f3 An explicit 'trigger' property is now required for the AbstractPollingEndpoint. It no longer creates an arbitrary default. 2008-11-25 21:27:12 +00:00
Mark Fisher
dbc079ebe6 Test was accidentally left out of commit. 2008-11-25 20:31:26 +00:00
Mark Fisher
0e5b4bcb50 Removing the @Poller annotation. Now, any Annotation-based endpoint must have a SubscribableChannel reference for its inputChannel. If necessary, the new <bridge/> element can be used to convert PollableChannels to SubscribableChannels. 2008-11-25 19:45:16 +00:00
Mark Fisher
d28414d2c3 Added SourcePollingChannelAdapterFactoryBean. The 'poller' element is now required for inbound-channel-adapter elements unless a default poller has been configured. 2008-11-25 04:10:17 +00:00
Mark Fisher
f7d98d1f78 Moved ErrorHandlingTaskExecutor to the util package. 2008-11-24 22:59:00 +00:00
Mark Fisher
024c734333 Increased test timeout value. 2008-11-24 21:42:52 +00:00
Mark Fisher
79fdb179fc Added support for a top-level 'poller' element. A single top-level poller may have a value of 'default=true'. When using the namespace support, endpoints with pollable input-channels are now required to have an explicit poller sub-element or a 'default' poller within the context. The sub-element now also accepts a "ref" (INT-390). 2008-11-24 21:37:18 +00:00
Marius Bogoevici
3ee1e4921e INT-238, INT-371 Clean up aggregator code, solve some robustness issues 2008-11-23 07:44:18 +00:00
Mark Fisher
f69d774e09 The default IntervalTrigger (with interval of 10ms) is being configured within the AbstractPollingEndpoint only. The ConsumerEndpointFactoryBean no longer provides a default trigger but rather only passes along a non-null trigger property if one is configured on the bean definition. 2008-11-23 04:19:15 +00:00
Mark Fisher
83e15fbb9b formatting, etc 2008-11-23 04:12:29 +00:00
Mark Fisher
55c62a06e6 Added namespace support for a 'bridge' element that simply connects any input-channel to any output-channel. This enables the conversion between PollableChannels and SubscribableChannels and also provides throttling capabilities based on the polling interval (or cron-expression) and 'max-messages-per-poll' settings (INT-193). 2008-11-22 22:03:36 +00:00
Mark Fisher
f6e1463a42 Increased test timeout value. 2008-11-22 18:51:19 +00:00
Mark Fisher
abb370b257 Added the 'header-enricher' element to the core namespace (INT-489). 2008-11-22 15:43:39 +00:00
Mark Fisher
b53d96ba1e Added support for the 'throw-exception-on-rejection' attribute for the 'filter' element. 2008-11-21 22:52:11 +00:00
Mark Fisher
2b166d6471 INT-487 2008-11-21 22:03:27 +00:00
Mark Fisher
bbd58b830f INT-484 2008-11-21 16:05:53 +00:00
Mark Fisher
b4178d3740 Initial commit of MessageHandlerChain (INT-391). 2008-11-20 15:04:44 +00:00
Mark Fisher
8e09a38ce9 Added 'max-size' attributes to test configurations of the 'thread-pool-task-executor' element. 2008-11-19 18:50:03 +00:00
Mark Fisher
3d13f7e954 Increased test receive timeout value. 2008-11-19 17:09:10 +00:00
Mark Fisher
85d429d29f PublishSubscribeChannel now wraps a provided TaskExecutor with the ErrorHandlingTaskExecutor if necessary (INT-440). Also, added namespace support for the publish-subscribe-channel's 'error-handler' reference (INT-483). 2008-11-19 16:53:25 +00:00
Mark Fisher
8ca2c3227b MessageMappingMethodInvoker now delegates to an instance of HandlerMethodResolver. Multiple annotated methods or method name matches are possible, and in such cases, the Method-resolution will occur at runtime based on the payload type of the Message to be handled (INT-72 and INT-191). 2008-11-18 19:42:56 +00:00
Mark Fisher
38e3fae8c1 Added PayloadTypeMatchingHandlerMethodResolver. 2008-11-18 18:59:09 +00:00
Mark Fisher
637e124add Added StaticHandlerMethodResolver. 2008-11-18 17:30:52 +00:00
Mark Fisher
bd16a126c4 Moved MessageMappingMethodInvoker to the 'handler' package instead of 'message'. 2008-11-17 21:48:07 +00:00
Jonas Partner
14ef15af8f remove unused proxy 2008-11-13 22:25:05 +00:00
Jonas Partner
f8aff7d281 2008-11-13 22:11:07 +00:00
Mark Fisher
f5cc9b3591 Removed the MessageEndpoint interface (it defined no methods). AbstractEndpoint is still the base class for all Message-producing and Message-consuming components. 2008-11-13 02:15:25 +00:00
Mark Fisher
0ef08a42ba PriorityChannel now uses a null semaphore to indicate an unbounded queue rather than relying on Integer.MAX_VALUE. 2008-11-12 16:56:09 +00:00
Mark Fisher
fb52ef630c INT-465 2008-11-12 15:57:11 +00:00
Mark Fisher
6771eaea23 The 'enable-annotations' element is now <annotation-config/>. 2008-11-11 23:35:12 +00:00
Mark Fisher
818226069f Added tests for explicitly defined TaskScheduler. 2008-11-11 23:20:09 +00:00
Mark Fisher
fea222b37f The <message-bus/> element is no longer necessary. It has been removed from the XSD (INT-462). The annotations are enabled by a separate element, and the application-event-multicaster element is also now separate. 2008-11-11 23:08:45 +00:00
Mark Fisher
f4ccde6257 Message Endpoints and the SimpleTaskScheduler now manage their own lifecycles. The ApplicationContextMessageBus is no longer necessary (part of INT-462). The MessagePublishingErrorHandler now detects the default error channel within the beanFactory if necessary (INT-464). 2008-11-11 20:11:21 +00:00
Iwein Fuld
396e9e179f resolved warning left over earlier 2008-11-05 10:11:53 +00:00
Mark Fisher
4b64978bdd Renamed MethodInvokingSource to MethodInvokingMessageSource. 2008-11-03 15:45:46 +00:00
Mark Fisher
ef1b7fe54b Moved classes from 'consumer' package to 'handler'. 2008-11-03 15:06:45 +00:00
Mark Fisher
515ed698a6 Renamed SubscribingConsumerEndpoint to EventDrivenConsumer. 2008-11-03 14:41:53 +00:00