Commit Graph

  • 052b59bdd0 Updated source and target namespace configuration examples. Mark Fisher 2008-05-23 01:02:04 +00:00
  • 99cdb7a8fc Updated source and target adpater documentation. Mark Fisher 2008-05-23 00:38:03 +00:00
  • 2e984dbb3b Updated endpoint and channel documentation. Mark Fisher 2008-05-22 23:26:31 +00:00
  • 32519f4ae8 Updating Reference Documentation for M4. Mark Fisher 2008-05-22 21:31:04 +00:00
  • 8bc5e669a7 Fixing INT-229: Primitive array payloads should be passed directly to the method and not cast down to Object[] Marius Bogoevici 2008-05-22 21:08:10 +00:00
  • a1d1caa1eb Adding router image Mark Fisher 2008-05-22 20:17:10 +00:00
  • 071c4df749 Updating Reference Documentation for M4. Mark Fisher 2008-05-22 20:16:15 +00:00
  • 1575a2e9fe Updating reference manual images Mark Fisher 2008-05-22 17:34:08 +00:00
  • 88cbe186eb Added <para/> elements for lists, tips, and notes. Mark Fisher 2008-05-22 15:51:52 +00:00
  • 94e55c7f8c Added images for Reference Manual Mark Fisher 2008-05-22 15:13:50 +00:00
  • 465c610045 Moved DirectChannelParserTests from 'channel/config' to 'dispatcher' since DirectChannelParser is in 'dispatcher'. Mark Fisher 2008-05-22 02:02:42 +00:00
  • e7daeaf247 Moved DirectChannel from 'channel' to 'dispatcher', DirectChannelFactory from 'channel/factory' to 'dispatcher', and DirectChannelParser from 'channel/config' to 'config' to avoid tangles. Mark Fisher 2008-05-22 01:56:32 +00:00
  • 4995cdb5de Moved DefaultChannelFactoryBean from 'channel/factory' to 'bus' and moved DefaultChannelParser from 'channel/config' to 'config' to avoid tangles. Mark Fisher 2008-05-22 01:39:59 +00:00
  • cefb7d0ca8 Moved RequestReplyTemplate from 'channel' to 'gateway' package to remove tangle. Mark Fisher 2008-05-22 01:27:58 +00:00
  • 6763fcd755 Updated intervals for timeout tests. Mark Fisher 2008-05-21 23:49:12 +00:00
  • 7f4cdc3e77 Removed 'Bundle-Version' from template.mf files. Mark Fisher 2008-05-21 23:33:26 +00:00
  • e68a3c5af2 Added newly generated MANIFEST.MF (INT-217). Mark Fisher 2008-05-21 23:25:05 +00:00
  • d2129600cd Added newly generated MANIFEST.MF (INT-217). Mark Fisher 2008-05-21 23:20:07 +00:00
  • 391b1ef25b Added newly generated MANIFEST.MF (INT-217). Mark Fisher 2008-05-21 23:11:33 +00:00
  • 8cc662e646 Added newly generated MANIFEST.MF (INT-217). Mark Fisher 2008-05-21 23:01:22 +00:00
  • cf15eb9728 Added newly generated MANIFEST.MF (INT-217). Mark Fisher 2008-05-21 22:27:16 +00:00
  • 3d6bb6adc6 Configured optional resolution for some packages. Mark Fisher 2008-05-21 21:48:30 +00:00
  • b3a0dc2646 Added initial version of template.mf files. Mark Fisher 2008-05-21 21:32:47 +00:00
  • 73904c3f98 Added 'src/main/resources' to the classpath. Mark Fisher 2008-05-21 21:28:33 +00:00
  • d19f67d104 The endpoint's afterPropertiesSet() method is invoked after error-handler configuration so that the error-handler will be configured for a ConcurrentTarget (INT-211). Mark Fisher 2008-05-21 17:05:07 +00:00
  • 8941a82ba1 The <concurrency/> and <schedule/> elements may now appear in any order. Each has a cardinality of 0..1 (INT-159). Mark Fisher 2008-05-21 16:25:56 +00:00
  • 631c71b6d0 Added MessageSelectorChain and modified TargetEndpoint to provide a 'setMessageSelector' method rather than managing a list of selectors with the 'addMessageSelector' method. Also modified the endpoint parser so that the configuration of a selector chain is more consistent with that of MessageHandlerChain. Now, the XML for endpoints uses a "selector" attribute instead of 0..n <selector/> sub-elements (INT-159). Mark Fisher 2008-05-21 16:10:45 +00:00
  • 938ce0a5a5 Added namespace support for GatewayProxyFactoryBean with the new <gateway/> element (INT-226). Mark Fisher 2008-05-21 14:51:23 +00:00
  • c7e8502c94 Minor fix to copy provided JARs properly. Ben Hale 2008-05-21 05:35:49 +00:00
  • 9504b2b6fe Moved spring.schemas and spring.handlers to "src/main/resources/META-INF" (INT-223). Mark Fisher 2008-05-20 22:17:11 +00:00
  • eae5666d7a Moved spring.schemas and spring.handlers to "src/main/resources/META-INF" (INT-223). Mark Fisher 2008-05-20 22:13:12 +00:00
  • 6696064dd0 Updated the names of the projects Ben Hale 2008-05-20 21:41:01 +00:00
  • 37f8d925c8 Come up to BRITS Ben Hale 2008-05-20 21:26:25 +00:00
  • 9fa4a6b80e Added a "configure-async-event-multicaster" attribute to the <message-bus/> element and a corresponding 'configureAsynEventMulticaster' property to the MessageBus class. When set to 'true', the 'taskScheduler' of the MessageBus will also be configured as the TaskExecutor for the ApplicationContext's ApplicationEventMulticaster. The default value for this property is 'false' (INT-58). Mark Fisher 2008-05-20 20:32:04 +00:00
  • 886cda5d73 Added support for a "header-mapper" attribute on the <jms-source/> and <jms-target/> elements (INT-205). Mark Fisher 2008-05-20 19:01:38 +00:00
  • d3c2fdc0a4 Added namespace support for the <router/> element (INT-168). Mark Fisher 2008-05-20 17:56:48 +00:00
  • 6f207bc2d7 Added namespace support for ThreadLocalChannel (INT-222). Mark Fisher 2008-05-20 16:51:12 +00:00
  • 2c731b239f Added ThreadLocalChannelFactory (INT-221). Mark Fisher 2008-05-20 16:41:42 +00:00
  • 4c14e21cbe Added namespace support for <splitter/> element (INT-135). Mark Fisher 2008-05-20 16:23:50 +00:00
  • 5e5e5438be Removed 'property' and 'attribute' from the @Router annotation now that the @HeaderProperty and @HeaderAttribute parameter annotations are available. Mark Fisher 2008-05-20 15:24:13 +00:00
  • 3b9cd481ea Added RootCauseErrorMessageRouter (INT-169). Mark Fisher 2008-05-20 15:14:39 +00:00
  • 5ab34d7da3 Added support for @Polled annotation at class-level alongside the @MessageEndpoint annotation (INT-220). Mark Fisher 2008-05-20 14:08:36 +00:00
  • 1c8f44a41c Factored out a new ThreadLocalChannel implementation from SynchronousChannel, and then renamed SynchronousChannel to DirectChannel. Mark Fisher 2008-05-19 21:10:11 +00:00
  • 04dd70f764 Increased receive timeouts for tests. Mark Fisher 2008-05-19 17:25:38 +00:00
  • 019ec2123d PollingSourceEndpoint is now just SourceEndpoint. Mark Fisher 2008-05-19 17:09:32 +00:00
  • 73f4a0c7de Reverted the RuntimeBeanReference to a String value for the constructor-arg of the Subscription object when parsing an endpoint. That is necessary to handle the case where channels are 'auto-created' by the MessageBus on demand (e.g. HelloWorldDemo). Mark Fisher 2008-05-19 13:45:24 +00:00
  • 984d335f14 PollingSourceEndpoint only expects a Schedule instance in its constructor rather than requiring a PollingSchedule instance. Mark Fisher 2008-05-17 18:55:35 +00:00
  • 71532737e2 Method invocation for namespace-based handlers now falls back to the Message as method parameter instead of passing the Message payload if the first invocation attempt throws a NoSuchMethodException (INT-216). Mark Fisher 2008-05-16 14:38:36 +00:00
  • f2186b815c Refactored MethodInvokingSource to the "message" package and MethodInvokingTarget to the "handler" package. The "adapter" package has been removed (INT-215). Mark Fisher 2008-05-16 02:28:00 +00:00
  • a5c99f6ba8 Added comments to AnnotationMethodMessageMapper. Mark Fisher 2008-05-15 20:49:57 +00:00
  • 397f976c08 Moved the setting of target object and method into DefaultMessageHandlerCreator instead of AbstractMessageHandlerCreator. If AbstractMessageHandlerAdapter's mapping result is null, the corresponding method argument will be null (no longer invoking getPayload() since there is a chance for null mapping results). Mark Fisher 2008-05-15 20:43:00 +00:00
  • d38a7259d3 ResponseCorrelator is now ReplyMessageCorrelator. Mark Fisher 2008-05-15 20:08:04 +00:00
  • 6c31589987 Method parameter matching for Map or Properties will resolve to the payload if its type matches. Otherwise, the header attributes or properties will be passed respectively (INT-192). Mark Fisher 2008-05-15 19:42:19 +00:00
  • be192a1691 Added support for @HeaderAttribute and @HeaderProperty parameter annotations (INT-192). Mark Fisher 2008-05-15 18:29:13 +00:00
  • f6541eb7ec Refactored "channel-factory" from sub-element to attribute of the <message-bus/> element. Mark Fisher 2008-05-15 14:00:51 +00:00
  • ce37d6b4e7 polishing Mark Fisher 2008-05-15 13:39:58 +00:00
  • 37b2f0a87d polishing Mark Fisher 2008-05-15 13:21:59 +00:00
  • 19b33f5af9 polishing Mark Fisher 2008-05-15 13:17:34 +00:00
  • 5e4c3237b8 Corrections to documentation Marius Bogoevici 2008-05-15 06:39:55 +00:00
  • cc2dbade96 Adding some mentions to ChannelFactory, <channel>, <queue-channel> in the reference documentation Marius Bogoevici 2008-05-15 06:23:59 +00:00
  • 17294c44ec Adding support for defining a ChannelFactory on the MessageBus in the form: Marius Bogoevici 2008-05-15 05:54:12 +00:00
  • 035e9aef12 correcting import. Marius Bogoevici 2008-05-15 05:11:02 +00:00
  • b2b2912b1e Added tests for the "expect-reply" attribute on the <jms-gateway/> element. Mark Fisher 2008-05-14 15:13:32 +00:00
  • 18d03ae2d7 Added support for the 'expect-reply' attribute in JmsGatewayParser. SimpleMessagingGateway now returns void instead of boolean, but it throws a MessageDeliveryException if the underlying RequestReplyTemplate fails to send the Message to the request channel. Mark Fisher 2008-05-14 14:38:58 +00:00
  • 2b8b4f5a7e Added 'append-newline' attribute to <console-target/> (INT-214), and the <jms-gateway/> element's 'expect-reply' attribute is now FALSE by default (same as JmsGateway itself). Mark Fisher 2008-05-14 14:25:44 +00:00
  • 28d2a98d66 Added support for 'append-newline' to the <console-target/> element (INT-214). Mark Fisher 2008-05-14 14:08:56 +00:00
  • c59004c841 Updated import after renaming MessagingGateway to SimpleMessagingGateway. Mark Fisher 2008-05-14 13:29:56 +00:00
  • 9f95c5a1fa Added the abstract MessagingGatewaySupport base class providing access to a RequestReplyTemplate. Renamed MessagingGateway to SimpleMessagingGateway which now extends MessagingGatewaySupport (INT-126). Mark Fisher 2008-05-14 12:56:53 +00:00
  • 1f57305cae MethodInvokingHandler now has DefaultMessageMapper and DefaultMessageCreator unless overridden. Mark Fisher 2008-05-11 20:32:13 +00:00
  • cc7f1cb91a Enforcing that a <source-endpoint/> element always contains exactly one <schedule/> sub-element. Mark Fisher 2008-05-03 22:55:55 +00:00
  • b38389d9c0 Changed names in test code to match name changes for JmsSource and JmsGateway. Mark Fisher 2008-05-03 22:52:51 +00:00
  • b2562992da JmsPollableSource is now JmsSource, and JmsMessageDrivenSourceAdapter is now JmsGateway. Mark Fisher 2008-05-03 22:38:56 +00:00
  • 4c0c3677d0 The <jms-gateway/> element is now available for message-driven JMS adapters. The <jms-source/> is strictly for polling adapters. Provided basic foundation for converting other request-reply adapters into "gateways". This includes the following namespace changes: 'send-timeout' is now 'request-timeout', 'receive-timeout' is now 'reply-timeout', and the 'channel' element is now 'request-channel'. The Source interface now includes the receive() method itself. PollableSource and SubscribableSource interfaces have both been removed. The Subscribable interface was added (e.g. for SynchronousChannel), but "gateway" adapter types will be configured directly with a request channel (and optionally a response channel). Mark Fisher 2008-05-03 22:23:40 +00:00
  • 4f42fe7227 Adding MessageBus, previously omitted. Marius Bogoevici 2008-05-02 21:16:35 +00:00
  • 0d8e8fc6ee Adding ChannelFactory, various implementations for different types of channels and DefaultChannelFactoryBean. Marius Bogoevici 2008-05-02 21:10:18 +00:00
  • 82ecd5f5b8 <message-bus/> will automatically add a MessageBusAwareBeanPostProcessor to the context. Marius Bogoevici 2008-05-02 06:10:18 +00:00
  • d0041dd8ad Adding class ommitted from previous checkin. Marius Bogoevici 2008-05-02 05:21:20 +00:00
  • cc5011428d Added the MessageBusAware interface, as well as the MessageBusAwareBeanPostProcessor for injecting the MessageBus in the implementing beans. Marius Bogoevici 2008-05-02 05:11:17 +00:00
  • 78905d9bcb Added MessagingGateway as a subclass of RequestReplyTemplate that is also a superclass for the GatewayProxyFactoryBean. Mark Fisher 2008-05-01 13:09:11 +00:00
  • 15ead1c3ad JmsTargetAdapter is now JmsTarget. JmsTargetParser (f.k.a. JmsTargetAdapterParser) no longer creates the endpoint (just the target). Mark Fisher 2008-04-29 21:20:30 +00:00
  • a263ad4451 ByteStreamTargetAdapter is now ByteStreamTarget. CharacterStreamTargetAdapter is now CharacterStreamTarget. Mark Fisher 2008-04-29 16:12:03 +00:00
  • 491bcf7cb1 MailTargetAdapter is now MailTarget. MailTargetParser (f.k.a. MailTargetAdapterParser) no longer creates the endpoint (just the target). Mark Fisher 2008-04-29 12:25:45 +00:00
  • 746031668b FileTargetAdapterParser is now FileTargetParser. Mark Fisher 2008-04-29 03:49:17 +00:00
  • 369ea90b24 Refactored ChannelParser into a hierarchy of parsers. Added namespace support for "rendezvous-channel" and "direct-channel" (a.k.a. SyncrhonousChannel at this point). Mark Fisher 2008-04-28 23:59:43 +00:00
  • b85d38641c Added support for <console-source/> and <console-target/> elements. Mark Fisher 2008-04-28 22:12:12 +00:00
  • d252605bdb The "defaultOutputChannelName" property of HandlerEndpoint is now "outputChannelName", and the "defaultOutput" attribute of the @MessageEndpoint annotation is now "output". Mark Fisher 2008-04-27 06:00:40 +00:00
  • 09333d62cb The <handler-endpoint/> element's "default-output-channel" attribute is now "output-channel". Since the new "return-address-overrides" value is true by default, the "output-channel" takes precedence rather than being a fallback. Mark Fisher 2008-04-27 05:29:59 +00:00
  • 9eaa088052 The <endpoint/> element is now <handler-endpoint/>, and its "handler-method" attribute is now "method". Mark Fisher 2008-04-27 05:01:38 +00:00
  • 412c5b3134 Added namespace support for target-endpoint. Mark Fisher 2008-04-27 02:25:53 +00:00
  • 64c498838c GatewayProxyFactoryBean now supports receive-only operations. Also added support for timeouts and type-conversion. Mark Fisher 2008-04-25 19:14:14 +00:00
  • 24a15520ba PollingSourceEndpoint now provides initializeTask() for one-time only as well as refreshTask() to reconfigure proxies at runtime. Mark Fisher 2008-04-25 15:18:39 +00:00
  • 2147ac43ed Restricting advice to the "run" method of MessagingTask, and added synchronization for proxy initialization. Mark Fisher 2008-04-25 12:45:12 +00:00
  • c92b24f959 Added initial implementation of GatewayProxyFactoryBean. Mark Fisher 2008-04-24 23:41:52 +00:00
  • cfb0d7e2fd Added 'taskAdviceChain' and 'dispatchAdviceChain' to PollingSourceEndpoint. Mark Fisher 2008-04-24 19:57:27 +00:00
  • 467e0f803d PollingSourceEndpoint delegates to PollingDispatcher. Added sendTimeout to SimpleDispatcher. Mark Fisher 2008-04-24 14:25:34 +00:00
  • 9c67c1516f Added more tests for returnAddress and output channel. Mark Fisher 2008-04-24 11:36:14 +00:00
  • 7d3755c099 Added "returnAddressOverrides" property for endpoints ('return-address-overrides' in XML). The default value is 'false' indicating that any explicitly defined output channel should take precedence. Mark Fisher 2008-04-24 03:41:50 +00:00
  • 28f914748b ChannelAdapterParser is now MethodInvokingAdapterParser and only creates the source or target. The result should be configured with a SourceEndpoint or TargetEndpoint. Mark Fisher 2008-04-24 00:43:08 +00:00
  • 5eb87c218e MailTargetAdapter is now MailTarget. Mark Fisher 2008-04-24 00:08:28 +00:00
  • ce6f3dbff5 FileTargetAdapter is now FileTarget, and FileSourceAdapterParser is now FileSourceParser. Mark Fisher 2008-04-24 00:00:41 +00:00