Commit Graph

75 Commits

Author SHA1 Message Date
Jonas Partner
5d7a3332c1 fix and test for INT-453 2008-11-04 19:56:51 +00:00
Mark Fisher
12100af7c6 Added excludes for dependencies 2008-11-03 17:41:36 +00:00
Mark Fisher
c6fcd68819 Updated javax.activation versions to 1.1.1 2008-11-03 16:01:54 +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
8279cce04d Upgraded dependencies to Spring 2.5.6 (INT-446). 2008-11-02 16:12:07 +00:00
Mark Fisher
27604d3707 Refactored ResultFactoryResultTypeHelper into XmlNamespaceUtils. 2008-10-28 20:07:56 +00:00
Mark Fisher
7dd871b652 Added javax.activation, javax.xml.stream, and com.sun.xml.bind dependencies to .classpath. 2008-10-27 14:52:12 +00:00
Jonas Partner
08ff6f92ca added java.xml.bind to Eclipse classpath 2008-10-27 11:30:20 +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
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
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
Mark Fisher
947a0e546f Upgraded Spring-WS, XML, and OXM to version 1.5.4.A (INT-346). 2008-08-19 13:51:25 +00:00