Commit Graph

710 Commits

Author SHA1 Message Date
Mark Fisher
44f4f52b21 Added more tool annotations to the core XSD (INT-114). 2008-12-17 00:21:18 +00:00
Mark Fisher
17d0b27230 Added support for 'advice-chain' sub-element for the 'poller' element (INT-503). 2008-12-16 23:02:21 +00:00
Mark Fisher
71ba875cdc Added a check to ensure that an Object-typed parameter receives the Message payload instance instead of the Message itself. The parameter type must be assignable to Message for the Message instance to be passed. 2008-12-16 20:39:18 +00:00
Mark Fisher
d67a59e3db Added namespace support for 'logging-channel-adapter' (INT-524). Moved default bean configuration into a BeanFactoryPostProcessor (INT-525). This also enables resolution of issue INT-520. 2008-12-16 19:50:07 +00:00
Mark Fisher
1ddc8f6c23 Added LoggingChannelAdapterParser (INT-524). 2008-12-16 19:36:04 +00:00
Mark Fisher
c96d89b2fd Added LoggingHandler (INT-524). 2008-12-16 19:21:19 +00:00
Mark Fisher
8e5dfbe3a4 INT-520 2008-12-15 22:12:35 +00:00
Mark Fisher
36ef3d32cb INT-521 2008-12-15 22:00:39 +00:00
Mark Fisher
e39ffc2380 Enclosing tool elements within tool:annotation (INT-114). 2008-12-15 21:42:05 +00:00
Iwein Fuld
4f9f3763c9 s/transfomer/transformer 2008-12-15 19:30:35 +00:00
Iwein Fuld
783861945d OPEN - issue INT-496: Design success/failure notifications for source adapters
http://jira.springframework.org/browse/INT-496

Added logging of failed error subscribers
2008-12-15 15:59:28 +00:00
Mark Fisher
17849dbdea INT-519 2008-12-15 15:02:10 +00:00
Mark Fisher
88dd7f805d Added namespace support for PayloadDeserializingTransformer (INT-517). 2008-12-12 21:48:42 +00:00
Mark Fisher
5e70d0d3c3 Added namespace support for PayloadSerializingTransformer (INT-517). 2008-12-12 21:33:52 +00:00
Mark Fisher
9f22033303 Added namespace support for ObjectToStringTransformer (INT-516). 2008-12-12 21:13:09 +00:00
Mark Fisher
b1881f7b95 Added PayloadSerializingTransformer and PayloadDeserializingTransformer (INT-513). 2008-12-12 20:26:30 +00:00
Mark Fisher
7c6ac19325 AbstractPayloadTransformer now throws MessageTransformationException instead of the more generic MessagingException. 2008-12-12 20:20:22 +00:00
Mark Fisher
65a2405104 Added ObjectToStringTransformer (INT-514). 2008-12-12 19:45:34 +00:00
Mark Fisher
ca8155ba5b Using the parser context error handling capabilities rather than throwing Exceptions or using assertions. This facilitates proper tooling support (INT-114). 2008-12-12 13:59:11 +00:00
Mark Fisher
69fc0a0cb3 INT-507 2008-12-11 23:38:48 +00:00
Mark Fisher
788d177f1a Minimizing class loading in parsers and using the parser context error handling capabilities rather than throwing Exceptions or using assertions. This facilitates proper tooling support (INT-114). 2008-12-11 17:49:01 +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
1af6e18437 Enforcing the input channel attribute is provided for any top-level endpoint element. Also, now uses parserContext.error(). 2008-12-10 17:44:25 +00:00
Mark Fisher
71543d7dca Using the ParserContext's delegate instead of manually resolving the parser for custom elements. 2008-12-10 16:30:42 +00:00
Mark Fisher
5feb4c9ba1 Using the ParserContext's delegate instead of manually resolving the parser for custom elements. 2008-12-10 16:17:17 +00:00
Mark Fisher
bc4a20f6c5 All pre-defined internal header names are now valid Java identifiers. Dot delimiters have been replaced by underscores, and hyphenated names are now camelCase. The SimpleHeaderEnricherParser uses Conventions.attributeToPropertyName(). The attributes are now legal for passing as JMS properties (INT-511). 2008-12-09 21:32:29 +00:00
Mark Fisher
c053656af9 INT-506 2008-12-08 22:04:14 +00:00
Mark Fisher
b2ec607634 Added Method resolution for Message-typed parameters including Message implementations and resolution of Message payloads based on parameterized type (INT-504). 2008-12-08 21:34:04 +00:00
Mark Fisher
9ffc1a08c3 Removed the 'targetChannel' from ReplyMessageHolder for now (not being used yet) and made CronSequenceGenerator package protected for now. 2008-11-26 15:56:15 +00:00
Mark Fisher
2c2a1be8ae Removed the MethodResolver interface and the DefaultMethodResolver and AnnotationMethodResolver classes. Only MethodInvokingAggregator was still using those, so that logic is now encapsulated there. If we find a need for this in the future, we can consider exposing it again, but for now it's less clutter for the API. 2008-11-26 15:36:25 +00:00
Mark Fisher
41eca0eb8a HandlerMethodUtils is now package private 2008-11-26 15:32:15 +00:00
Mark Fisher
b5c7f70af2 INT-497 2008-11-26 08:45:29 +00:00
Mark Fisher
ddc0302dec Removed MessageDeliveryAware since no component is calling the callback methods. Added INT-496 for version 1.0.1. 2008-11-26 02:23:44 +00:00
Mark Fisher
a6b0bf65ac Removed unused channel interceptor code. 2008-11-26 01:43:54 +00:00
Mark Fisher
d54c1c1c78 Added tool annotations to core spring-integration-1.0.xsd (INT-114). 2008-11-26 00:52:19 +00:00
Mark Fisher
27e6e36e3a Added 'autoStartup' value configuration in ResequencerParser. 2008-11-25 22:59:00 +00:00
Mark Fisher
39247b5f3a AbstractMessageBarrierHandler is now BeanFactoryAware so that it can access the TaskScheduler. It also has an 'autoStartup' property with a default value of 'true' so that the pruner task will start upon inititialization (INT-495). 2008-11-25 22:51:31 +00:00
Mark Fisher
cc7c053d87 Removed TaskSchedulerAware. 2008-11-25 22:33:54 +00:00
Mark Fisher
3b8e7e5b4b Removed cycles. 2008-11-25 21:43:36 +00:00
Mark Fisher
9ab1e73996 Removing TODOs. 2008-11-25 21:32:20 +00:00
Mark Fisher
f572b370f3 An explicit 'trigger' property is now required for the AbstractPollingEndpoint. It no longer creates an arbitrary default. 2008-11-25 21:27:12 +00:00
Mark Fisher
db09791428 Updated the annotation-based Cafe Demo to use a bridge element since the annotated-methods in Barista now require a SubscribableChannel. 2008-11-25 21:00:11 +00:00
Mark Fisher
dbc079ebe6 Test was accidentally left out of commit. 2008-11-25 20:31:26 +00:00
Mark Fisher
c16c3abb30 Removed the @ChannelAdapter annotation. The inbound version is no longer viable with @Poller removed (so that the polling configuration would be properly externalized - see previous commit log entries). But, the <inbound-channel-adapter/> element is trivial anyways. As far as outbound, the @ServiceActivator can be used for a method with void-return, so that was redundant actually. One consistent way to perform the job should be sufficient. 2008-11-25 20:23:40 +00:00
Mark Fisher
c1741edf83 Removed the @Poller annotation (since configuration metadata should be externalized). Updated ChannelAdapterAnnotationPostProcessor. Only outbound Channel Adapters can be configured with annotations now that @Poller is no longer available. We may add a "poller" attribute to the @ChannelAdapter for providing a reference. That would enable annotation-based inbound adapters. However, the XML support (the <inbound-channel-adapter/> element) is pretty trivial, so this should not be necessrary.Otherwise, the @ChannelAdapter may actually be removed altogether since a @ServiceActivator annotation can be used for any outbound Method (even when no return-value is expected). 2008-11-25 20:02:13 +00:00
Mark Fisher
0e5b4bcb50 Removing the @Poller annotation. Now, any Annotation-based endpoint must have a SubscribableChannel reference for its inputChannel. If necessary, the new <bridge/> element can be used to convert PollableChannels to SubscribableChannels. 2008-11-25 19:45:16 +00:00
Mark Fisher
69727ae8c4 GatewayProxyFactoryBean accepts non-PollableChannel for defaultReplyChannel. However, if a receive-only operation is performed (e.g. for a no-arg method), an IllegalStateException will be thrown when the receive attempt cannot proceed if the channel is not a PollableChannel. 2008-11-25 18:09:11 +00:00
Mark Fisher
d28414d2c3 Added SourcePollingChannelAdapterFactoryBean. The 'poller' element is now required for inbound-channel-adapter elements unless a default poller has been configured. 2008-11-25 04:10:17 +00:00
Mark Fisher
23db1c0fe9 Added some constraints for poller parsing. 2008-11-25 03:05:12 +00:00
Mark Fisher
f7d98d1f78 Moved ErrorHandlingTaskExecutor to the util package. 2008-11-24 22:59:00 +00:00