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
9ab1e73996
Removing TODOs.
2008-11-25 21:32:20 +00:00
Jonas Partner
c79ffc6635
fix for INT-491
2008-11-22 20:18:41 +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
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
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
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
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
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
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
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
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
ba9c086aea
Added Router strategy interface, and refactored Message-routing support in general to avoid MessageHandler.
2008-08-28 18:46:36 +00:00
Mark Fisher
023bf6cbd8
Removed the 'resolution-required' attribute for xpath-router (it is being refactored as a responsibility of the RouterEndpoint rather than individual Router implementations).
2008-08-28 18:22:04 +00:00
Jonas Partner
17832c2913
added ResultToStringTransformer
2008-08-19 16:36:39 +00:00
Jonas Partner
6c76f5b3bd
modified unmarshalling transformer to support payloads consistently with xslt transformer INT-311
2008-08-19 12:33:46 +00:00
Jonas Partner
94746fb6a4
Updated logic to make it easier to wrok with XML as Document and String payloads INT-311
2008-08-19 08:42:55 +00:00
Jonas Partner
d03c985e44
switched source tests to use xml unit
2008-08-18 11:12:10 +00:00
Mark Fisher
73a848046a
Removed the name parameter from channelRegistry.registerChannel() since the MessageChannel interface already defines getName(). Removed the setName() method from the MessageChannel interface. Removed the 'error-channel' attribute from the <message-bus/> element and the setErrorChannel() method from MessageBus. The "errorChannel" name is now sufficient for configuration.
2008-08-14 19:00:44 +00:00
Jonas Partner
fbb5123e8e
tests for StringSourceFactory
2008-08-07 15:04:33 +00:00