Mark Fisher
3a2988e913
INT-652
2009-05-18 22:01:27 +00:00
Iwein Fuld
51142a0cd9
Hammered out some compiler warnings
2009-03-23 16:14:05 +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
9ab1e73996
Removing TODOs.
2008-11-25 21:32:20 +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
f4e92104aa
fixed some warnings
2008-11-17 20:10:56 +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
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
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
515ed698a6
Renamed SubscribingConsumerEndpoint to EventDrivenConsumer.
2008-11-03 14:41:53 +00:00
Mark Fisher
39a8486ac8
Refactored MessageConsumer with onMessage to MessageHandler with handleMessage.
2008-11-03 14:17:53 +00:00
Mark Fisher
27604d3707
Refactored ResultFactoryResultTypeHelper into XmlNamespaceUtils.
2008-10-28 20:07:56 +00:00
Jonas Partner
c08cb7a437
JAXB integration test for OXM based marshallig and unmrshalling transformers
2008-10-22 07:38:40 +00:00
Jonas Partner
8a59e6ab41
added support for pollers to schema
2008-10-18 18:52:10 +00:00
Mark Fisher
3b7ff7c188
Removed unnecessary sleep (inputChannel is a DirectChannel).
2008-10-15 03:47:34 +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
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
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
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
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