Commit Graph

40 Commits

Author SHA1 Message Date
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
39a8486ac8 Refactored MessageConsumer with onMessage to MessageHandler with handleMessage. 2008-11-03 14:17:53 +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
08043b541d Moved Message into the new 'org.springframework.integration.core' package. 2008-10-15 02:54:29 +00:00
Mark Fisher
109343d14e Moved MessageSelector interface and implementations into a new 'org.springframework.integration.selector' package (instead of a sub-package under 'message'). Also added support for "Strategy" enum in MessageSelector with the following values available [ALL, ANY, AT_LEAST_HALF, MORE_THAN_HALF] (INT-308). 2008-10-14 16:16:55 +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
8cea74f062 Using Asserts with IllegalArgumentException/IllegalStateException instead of ConfigurationException. 2008-09-30 03:44:40 +00:00
Mark Fisher
f55336ba55 Renamed SecurityTestUtil to SecurityTestUtils. 2008-09-29 02:23:00 +00:00
Mark Fisher
121c7a65b1 Moved all security code other than ChannelSecurityInterceptor (including endpoint interceptor and securityContext propagation) to the sandbox prior to 1.0. 2008-09-29 02:16:50 +00:00
Mark Fisher
648ae40605 Modified channel-adapter configuration in tests. 2008-09-24 02:08:14 +00:00
Mark Fisher
0f8db4f9f8 Adjusted namespace for consistency (added '/security/' to the path) 2008-09-19 22:38:56 +00:00
Mark Fisher
2d66b2b67d Refactored MethodInvokingTarget to MethodInvokingConsumer including changes to OutboundChannelAdapter. 2008-09-19 19:55:47 +00:00
Mark Fisher
7615f3c1a6 Added ChannelSecurityInterceptor as a replacement for SecurityEnforcingChannelInterceptor. It is a subclass of AbstractSecurityInterceptor. Also added the ChannelInvocationDefinitionSource, ChannelInvocation (the secured object), and ChannelAccessPolicy. 2008-09-19 18:18:39 +00:00
Mark Fisher
9b451eca65 formatting 2008-09-15 13:02:51 +00:00
Mark Fisher
fa05d14865 Test handler no longer implements MessageHandler interface. 2008-09-05 19:47:38 +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
Mark Fisher
b4701c0150 SimpleDispatcher no longer wraps a MessagingException inside of a MessageDeliveryException (part of INT-337). 2008-08-18 19:04:46 +00:00
Mark Fisher
80935d3bd0 Removed support for 'auto-create-channels' on the MessageBus. All channels must be explicitly created and registered with the bus (INT-247). 2008-08-18 17:36:13 +00:00
Mark Fisher
8732ac26b4 Updated service-activator to use new SimpleEndpoint and DefaultMessageHandler. Modified EndpointInterceptor for preHandle/aroundHandle/postHandle with access-to and return-values-for the request/reply Messages. 2008-08-11 19:39:42 +00:00
Mark Fisher
951226346a The <channel-adapter/> now actually creates a channel instance rather than requiring another distinct channel object. Instead of configuring the poller on the channel-adapter, it is currently to be configured on the consuming endpoint just as if the <channel-adapter/> were any other pollable channel (e.g. <queue-channel/>). 2008-08-01 23:11:56 +00:00
Mark Fisher
fa58dc9457 Split MessageSource types into 2 sub-interfaces: PollableSource and SubscribableSource. The MessageChannel hierarchy has also been revised accordingly. DirectChannel and PublishSubscribeChannel are now SubscribableSources, while the other queue-based channels are PollableSources. The PollableChannel interface extends BlockingSource which in turn is an extension of PollableSource that adds timeout-aware methods. 2008-07-30 20:48:00 +00:00
Mark Fisher
2c95306f63 Added MessageHeaders and MessageBuilder. Messages are now immutable (including header maps). 2008-07-17 22:58:56 +00:00
Mark Fisher
8dfe625163 Moved ChannelRegistryAware and InitializingBean interfaces to the AbstractEndpoint class declaration instead of the MessageEndpoint interface. 2008-07-16 01:38:41 +00:00
Mark Fisher
d344504e38 Message payload can no longer be set. MessageTransformer's transform() method now returns a Message (instead of void). ChannelInterceptor preSend() and postReceive() methods now return a Message instead of boolean. 2008-07-15 22:43:47 +00:00
Mark Fisher
a04b940de6 Refactored interceptors to use EndpointInterceptor interface rather than Advice. 2008-07-09 12:24:33 +00:00
Mark Fisher
f96d4b8d88 Removed DispatcherPolicy (INT-292). 2008-07-08 02:18:41 +00:00
Mark Fisher
590f7e9f26 Consolidated security parsers into the main 'config' package (avoids a tangle). 2008-07-07 01:54:41 +00:00
Mark Fisher
1a6448b3d8 Changed 'target-endpoint' to 'channel-adapter'. 2008-07-05 20:07:35 +00:00
Jonas Partner
13109856f4 use static initialiser to set the custom security strategy 2008-07-05 12:59:10 +00:00
Jonas Partner
27ac25ed33 Namespace support for endpoint interceptor security 2008-07-03 14:21:08 +00:00
Mark Fisher
3d2bb5173a SecurityEndpointInterceptor no longer uses a temporary version of the EndpointInterceptor. 2008-07-01 20:36:08 +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
Jonas Partner
53ceb3f5c7 target securing advice 2008-06-25 17:41:46 +00:00
Jonas Partner
5709c4e144 refactored security namespace to use separate schema 2008-06-25 17:29:32 +00:00
Jonas Partner
77faf4fe5e fixed bug in stack security strategy which was not removing the context correctly 2008-06-20 14:56:20 +00:00
Jonas Partner
5c8e41c54a removed Java 1.6 calls to pop and push 2008-06-20 14:29:56 +00:00
Jonas Partner
ad77d46d41 Added stack based context holder strategy to cope with direct channels 2008-06-20 11:16:26 +00:00
Mark Fisher
352a3f6c29 Added support for secured channels and SecurityContext propagation within messages (INT-117). 2008-06-06 00:05:07 +00:00