9b0adceaec
The mailSender is now a <constructor-arg/> rather than <property/>.
Mark Fisher
2008-03-05 22:02:52 +00:00
f1c0b169fb
Added DefaultMailHeaderGenerator (INT-142).
Mark Fisher
2008-03-05 21:55:35 +00:00
8b7c1c3c35
Added the MessagePriority enum (INT-141).
Mark Fisher
2008-03-05 21:11:11 +00:00
753ce56354
Added @Concurrency Annotation (INT-118).
Mark Fisher
2008-03-05 20:42:51 +00:00
4d6292b35a
Added test for a <priority-channel/> with "datatype" attribute. Also, the MessageSelectingInterceptor now provides the rejected Message to the MessageDeliveryException.
Mark Fisher
2008-03-04 22:46:22 +00:00
1bed4b19e9
Added namespace support for <priority-channel/> (INT-131).
Mark Fisher
2008-03-04 22:24:55 +00:00
0d8dc5ba81
ChannelPurger now accepts more than one MessageChannel (with a varargs constructor).
Mark Fisher
2008-03-04 18:54:20 +00:00
e3a018fa74
FileSource now only passes results that are actual files (not directories).
Mark Fisher
2008-03-04 18:08:43 +00:00
41e6befa23
MessageEndpointAnnotationPostProcessor now requires 'messageBus' as a constructor-arg (rather than setter).
Mark Fisher
2008-03-04 17:25:58 +00:00
f987d920aa
Add test method reflecting the fact that the only type of parameter that is supported by AggregatorAdapter is Collection<?> and not one of the Collection subclasses. This might change in a future version.
Marius Bogoevici
2008-03-04 16:44:18 +00:00
e37e22eb76
AggregatorAdapter throws a MessagingConfigurationException if the method is invalid (wrong name provided or non-conforming signature). The IllegalArgumentExceptions are only thrown in the case of a null object, method, or methodName.
Mark Fisher
2008-03-04 16:24:21 +00:00
0d1843211a
Using 'spring-integration-core-1.0.xsd' in 'testAnnotatedAggregator.xml' and added tests for wrong parameter counts in AggregatorAdapterTests.
Mark Fisher
2008-03-04 16:03:29 +00:00
2428a8390a
Add @Aggregator annotation for annotating methods that can aggregate messages (INT-94).
Marius Bogoevici
2008-03-04 05:23:06 +00:00
03f4c8e1ea
Adds AggregatorAdapter and support for the 'method' attribute in <aggregtor> elements (INT-137). Target methods must conform with a signature pattern as follows: ReturnType methodName (Collection<CollectionType> args). If CollectionType is Message or any of its descendants (including parametrized types), the aggregator will pass the collection of messages to be aggregated 'as is', leaving to the target method to extract the payloads. If CollectionType is non-Message, the payloads will be extracted and passed to the target collection. If the result of the method call is not a Message, it will be wrapped in a GenericMessage.
Marius Bogoevici
2008-03-03 23:21:39 +00:00
1e19a96a38
Added WireTap (INT-138).
Mark Fisher
2008-03-03 21:56:59 +00:00
e2929b4d7e
A little more tweaking
Ben Hale
2008-03-03 13:31:40 +00:00
c12f0ec933
How about a little more help
Ben Hale
2008-03-03 12:03:35 +00:00
dd3a2bb8db
A bit of a typo
Ben Hale
2008-03-03 11:47:40 +00:00
6983e23331
Updated to use new publish-package target
Ben Hale
2008-03-03 11:45:57 +00:00
e79ed2cc58
Moved the location of the documentation up a level
Ben Hale
2008-02-28 17:15:39 +00:00
a5abac62d5
Changed default target to "doc" ("reference" is now specified as "doc.type").
Mark Fisher
2008-02-28 13:15:16 +00:00
be9945ef8b
Updated to use new documentation pattern
Ben Hale
2008-02-28 11:44:30 +00:00
66c387bb6f
Added reference documentation for MailTargetAdapter.
Mark Fisher
2008-02-28 02:04:02 +00:00
290b0d0646
Updated changelog and readme files.
Mark Fisher
2008-02-28 01:13:34 +00:00
ef1a0b2af5
Adjusted timing for test.
Mark Fisher
2008-02-28 00:23:01 +00:00
8a6c4babee
Updating reference documentation for M2.
Mark Fisher
2008-02-28 00:12:52 +00:00
4911ca69be
Updating reference documentation for M2.
Mark Fisher
2008-02-27 22:28:00 +00:00
82ce4ad3cf
reference documentation updates for M2
Mark Fisher
2008-02-27 20:55:25 +00:00
949848fb04
PollingSchedule fields are now volatile.
Mark Fisher
2008-02-27 20:23:51 +00:00
466fe7a761
formatting
Mark Fisher
2008-02-27 20:17:00 +00:00
604b768625
Subscription is now immutable (INT-134).
Mark Fisher
2008-02-27 19:25:10 +00:00
44cb3e17a1
adds support for an <aggregator> element in the integration namespace (INT-95). Currently supports only references to beans implementing the Aggregator interface. The 'method' attribute can be defined, but it is not currently in use.
Marius Bogoevici
2008-02-27 19:15:06 +00:00
559d858e3e
added testCorrelationIdCopiedIfMessageCorrelationIdAvailable, to capture this default behaviour in the MessageHandlers
Marius Bogoevici
2008-02-27 18:52:23 +00:00
fc04f79c05
added .project to svn:ignore property
Mark Fisher
2008-02-27 16:23:06 +00:00
05cd46a3f5
updated 'svn:eol-style' property for cafeDemo.bat and cafeDemo.sh
Mark Fisher
2008-02-27 16:11:59 +00:00
8ea36fa4f3
Updated to have a default package target for document projects
Ben Hale
2008-02-27 14:02:35 +00:00
c90100aa9d
Added initial versions of MANIFEST.MF files with Import-Package and Export-Package.
Mark Fisher
2008-02-27 04:18:58 +00:00
84e1b1df08
Added spring-integration-1.0.xsd alongside spring-integration-adapters-1.0.xsd. Renamed the previous spring-integration-1.0.xsd to spring-integration-core-1.0.xsd.
Mark Fisher
2008-02-27 03:21:54 +00:00
d2580a3b0b
Major refactoring of AggregatingMessageHandler and related classes.
Mark Fisher
2008-02-27 02:33:44 +00:00
4c0b4f41f9
Core no longer depends on JMS or TX.
Mark Fisher
2008-02-26 17:22:19 +00:00
4f3076caec
Added MailTargetAdapterContextTests.
Mark Fisher
2008-02-26 16:42:52 +00:00
38a5996298
Added MailTargetAdapter and associated support classes (INT-107).
Mark Fisher
2008-02-26 16:20:41 +00:00
17def0e904
DefaultMessageEndpoint now sets the reply Message's correlationId to the original Message's id by default (INT-130).
Mark Fisher
2008-02-26 05:09:32 +00:00
07c9c376df
Added channel capacity (now a required constructor argument).
Mark Fisher
2008-02-26 04:14:42 +00:00
82cb7bcb62
Added PriorityChannel (INT-115).
Mark Fisher
2008-02-26 04:11:10 +00:00
51d02ee8ad
ReplyHandler is now configurable on the DefaultMessageEndpoint. The <endpoint/> element also accepts a 'reply-handler' attribute (INT-129).
Mark Fisher
2008-02-26 02:35:09 +00:00
abedfb0b3d
Using the header-copying constructor when creating Messages from Object-typed return values.
Mark Fisher
2008-02-26 01:04:43 +00:00
8b7cd7c0ff
Classpath is now dynamically generated from all JARs in the lib and dist directories (INT-79).
Mark Fisher
2008-02-25 23:36:54 +00:00
c7c8564295
Classpath is now dynamically generated from all JARs in the "lib" and "dist" directories (INT-79).
Mark Fisher
2008-02-25 22:51:35 +00:00
f9d01dd568
Added a 'replyTimeout' property to DefaultMessageEndpoint with a default value of 1000 milliseconds. When sending to either the 'defaultOutputChannelName' or the reply channel specified by the input MessageHeader's 'returnAddress', a timeout will now cause the reply Message to be wrapped within a MessageDeliveryException and passed to the endpoint's ErrorHandler. The default error handler publishes the exception as an ErrorMessage to the global error channel (INT-108).
Mark Fisher
2008-02-25 20:55:24 +00:00
af229e3576
Moved DEBUG logging into the preSend method, so that even if Messages are blocked in the send call, the log will still provide the error message.
Mark Fisher
2008-02-25 19:16:31 +00:00
0004375e44
Added namespace support for configuring endpoint-specific ErrorHandlers (INT-19).
Mark Fisher
2008-02-25 19:06:24 +00:00
b7aa312c48
The MessageEndpointAnnotationPostProcessor now checks for a null handler after processing and provides a MessageHandler implementation that passes the Message as-is. The @DefaultOutput no longer triggers the creation of a separate endpoint - rather the resulting "adapter" will be added to the end of the MessageHandlerChain (or configured as the sole handler if no MessageHandler had been previously created when processing annotated methods).
Mark Fisher
2008-02-25 16:40:33 +00:00
7cb5c918c5
Added namespace support for the <default-concurrency/> sub-element of <message-bus/> (INT-106).
Mark Fisher
2008-02-25 16:14:24 +00:00
3fc03d7795
Added setter for 'defaultConcurrencyPolicy' (INT-106).
Mark Fisher
2008-02-25 15:00:58 +00:00
3508361a29
DefaultMessageEndpoint now accepts the MessageHandler as a constructor arg (the setter has been removed). The MessageBus now has a 'defaultConcurrencyPolicy' rather than passing 'null' when creating an endpoint without an explicitly provided policy (INT-106). The ConcurrentHandler.HandlerTask now logs all errors at DEBUG level and continues to log at WARN level if no 'errorHandler' has been provided to the ConcurrentHandler (INT-120).
Mark Fisher
2008-02-25 14:30:11 +00:00
aa66647d7e
Added a DefaultErrorChannel implementation to be used by the MessageBus. Provided a key for the error channel name: MessageBus.ERROR_CHANNEL_NAME (INT-119). Removed the getErrorChannel and setErrorChannel() methods from the ChannelRegistry interface (since the key can be used to do a lookup). MessageBus still provides convenience methods.
Mark Fisher
2008-02-22 19:51:00 +00:00
701743c979
Added JavaDoc for new constructor.
Mark Fisher
2008-02-22 19:38:09 +00:00
51d9c8e42c
Added header-copying constructor to GenericMessage (INT-123). Also simplified the AbstractMessageHandlerAdapter.
Mark Fisher
2008-02-22 19:34:08 +00:00
094a131b1a
The 'correlationId' is now being handled by the AbstractMessageHandlerAdapter (see INT-127). SplitterMessageHandlerAdapter now properly sets the 'sequenceNumber' and 'sequenceSize' properties on the reply's MessageHeader (INT-128).
Mark Fisher
2008-02-22 15:22:52 +00:00
4226a980de
Added toString methods.
Mark Fisher
2008-02-22 04:34:21 +00:00
f410d02ed6
Added DEBUG logging (INT-122).
Mark Fisher
2008-02-22 04:21:32 +00:00
e0f1f69e29
Added DEBUG logging (INT-122).
Mark Fisher
2008-02-22 03:51:15 +00:00
96ef57d36f
Added configurable acknowledge modes for JmsMessageDrivenSourceAdapter (INT-124).
Mark Fisher
2008-02-22 00:16:34 +00:00
aafa8391d4
Migrating adapters to spring-integration-adapters (INT-83).
Mark Fisher
2008-02-21 23:05:54 +00:00
69979c9e5e
Migrating adapters to spring-integration-adapters (INT-83).
Mark Fisher
2008-02-21 22:55:51 +00:00
553b67ee2f
Migrating adapters to spring-integration-adapters (INT-83).
Mark Fisher
2008-02-21 22:55:19 +00:00
a04842a3fb
Migrating adapters to spring-integration-adapters (INT-83).
Mark Fisher
2008-02-21 22:54:49 +00:00
9da59485cb
Migrating adapters to spring-integration-adapters (INT-83).
Mark Fisher
2008-02-21 22:54:24 +00:00
1f2bf5abc0
Migrating adapters to spring-integration-adapters (INT-83).
Mark Fisher
2008-02-21 22:52:22 +00:00
7208c5ec24
Migrating adapters to spring-integration-adapters (INT-83).
Mark Fisher
2008-02-21 22:50:57 +00:00
9ac9a4f3fc
Migrating event adapters to spring-integration-adapters
Mark Fisher
2008-02-21 00:27:39 +00:00
6419d988de
Adding project dependencies in .classpath files
Mark Fisher
2008-02-21 00:00:45 +00:00
abde23cfd8
Added .project to svn:ignore for build-spring-integration
Mark Fisher
2008-02-20 23:54:59 +00:00
a4f563ddc0
Providing foundation for spring-integration-adapters as a separate project
Mark Fisher
2008-02-20 23:46:41 +00:00
a07f031300
Added initial version of RequestReplyTemplate (INT-86).
Mark Fisher
2008-02-20 15:30:41 +00:00
d9d15cab76
Simplified the task scheduler configuration and exposed setters/constructors for ScheduledExecutorService (INT-113).
Mark Fisher
2008-02-18 22:58:45 +00:00
69b13fc3bf
The MessageHeader now has a single Object-typed 'returnAddress' property rather than both 'replyChannel' and 'replyChannelName'. This also removes a package cycle between 'message' and 'channel' (part of INT-112).
Mark Fisher
2008-02-18 20:38:33 +00:00
61c4aad672
Moved RouterMessageHandlerCreator and SplitterMessageHandlerCreator from 'handler.config' to 'router.config' (part of INT-112).
Mark Fisher
2008-02-18 18:21:48 +00:00
35a09ac5c2
Moved DispatcherPolicy into the 'channel' package (part of INT-112).
Mark Fisher
2008-02-18 18:15:07 +00:00
0cbd5a3c9e
Modified expected exception type.
Mark Fisher
2008-02-18 18:07:50 +00:00
3719c32a0f
Moved ConcurrentHandler into the 'endpoint' package and moved MessageDeliveryException/MessageHandlingException into the 'message' package (part of INT-112).
Mark Fisher
2008-02-18 18:05:49 +00:00
0b5013939e
Refactored ConcurrentHandler to accept a preconfigured ExecutorService rather than creating one from the ConcurrencyPolicy.
Mark Fisher
2008-02-18 17:46:23 +00:00
3d1303bb53
Moved Subscription from 'bus' to 'scheduling' package.
Mark Fisher
2008-02-18 16:11:44 +00:00
ea2f90b5c8
Moved Subscription from 'bus' to 'scheduling' package.
Mark Fisher
2008-02-18 15:58:23 +00:00
d1ed700380
Using java.util.UUID and default strategy is: UUID.randomUUUID() (INT-111).
Mark Fisher
2008-02-18 14:08:15 +00:00
dc6f6a5f44
Set 'auto-startup' to false.
Mark Fisher
2008-02-13 17:44:24 +00:00
3ae8672618
Added 'message-converter' attribute for <jms-source> when creating a JmsMessageDrivenSourceAdapter (INT-102).
Mark Fisher
2008-02-13 15:56:11 +00:00
ecce093f6e
Added 'autoStartup' to message-bus (INT-101), 'initialDelay' and 'fixedRate' attributes for @Polled (INT-100), <handler-chain> element (INT-58), <selector> sub-element (INT-102), and <interceptor> sub-element (INT-106).
Mark Fisher
2008-02-13 08:08:26 +00:00
405311d9b9
Refactored DefaultMessageDispatcher to delegate to MessageDistributor with logic previously in the DispatcherTask. The DispatcherTask is now an inner class of DefaultMessageDispatcher. Also added ChannelPurger (INT-105), MessageSelectingInterceptor (INT-98), and support for "datatype channels" (INT-99).
Mark Fisher
2008-02-10 00:06:09 +00:00
d089567e6c
Adjusted timings.
Mark Fisher
2008-02-05 11:14:06 +00:00
65abee9eb6
JmsTargetAdapter now passes any JMS attributes from the Spring Integration MessageHeader to the JMS Message prior to sending to its Destination (INT-97). JmsTargetAdapter also supports the 'destinationName' property now in addition to 'destination'. The 'jms-target' element accepts a 'destination-name' attribute as well (INT-96).
Mark Fisher
2008-02-05 00:09:40 +00:00
76c19438ff
Added Aggregator, AggregatingMessageHandler, RoutingBarrier, RoutingBarrierCompletionStrategy, and related classes.
Mark Fisher
2008-02-04 19:15:57 +00:00
753a67b8a4
Added the 'replyChannel' property to MessageHeader. It takes precedence over the 'replyChannelName' when DefaultMessageEndpoint resolves the channel for reply Messages.
Mark Fisher
2008-01-31 23:14:47 +00:00
1f5e7b5756
SimpleChannel now creates a SynchronousQueue if the capacity is less than or equal to 0. SplitterMessageHandlerAdapter exposes a configurable 'sendTimeout' property.
Mark Fisher
2008-01-31 22:04:35 +00:00
e3f7bf4681
Added 'clear()' and 'purge()' methods to channel and added 'isExpired()' method to Message.
Mark Fisher
2008-01-31 18:30:21 +00:00
472aa0f436
Added basic ChannelInterceptor functionality and 'unregister' method for ChannelRegistry.
Mark Fisher
2008-01-31 16:11:02 +00:00
7d8566ee2e
Adjusted test timeout values for build server.
Mark Fisher
2008-01-28 16:28:29 +00:00
0618c0adbc
Dependency on core now references organisation: 'org.springframework.integration'
Mark Fisher
2008-01-28 14:31:44 +00:00