Commit Graph

51 Commits

Author SHA1 Message Date
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
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
d8778de0e5 Updated manifest templates for Spring 2.5.5.A 2008-08-14 20:21:58 +00:00
Mark Fisher
c02bfd4a49 Upgraded to Spring 2.5.5.A (INT-336). 2008-08-14 19:58:32 +00:00
Mark Fisher
8c8f5dbd49 The commons-net and apache oro dependencies are now configured as "optional->runtime" in ivy.xml (INT-297). 2008-08-14 19:11:38 +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
Jonas Partner
99d26a5b04 fix for INT-324 2008-08-07 14:48:32 +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
b37a4d8f12 Removed MessageTransformer due to the redundancy with MessageHandler (now that Messages are immutable). Refactored existing transformers to implement PayloadTransformer instead. All message handling is now the responsibility of the delegating PayloadTransformingMessageHandler. Also added the AbstractPaylaodTransformerParser from which all existing PayloadTransformer parsers now extend. 2008-07-18 20:12:59 +00:00
Mark Fisher
d854a8e9d8 Added MessageHeaders and MessageBuilder. Messages are now immutable (including header maps). 2008-07-17 23:08:53 +00:00
Jonas Partner
b9ea75ea98 Namespace support for XPathRouter INT-300 2008-07-17 09:06:56 +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
Jonas Partner
1b98a3e647 INT-300 XPathRouter
Name space support to follow
2008-07-15 16:44:12 +00:00
Jonas Partner
c0eecad7df Namespace support for XSLT transformer 2008-07-07 07:30:32 +00:00
Jonas Partner
2128c1e21e added Result transformer INT-286
Refactored OXM transformer creating separate marshalling and unamarshalling transformers and added namespace support INT-109
2008-07-06 20:35:31 +00:00
Jonas Partner
218da1aacf fixed warning 2008-07-03 20:05:48 +00:00
Jonas Partner
36343b4e1d Separated the OXM marshalling and unmarshalling transformer
Added source and result factories
2008-07-03 19:54:55 +00:00
Mark Fisher
fe6125db26 Changed inter-project dependency version ranges from "[1.0.0, 1.0.0]" to "[1.0.0, 1.0.1)" (INT-248). 2008-06-25 18:06:33 +00:00
Mark Fisher
a2a40bca4d formatting 2008-06-25 13:44:34 +00:00
Jonas Partner
8eaef06676 add import of org.springframework.core 2008-06-25 10:49:02 +00:00
Jonas Partner
061c09e6a9 Simple Xslt payload transformer 2008-06-25 10:36:57 +00:00
Mark Fisher
875256f118 Added XmlPayloadMarshallingTransformer delegating to a Spring OXM Marshaller and/or Unmarshaller (INT-109). 2008-06-24 19:23:30 +00:00