Commit Graph

  • c296b1af1b 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). Mark Fisher 2008-12-11 19:18:40 +00:00
  • 20f9cbff65 XmlNamespaceUtils is now package-private. Mark Fisher 2008-12-11 18:56:54 +00:00
  • 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). Mark Fisher 2008-12-11 17:49:01 +00:00
  • 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). Mark Fisher 2008-12-10 23:47:05 +00:00
  • 1755dfd676 Mail transformers may now be used within a 'chain' (INT-498). Mark Fisher 2008-12-10 17:59:08 +00:00
  • 1af6e18437 Enforcing the input channel attribute is provided for any top-level endpoint element. Also, now uses parserContext.error(). Mark Fisher 2008-12-10 17:44:25 +00:00
  • 71543d7dca Using the ParserContext's delegate instead of manually resolving the parser for custom elements. Mark Fisher 2008-12-10 16:30:42 +00:00
  • 5feb4c9ba1 Using the ParserContext's delegate instead of manually resolving the parser for custom elements. Mark Fisher 2008-12-10 16:17:17 +00:00
  • 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). Mark Fisher 2008-12-09 21:32:29 +00:00
  • c053656af9 INT-506 Mark Fisher 2008-12-08 22:04:14 +00:00
  • b2ec607634 Added Method resolution for Message-typed parameters including Message implementations and resolution of Message payloads based on parameterized type (INT-504). Mark Fisher 2008-12-08 21:34:04 +00:00
  • d946df8e71 Added support for 'poller' sub-elements within RMI and HttpInvoker 'outbound-gateway' elements (INT-508). Mark Fisher 2008-12-08 17:28:07 +00:00
  • 4e53810aeb Spring Integration 1.0.0.RELEASE Tony Sweeney 2008-11-26 17:22:13 +00:00
  • 9ffc1a08c3 Removed the 'targetChannel' from ReplyMessageHolder for now (not being used yet) and made CronSequenceGenerator package protected for now. Mark Fisher 2008-11-26 15:56:15 +00:00
  • 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. Mark Fisher 2008-11-26 15:36:25 +00:00
  • 41eca0eb8a HandlerMethodUtils is now package private Mark Fisher 2008-11-26 15:32:15 +00:00
  • 3a6947b190 increased timeout Jonas Partner 2008-11-26 12:20:46 +00:00
  • 2b97059833 reduced poller interval to allow second try when server is stressed Iwein Fuld 2008-11-26 08:48:32 +00:00
  • b5c7f70af2 INT-497 Mark Fisher 2008-11-26 08:45:29 +00:00
  • a2ebf9fea5 Added note on channel configuration within annotations - specifically pointed out that the inputChannel must be a SubscribableChannel in such a case Mark Fisher 2008-11-26 06:10:16 +00:00
  • 2e3a0487e0 Added discussion of error handling (INT-457). Mark Fisher 2008-11-26 05:52:44 +00:00
  • 9f61208de4 Adjusted spacing Mark Fisher 2008-11-26 04:56:40 +00:00
  • 21674ccb7f Updated JMS Channel Adapter and Gateway documentation (INT-478). Mark Fisher 2008-11-26 04:36:02 +00:00
  • 5d02c2e503 Added a comment about the @Gateway annotation Mark Fisher 2008-11-26 03:00:26 +00:00
  • 4a5ad2705f Removed some unused constants and made others package-private. Mark Fisher 2008-11-26 02:35:25 +00:00
  • ddc0302dec Removed MessageDeliveryAware since no component is calling the callback methods. Added INT-496 for version 1.0.1. Mark Fisher 2008-11-26 02:23:44 +00:00
  • 1b61509bde Added some JavaDoc. Mark Fisher 2008-11-26 02:03:57 +00:00
  • 545e159f3b Increased test trigger await timeout value. Mark Fisher 2008-11-26 02:02:26 +00:00
  • a6b0bf65ac Removed unused channel interceptor code. Mark Fisher 2008-11-26 01:43:54 +00:00
  • 9fb2696225 typo in refdoc (missing xml end tag) Mark Fisher 2008-11-26 01:35:03 +00:00
  • 1e212612d9 Added a comment on the 'apply-sequence' attribute for PublishSubscribeChannels and a note about 'capacity' settings on a queue sub-element Mark Fisher 2008-11-26 01:26:05 +00:00
  • 2f514ff98e Updated changelog and readme files Mark Fisher 2008-11-26 01:11:19 +00:00
  • 18b3a36564 Added note about ChannelInterceptors' pre/postReceive() methods only applying to PollableChannels Mark Fisher 2008-11-26 01:01:07 +00:00
  • d54c1c1c78 Added tool annotations to core spring-integration-1.0.xsd (INT-114). Mark Fisher 2008-11-26 00:52:19 +00:00
  • 08039f32fb typos 'fromPayload' should have been 'withPayload' Mark Fisher 2008-11-26 00:06:36 +00:00
  • e993c0db6b Added discussion of top-level poller elements and default poller per-context (INT-493). Mark Fisher 2008-11-25 23:37:20 +00:00
  • 27e6e36e3a Added 'autoStartup' value configuration in ResequencerParser. Mark Fisher 2008-11-25 22:59:00 +00:00
  • 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). Mark Fisher 2008-11-25 22:51:31 +00:00
  • cc7c053d87 Removed TaskSchedulerAware. Mark Fisher 2008-11-25 22:33:54 +00:00
  • db756e2f44 MessageChannel type was ambiguous, since the 'errorChannel' is also present within the context. Mark Fisher 2008-11-25 22:25:09 +00:00
  • 3b8e7e5b4b Removed cycles. Mark Fisher 2008-11-25 21:43:36 +00:00
  • 9ab1e73996 Removing TODOs. Mark Fisher 2008-11-25 21:32:20 +00:00
  • f572b370f3 An explicit 'trigger' property is now required for the AbstractPollingEndpoint. It no longer creates an arbitrary default. Mark Fisher 2008-11-25 21:27:12 +00:00
  • db09791428 Updated the annotation-based Cafe Demo to use a bridge element since the annotated-methods in Barista now require a SubscribableChannel. Mark Fisher 2008-11-25 21:00:11 +00:00
  • dbc079ebe6 Test was accidentally left out of commit. Mark Fisher 2008-11-25 20:31:26 +00:00
  • 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. Mark Fisher 2008-11-25 20:23:40 +00:00
  • 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). Mark Fisher 2008-11-25 20:02:13 +00:00
  • 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. Mark Fisher 2008-11-25 19:45:16 +00:00
  • 1f0104d6f8 Updated QuoteDemo to use an 'inbound-channel-adapter' XML element since the @Poller annoation is being removed. Mark Fisher 2008-11-25 19:40:31 +00:00
  • 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. Mark Fisher 2008-11-25 18:09:11 +00:00
  • 816299a5e5 Added default poller element. Mark Fisher 2008-11-25 04:38:29 +00:00
  • 57ddc4057c Added default pollers for inbound adapters. Mark Fisher 2008-11-25 04:28:54 +00:00
  • b73a8d2949 Added default pollers for inbound adapters. Mark Fisher 2008-11-25 04:20:30 +00:00
  • 204deb4163 Added default poller. Mark Fisher 2008-11-25 04:13:47 +00:00
  • 678158c382 Added default poller. Mark Fisher 2008-11-25 04:11:59 +00:00
  • d28414d2c3 Added SourcePollingChannelAdapterFactoryBean. The 'poller' element is now required for inbound-channel-adapter elements unless a default poller has been configured. Mark Fisher 2008-11-25 04:10:17 +00:00
  • 2bcab9c2df Added a poller sub-element for the FileInboundChannelAdapterParserTests. Mark Fisher 2008-11-25 04:05:57 +00:00
  • 23db1c0fe9 Added some constraints for poller parsing. Mark Fisher 2008-11-25 03:05:12 +00:00
  • 3717556f19 INT-494 Mark Fisher 2008-11-24 23:23:50 +00:00
  • 6b259faa14 Removed empty package Mark Fisher 2008-11-24 22:59:27 +00:00
  • f7d98d1f78 Moved ErrorHandlingTaskExecutor to the util package. Mark Fisher 2008-11-24 22:59:00 +00:00
  • d476051838 Added default poller element for XML-based Cafe Demo. Mark Fisher 2008-11-24 22:19:10 +00:00
  • fe68598395 Added the default poller element Mark Fisher 2008-11-24 22:14:41 +00:00
  • 9d49d2b21b Modified schema so that 'input-channel' and 'output-channel' attributes are not required. This will enable those elements to be used within a top-level 'chain' element. Mark Fisher 2008-11-24 21:45:42 +00:00
  • 024c734333 Increased test timeout value. Mark Fisher 2008-11-24 21:42:52 +00:00
  • 79fdb179fc Added support for a top-level 'poller' element. A single top-level poller may have a value of 'default=true'. When using the namespace support, endpoints with pollable input-channels are now required to have an explicit poller sub-element or a 'default' poller within the context. The sub-element now also accepts a "ref" (INT-390). Mark Fisher 2008-11-24 21:37:18 +00:00
  • d4237d0fca The JMS 'outbound-gateway' element now accepts a 'poller' sub-element. Mark Fisher 2008-11-24 21:23:59 +00:00
  • 5b654913f1 Creating child ParserContext with containingBeanDefinition to prevent extra bean definition registrations when parsing the child elements. Mark Fisher 2008-11-24 19:45:34 +00:00
  • bc62a6c632 Added xml dependencies to .classpath Mark Fisher 2008-11-24 18:31:06 +00:00
  • 901339b71e added documentation for xml messaging sample Jonas Partner 2008-11-24 17:18:59 +00:00
  • 8a43a9f709 JMS adapter IDs are now xsd:ID types instead of xsd:string. Mark Fisher 2008-11-24 13:20:35 +00:00
  • 9abe52d9f7 Added documentation for MessageHandlerChain and the <chain/> element (INT-486) Mark Fisher 2008-11-24 04:12:17 +00:00
  • 039c124dad Added documentation for the 'bridge' element (INT-486) Mark Fisher 2008-11-24 01:54:50 +00:00
  • b16431e265 INT-492 Mark Fisher 2008-11-23 21:28:02 +00:00
  • b6c5c54ae6 INT-238, INT-371 minor correction Marius Bogoevici 2008-11-23 07:54:45 +00:00
  • 3ee1e4921e INT-238, INT-371 Clean up aggregator code, solve some robustness issues Marius Bogoevici 2008-11-23 07:44:18 +00:00
  • f69d774e09 The default IntervalTrigger (with interval of 10ms) is being configured within the AbstractPollingEndpoint only. The ConsumerEndpointFactoryBean no longer provides a default trigger but rather only passes along a non-null trigger property if one is configured on the bean definition. Mark Fisher 2008-11-23 04:19:15 +00:00
  • 83e15fbb9b formatting, etc Mark Fisher 2008-11-23 04:12:29 +00:00
  • 5d414912e5 Added some debug logging. Mark Fisher 2008-11-22 22:57:28 +00:00
  • 55c62a06e6 Added namespace support for a 'bridge' element that simply connects any input-channel to any output-channel. This enables the conversion between PollableChannels and SubscribableChannels and also provides throttling capabilities based on the polling interval (or cron-expression) and 'max-messages-per-poll' settings (INT-193). Mark Fisher 2008-11-22 22:03:36 +00:00
  • 25766bc7be Jonas Partner 2008-11-22 21:57:10 +00:00
  • 4735c700b1 sample for INT-432 documentation to follow Jonas Partner 2008-11-22 21:49:24 +00:00
  • 986049d23b Added MessagingBridge implementation. Mark Fisher 2008-11-22 21:12:04 +00:00
  • c79ffc6635 fix for INT-491 Jonas Partner 2008-11-22 20:18:41 +00:00
  • f6e1463a42 Increased test timeout value. Mark Fisher 2008-11-22 18:51:19 +00:00
  • ea5e66c7a4 Added support for a 'destinationResolver' property reference for the inbound JMS Channel Adapter including namespace support (INT-488). Mark Fisher 2008-11-22 18:21:03 +00:00
  • 8772fd8169 Added support for request and reply Destination names for the JmsOutboundGateway. The 'destinationResolver' property reference may also be provided including namespace support with the 'destination-resolver' attribute. This also applies to the 'inbound-gateway' and 'message-driven-channel-adapter' elements (INT-488). Mark Fisher 2008-11-22 17:52:38 +00:00
  • a71127fb4d Removed the USER_PREFIX that was considered when mapping between MessageHeaders and JMS properties. Now, the DefaultJmsHeaderMapper will attempt to map all MessageHeaders and those with the JmsHeaders.PREFIX are the only ones treated differently (e.g. for mapping to the JMSCorrelationId). Mark Fisher 2008-11-22 17:09:14 +00:00
  • 2129047231 MessageMappingException now extends MessagingException rather than MessageHandlingException, and it provides a constructor that accepts 'description' and 'cause' without a 'failedMessage'. This is necessary to support inbound mapping errors where no 'failedMessage' has been created yet. Mark Fisher 2008-11-22 16:57:58 +00:00
  • b9435fdc41 The 'request-channel' attribute is now optional on the jms:outbound-gateway element so that the gateway may be added to a chain. Mark Fisher 2008-11-22 16:55:51 +00:00
  • 75903736e2 Modified WebServiceDemo to show the 'chain' element and the 'header-enricher'. Mark Fisher 2008-11-22 16:17:16 +00:00
  • 4e72c719f9 Added the 'overwrite' attribute for the 'header-enricher' element. Mark Fisher 2008-11-22 16:13:31 +00:00
  • abb370b257 Added the 'header-enricher' element to the core namespace (INT-489). Mark Fisher 2008-11-22 15:43:39 +00:00
  • d943af0e87 Added postProcessHeaders method to the SimpleHeaderEnricherParser (preparing for INT-489). Mark Fisher 2008-11-22 14:37:28 +00:00
  • 086eb6e374 Converted internal header names to be hyphenated for compatibility with the header-enricher. Mark Fisher 2008-11-22 14:35:32 +00:00
  • b53d96ba1e Added support for the 'throw-exception-on-rejection' attribute for the 'filter' element. Mark Fisher 2008-11-21 22:52:11 +00:00
  • 2b166d6471 INT-487 Mark Fisher 2008-11-21 22:03:27 +00:00
  • 837a295cbe Added namespace support for the 'chain' element to create a Message Endpoint that delegates to a MessageHandlerChain (INT-391). Mark Fisher 2008-11-21 18:34:07 +00:00
  • 93a2d2c9f2 Renamed the 'parseConsumer' method to 'parseHandler' since it creates an implementation of MessageHandler. Mark Fisher 2008-11-21 17:39:01 +00:00
  • b9f8b085b0 Removed 'parseAdapter' method from AbstractConsumerEndpointParser. Mark Fisher 2008-11-21 17:30:25 +00:00