Commit Graph

7448 Commits

Author SHA1 Message Date
Mark Fisher
06f4e1d011 Added support for a 'filename-pattern' attribute on <file-source/>. It creates a RegexPatternFilenameFilter instance and sets it on the FileSource (INT-252). 2008-07-05 23:49:23 +00:00
Mark Fisher
5d25b93461 ChannelFactory now accepts the channel name (INT-280). 2008-07-05 22:59:25 +00:00
Mark Fisher
9b787a0d5a MessageBus now does a second pass to pick up any MessageChannel that has been provided between the setApplicationContext callback and the ContextRefreshedEvent (INT-270). 2008-07-05 22:26:11 +00:00
Mark Fisher
248209bf00 Annotation-based aggregator methods now use the output channel specified in a class-level @MessageEndpoint annotation. The 'defaultReplyChannel' property is no longer available on the @Aggregator annotation itself (INT-274). 2008-07-05 21:57:25 +00:00
Mark Fisher
f479a877b3 Removed TargetEndpointParser. 2008-07-05 21:16:27 +00:00
Mark Fisher
3747de3c7a Modified demos to replace 'target-endpoint' with 'channel-adapter' elements. 2008-07-05 20:14:42 +00:00
Mark Fisher
1a6448b3d8 Changed 'target-endpoint' to 'channel-adapter'. 2008-07-05 20:07:35 +00:00
Mark Fisher
b2be3f4d58 Changed 'source-endpoint' to 'channel-adapter'. 2008-07-05 20:04:37 +00:00
Mark Fisher
5a40f17826 Both "source-endpoint" and "target-endpoint" elements are now configured as <channel-adapter/>. That element requires exactly one of "source" or "target" and optionally accepts a "method" attribute for creating either a MethodInvokingSource or a MethodInvokingTarget (INT-277). 2008-07-05 20:02:12 +00:00
Mark Fisher
63c8c2a30f CafeDemo now demonstrates the <concurrency-interceptor/>. 2008-07-05 18:53:46 +00:00
Mark Fisher
6cb6347b82 Endpoint now throws MessageRejectedException when a MessageSelector rejects a Message. 2008-07-05 18:39:11 +00:00
Mark Fisher
f6de774110 Now invokes the transformer in 'preSend' instead of 'postSend'. 2008-07-05 16:56:05 +00:00
Jonas Partner
e1dca0ff9f ChannelInterceptor which allows transformation on send or receive from a channel 2008-07-05 13:42:32 +00:00
Jonas Partner
13109856f4 use static initialiser to set the custom security strategy 2008-07-05 12:59:10 +00:00
Mark Fisher
bd5d71120f Added CallerRunsPolicy and threadNamePrefix for default MessageBus taskScheduler and ConcurrencyInterceptor. 2008-07-04 23:32:27 +00:00
Mark Fisher
71da892bcb Removed the Subscription class. 2008-07-04 22:39:18 +00:00
Mark Fisher
96b22fd01b Removing usage of the Subscription object, and resolved issue with 'auto-create' channels for SourceEndpoints (INT-235). 2008-07-04 21:31:25 +00:00
Mark Fisher
0aa00b969b Major refactoring of endpoint subscription, scheduling, and activation. This includes significant changes to the dispatcher implementations and the addition of endpoint "triggers" to drive polling and dispatching of messages. Also introduces an explicit PublishSubscribeChannel implementation and thereby removes support for the "publish-subscribe" attribute from channel elements in the namespace. 2008-07-04 18:48:33 +00:00
Jonas Partner
218da1aacf fixed warning 2008-07-03 20:05:48 +00:00
Jonas Partner
36343b4e1d Separated the OXM marshalling and unmarshalling transformer
Added source and result factories
2008-07-03 19:54:55 +00:00
Mark Fisher
25bcd05293 Added tests for SimpleMessagingGateway. 2008-07-03 17:47:07 +00:00
Mark Fisher
7d8a6c0f84 Removed unnecessary lifecycle calls. 2008-07-03 16:26:49 +00:00
Mark Fisher
acbde74691 Changed default receiveTimeout to 5000 ms (was -1 for indefinite blocking). 2008-07-03 16:26:23 +00:00
Mark Fisher
aa1629b7cc Add cancellation of tasks in the stop() method. 2008-07-03 15:50:29 +00:00
Jonas Partner
27ac25ed33 Namespace support for endpoint interceptor security 2008-07-03 14:21:08 +00:00
Mark Fisher
c59bbe767a Changed instance variable name to 'methodName' to match the 'setMethodName' method definition. 2008-07-02 23:31:34 +00:00
Mark Fisher
d998095421 Removed 'maxMessagesPerTask' and 'receiveTimeout' properties from DispatcherPolicy and added those same properties to PollingDispatcherTask. The MessageDispatcher interface now extends the MessageTarget interface. Therefore, the 'dispatch(Message)' method has been replaced with 'send(Message)'. 2008-07-02 22:56:00 +00:00
Jonas Partner
7cefe22b96 changed MethodInvoking Soure and Targt to take a string via a a property methodName (fix for INT-272) 2008-07-02 19:29:25 +00:00
Mark Fisher
ab858ee247 Refactored MessagingTaskScheduler to support cancellation and renamed 'TaskScheduler'. 2008-07-02 18:42:33 +00:00
Mark Fisher
af8ae9780b Setting correlationId (if not already present) when processing aggregated Messages. 2008-07-02 03:28:16 +00:00
Mark Fisher
65ba407e84 Refactored MessageBus to accept a MessagingTaskScheduler instead of setting the ScheduledExecutorService directly. The SimpleMessagingTaskScheduler does not shutdown the executor until 'destroy' is called. The 'stop' call only prevents task submission until the next invocation of 'start' on the scheduler. 2008-07-02 02:37:13 +00:00
Mark Fisher
85133ae370 Added tests for transaction propagation. 2008-07-02 01:04:25 +00:00
Mark Fisher
b39865606a Added calls to sourceEndpoint.afterPropertiesSet() in tests. 2008-07-01 23:31:33 +00:00
Mark Fisher
570cee8f9b Refactoring lifecycle code for endpoint hierarchy. 2008-07-01 23:01:42 +00:00
Mark Fisher
9dad71117b Added TransactionInterceptorTests. 2008-07-01 22:04:17 +00:00
Mark Fisher
d0fe157d0a Added EndpointInterceptorParser helper class to improve organization of EndpointInterceptor parsing logic. 2008-07-01 20:47:53 +00:00
Mark Fisher
3d2bb5173a SecurityEndpointInterceptor no longer uses a temporary version of the EndpointInterceptor. 2008-07-01 20:36:08 +00:00
Mark Fisher
71c35ee513 Removed parsing instructions for deleted properties (concurrencyPolicy and errorHandler). 2008-07-01 19:49:48 +00:00
Mark Fisher
f3f7daa201 Replaced ConcurrentTarget and the <concurrency/> element with ConcurrencyInterceptor. 2008-07-01 19:38:55 +00:00
Mark Fisher
117973082e Renamed 'advice-chain' element to 'interceptors'. 2008-07-01 14:01:37 +00:00
Mark Fisher
486df85a68 Added namespace support for Endpoint interceptors including TransactionInterceptor (INT-85). 2008-07-01 13:59:02 +00:00
Mark Fisher
908966d975 Renamed Target to MessageTarget. 2008-06-30 23:23:04 +00:00
Mark Fisher
504b101213 Increased timeout for test method. 2008-06-30 23:05:58 +00:00
Mark Fisher
5235537c80 Renamed Source to MessageSource. 2008-06-30 22:57:23 +00:00
Mark Fisher
07b2179baa Added support for interceptors on MessageEndpoints. 2008-06-30 22:26:04 +00:00
Jonas Partner
f9ad394850 interceptor for securing endpoints based on new endpoint interception model
namespace support to follow
2008-06-27 17:47:17 +00:00
Jonas Partner
8623920db5 refactoring of pattern matching for targets and channels 2008-06-26 12:38:23 +00:00
Jonas Partner
6812c7eb2e tidied up a few warnings 2008-06-26 09:22:43 +00:00
Mark Fisher
c18ec83cbf Added 'waitForTasksToCompleteOnShutdown' property to SimpleMessagingTaskScheduler with a default value of 'true' (INT-268). 2008-06-25 21:20:09 +00:00
Jonas Partner
5ff1ab6b42 added some missing source attachments 2008-06-25 18:51:14 +00:00