Mark Fisher
886cda5d73
Added support for a "header-mapper" attribute on the <jms-source/> and <jms-target/> elements (INT-205).
2008-05-20 19:01:38 +00:00
Mark Fisher
d3c2fdc0a4
Added namespace support for the <router/> element (INT-168).
2008-05-20 17:56:48 +00:00
Mark Fisher
6f207bc2d7
Added namespace support for ThreadLocalChannel (INT-222).
2008-05-20 16:51:12 +00:00
Mark Fisher
2c731b239f
Added ThreadLocalChannelFactory (INT-221).
2008-05-20 16:41:42 +00:00
Mark Fisher
4c14e21cbe
Added namespace support for <splitter/> element (INT-135).
2008-05-20 16:23:50 +00:00
Mark Fisher
5e5e5438be
Removed 'property' and 'attribute' from the @Router annotation now that the @HeaderProperty and @HeaderAttribute parameter annotations are available.
2008-05-20 15:24:13 +00:00
Mark Fisher
3b9cd481ea
Added RootCauseErrorMessageRouter (INT-169).
2008-05-20 15:14:39 +00:00
Mark Fisher
5ab34d7da3
Added support for @Polled annotation at class-level alongside the @MessageEndpoint annotation (INT-220).
2008-05-20 14:08:36 +00:00
Mark Fisher
1c8f44a41c
Factored out a new ThreadLocalChannel implementation from SynchronousChannel, and then renamed SynchronousChannel to DirectChannel.
2008-05-19 21:10:11 +00:00
Mark Fisher
04dd70f764
Increased receive timeouts for tests.
2008-05-19 17:25:38 +00:00
Mark Fisher
019ec2123d
PollingSourceEndpoint is now just SourceEndpoint.
2008-05-19 17:09:32 +00:00
Mark Fisher
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).
2008-05-19 13:45:24 +00:00
Mark Fisher
984d335f14
PollingSourceEndpoint only expects a Schedule instance in its constructor rather than requiring a PollingSchedule instance.
2008-05-17 18:55:35 +00:00
Mark Fisher
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).
2008-05-16 14:38:36 +00:00
Mark Fisher
f2186b815c
Refactored MethodInvokingSource to the "message" package and MethodInvokingTarget to the "handler" package. The "adapter" package has been removed (INT-215).
2008-05-16 02:28:00 +00:00
Mark Fisher
a5c99f6ba8
Added comments to AnnotationMethodMessageMapper.
2008-05-15 20:49:57 +00:00
Mark Fisher
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).
2008-05-15 20:43:00 +00:00
Mark Fisher
d38a7259d3
ResponseCorrelator is now ReplyMessageCorrelator.
2008-05-15 20:08:04 +00:00
Mark Fisher
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).
2008-05-15 19:42:19 +00:00
Mark Fisher
be192a1691
Added support for @HeaderAttribute and @HeaderProperty parameter annotations (INT-192).
2008-05-15 18:29:13 +00:00
Mark Fisher
f6541eb7ec
Refactored "channel-factory" from sub-element to attribute of the <message-bus/> element.
2008-05-15 14:00:51 +00:00
Mark Fisher
ce37d6b4e7
polishing
2008-05-15 13:39:58 +00:00
Mark Fisher
37b2f0a87d
polishing
2008-05-15 13:21:59 +00:00
Mark Fisher
19b33f5af9
polishing
2008-05-15 13:17:34 +00:00
Marius Bogoevici
5e4c3237b8
Corrections to documentation
2008-05-15 06:39:55 +00:00
Marius Bogoevici
cc2dbade96
Adding some mentions to ChannelFactory, <channel>, <queue-channel> in the reference documentation
2008-05-15 06:23:59 +00:00
Marius Bogoevici
17294c44ec
Adding support for defining a ChannelFactory on the MessageBus in the form:
...
<message-bus>
<channel-factory ref="bean"/>
</message-bus>
The channel factory will be used for auto-created channels, as well as for channels created using the <channel/> syntax. For specifying a QueueChannel (with capacity), the newly added <queue-channel> element must be used.
2008-05-15 05:54:12 +00:00
Marius Bogoevici
035e9aef12
correcting import.
2008-05-15 05:11:02 +00:00
Mark Fisher
b2b2912b1e
Added tests for the "expect-reply" attribute on the <jms-gateway/> element.
2008-05-14 15:13:32 +00:00
Mark Fisher
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.
2008-05-14 14:38:58 +00:00
Mark Fisher
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).
2008-05-14 14:25:44 +00:00
Mark Fisher
28d2a98d66
Added support for 'append-newline' to the <console-target/> element (INT-214).
2008-05-14 14:08:56 +00:00
Mark Fisher
c59004c841
Updated import after renaming MessagingGateway to SimpleMessagingGateway.
2008-05-14 13:29:56 +00:00
Mark Fisher
9f95c5a1fa
Added the abstract MessagingGatewaySupport base class providing access to a RequestReplyTemplate. Renamed MessagingGateway to SimpleMessagingGateway which now extends MessagingGatewaySupport (INT-126).
2008-05-14 12:56:53 +00:00
Mark Fisher
1f57305cae
MethodInvokingHandler now has DefaultMessageMapper and DefaultMessageCreator unless overridden.
2008-05-11 20:32:13 +00:00
Mark Fisher
cc7f1cb91a
Enforcing that a <source-endpoint/> element always contains exactly one <schedule/> sub-element.
2008-05-03 22:55:55 +00:00
Mark Fisher
b38389d9c0
Changed names in test code to match name changes for JmsSource and JmsGateway.
2008-05-03 22:52:51 +00:00
Mark Fisher
b2562992da
JmsPollableSource is now JmsSource, and JmsMessageDrivenSourceAdapter is now JmsGateway.
2008-05-03 22:38:56 +00:00
Mark Fisher
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).
2008-05-03 22:23:40 +00:00
Marius Bogoevici
4f42fe7227
Adding MessageBus, previously omitted.
2008-05-02 21:16:35 +00:00
Marius Bogoevici
0d8e8fc6ee
Adding ChannelFactory, various implementations for different types of channels and DefaultChannelFactoryBean.
2008-05-02 21:10:18 +00:00
Marius Bogoevici
82ecd5f5b8
<message-bus/> will automatically add a MessageBusAwareBeanPostProcessor to the context.
2008-05-02 06:10:18 +00:00
Marius Bogoevici
d0041dd8ad
Adding class ommitted from previous checkin.
2008-05-02 05:21:20 +00:00
Marius Bogoevici
cc5011428d
Added the MessageBusAware interface, as well as the MessageBusAwareBeanPostProcessor for injecting the MessageBus in the implementing beans.
2008-05-02 05:11:17 +00:00
Mark Fisher
78905d9bcb
Added MessagingGateway as a subclass of RequestReplyTemplate that is also a superclass for the GatewayProxyFactoryBean.
2008-05-01 13:09:11 +00:00
Mark Fisher
15ead1c3ad
JmsTargetAdapter is now JmsTarget. JmsTargetParser (f.k.a. JmsTargetAdapterParser) no longer creates the endpoint (just the target).
2008-04-29 21:20:30 +00:00
Mark Fisher
a263ad4451
ByteStreamTargetAdapter is now ByteStreamTarget. CharacterStreamTargetAdapter is now CharacterStreamTarget.
2008-04-29 16:12:03 +00:00
Mark Fisher
491bcf7cb1
MailTargetAdapter is now MailTarget. MailTargetParser (f.k.a. MailTargetAdapterParser) no longer creates the endpoint (just the target).
2008-04-29 12:25:45 +00:00
Mark Fisher
746031668b
FileTargetAdapterParser is now FileTargetParser.
2008-04-29 03:49:17 +00:00
Mark Fisher
369ea90b24
Refactored ChannelParser into a hierarchy of parsers. Added namespace support for "rendezvous-channel" and "direct-channel" (a.k.a. SyncrhonousChannel at this point).
2008-04-28 23:59:43 +00:00