68 Commits

Author SHA1 Message Date
Mark Fisher
22193b378e INT-977 updated spring.schemas to include mappings for versionless schema URIs starting with Spring Integration version 1.0.4 2010-04-12 21:18:02 +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
098693ad2e INT-695 Moved all schemas to src/main/resources 2009-06-30 18:48:40 +00:00
Mark Fisher
3a2988e913 INT-652 2009-05-18 22:01:27 +00:00
Jonas Partner
fca5ae5501 resolves INT-582
Includes refactoring of router hierarchy to avoid duplication of channel resolution logic
Subclasses of AbstractChannelNameResolvingMessageRouter can return MessageChannel , MessageChannel[], collection ... in addition to String
MethodInvokingRouter now extends AbstractChannelNameResolvingMessageRouter and is simplified as a result
2009-02-22 10:34:43 +00:00
Jonas Partner
59ed94a3da resolves INT-577 by adding namespace support for setting of default output channel 2009-02-19 10:08:55 +00:00
Jonas Partner
d65d6d7c49 INT-558 XmlPayloadValidatingRouter 2009-02-16 13:13:55 +00:00
Mark Fisher
fd9065b89e Added tool annotations to the xml schema (INT-114). 2008-12-17 03:41:50 +00:00
Mark Fisher
20f9cbff65 XmlNamespaceUtils is now package-private. 2008-12-11 18:56:54 +00:00
Mark Fisher
9463290328 Transformer parsers now implement getTransformerClassName() to return a String instead of returning Class instances with getTransformerClass(). This avoids the loading of Classes that may lead to dependencies not available for the tools (INT-114). 2008-12-10 23:47:05 +00:00
Mark Fisher
9d49d2b21b Modified schema so that 'input-channel' and 'output-channel' attributes are not required. This will enable those elements to be used within a top-level 'chain' element. 2008-11-24 21:45:42 +00:00
Jonas Partner
c79ffc6635 fix for INT-491 2008-11-22 20:18:41 +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
Jonas Partner
b730a0ddc5 added namespace support for setting resolution required attribute and providing a custom ChannelResolver
SingleChannelRouter also now returns null when the xpath expression evaluates to empty String
INT-360
2008-11-13 20:14:56 +00:00
Mark Fisher
f54b27bd7b INT-302 2008-11-12 17:39:52 +00:00
Marius Bogoevici
33d3dc4601 INT-461: changed the order in which the constructor arguments for the *XPathMessageSelector are provided (to match the actual constructor), the current constructor resolution on bean creation is ambiguous. 2008-11-07 14:47:20 +00:00
Jonas Partner
5d7a3332c1 fix and test for INT-453 2008-11-04 19:56:51 +00:00
Mark Fisher
27604d3707 Refactored ResultFactoryResultTypeHelper into XmlNamespaceUtils. 2008-10-28 20:07:56 +00:00
Jonas Partner
8a59e6ab41 added support for pollers to schema 2008-10-18 18:52:10 +00:00
Mark Fisher
ebcccdc5c9 Moved MessagingException into the new 'org.springframework.integration.core' package. 2008-10-15 03:28:50 +00:00
Mark Fisher
08043b541d Moved Message into the new 'org.springframework.integration.core' package. 2008-10-15 02:54:29 +00:00
Jonas Partner
3fe03c9020 refactored XPathRouter namespace to accept an input-channel parser now extends AbstractConsumerEndpointParser 2008-10-14 18:30:23 +00:00
Jonas Partner
2eb46a82be Refactored XPath namespace support to allow input-channel and output-channel parser now extends AbstractConsumerEndpointParser 2008-10-14 17:49:44 +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
Jonas Partner
4de01bc09b 2008-10-13 19:55:33 +00:00
Mark Fisher
b34e416093 The router hierarchy abstract method names are now 'determineTargetChannel', 'determineTargetChannelNames', etc (instead of "resolve..."). This clarifies the distinction between the target channel decision and the resolution of a channel *name* to a channel instance. The latter is now the responsibility of a ChannelResolver strategy, and all subclasses of AbstractChannelNameResolvingMessageRouter now delegate to a ChannelResolver after 'determineTargetChannelNames' has returned the channel name(s). In most cases, it will be a BeanFactoryChannelResolver. 2008-10-12 17:58:36 +00:00
Mark Fisher
0754889c5c ChannelMapping is now ChannelResolver, the BeanNameChannelResolver implementation is now BeanFactoryChannelResolver, and the AbstractChannelMappingMessageRouter base class is now AbstractChannelNameResolvingMessageRouter. The naming is primarily intended to be consistent with DestinationResolver in Spring's JMS support with the ChannelResolver's method name being 'resolveChannelName()' and its return value being a MessageChannel instance. Also, added a ChannelResolutionException. 2008-10-12 17:15:29 +00:00
Mark Fisher
cb90d39657 Refactored router hierarchy by adding an AbstractMessageRouter base class and removing the ChannelResolver delegation. The routers that return channel names now accept a ChannelMapping strategy. The BeanNameChannelMapping is typically used as a default. The mapping routers also support "prefix" and "suffix" properties. 2008-10-10 23:47:22 +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
11e53cf7e7 Moved GatewayParser, AbstractTransformerParser, and SimpleHeaderEnricherParser into org.springframework.integration.config to avoid dependency cycles. 2008-10-10 17:11:18 +00:00
Mark Fisher
bdb4a866c8 Removed ConfigurationException. 2008-10-10 01:52:35 +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
Jonas Partner
ddc2e1cda9 OPEN - issue INT-388: XPath message splitter
First pass implementation no namespace support
2008-10-01 20:08:27 +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
590d346f08 Simplified router hierarchy and only implementing ChannelRegistryAware for routers that resolve channel names. 2008-09-29 20:59:17 +00:00
Jonas Partner
f0d6a78c0c Added comment to indicate that this class is thread safe 2008-09-29 16:36:35 +00:00
Jonas Partner
d03bb7ae5a OPEN - issue INT-309: XPath Message Selector
Added XPAth MessageSelector namespace to follow
2008-09-29 16:07:44 +00:00
Jonas Partner
6cda0b8e7c Added support for String payloads to XPath Routers 2008-09-29 14:26:02 +00:00
Jonas Partner
5bf96eeb08 OPEN - issue INT-310: XML Document Builders Not Namespace Aware
set default on document builders to be namespace aware
2008-09-29 12:48:25 +00:00
Mark Fisher
f2b7353165 Added namespace support for FileToStringTransformer and FileToByteArrayTransformer. 2008-09-26 18:27:22 +00:00
Mark Fisher
959b906f4e AbstractTransformerParser now creates the actual endpoint rather than requiring a "ref" to an object that implements Transformer. Therefore the element being parsed must provide 'input-channel' and 'output-channel'. 2008-09-26 17:42:11 +00:00
Mark Fisher
4be8c8c775 Changed target namespace for the XML module from "integration-xml" to "integration/xml". 2008-09-22 17:24:15 +00:00
Jonas Partner
a09ae498f0 Standardised support for result-factory ad result-type across XmlMarshallingTransfromer and XsltPayloadTransformer 2008-09-22 11:34:18 +00:00
Jonas Partner
46a8c311d6 Added ability to specify a result-factory rather than a result-type on XmlPayloadMarshallingTransformer
relates to 
INT-310: XML Document Builders Not Namespace Aware
2008-09-22 11:09:48 +00:00
Mark Fisher
40fc9c207d RouterEndpoint now delegates directly to a single ChannelResolver strategy. This removes the extra level of indirection that was provided by the Router interface. Also, instead of providing multiple ChannelResolver strategy interfaces, the name-resolving and single-channel implementations are now available as abstract base classes. 2008-09-04 01:55:32 +00:00
Mark Fisher
3d27d78084 Refactored payload and header transformers to use abstract base classes. 2008-09-03 05:05:04 +00:00