Commit Graph

7448 Commits

Author SHA1 Message Date
Mark Fisher
8a43a9f709 JMS adapter IDs are now xsd:ID types instead of xsd:string. 2008-11-24 13:20:35 +00:00
Mark Fisher
9abe52d9f7 Added documentation for MessageHandlerChain and the <chain/> element (INT-486) 2008-11-24 04:12:17 +00:00
Mark Fisher
039c124dad Added documentation for the 'bridge' element (INT-486) 2008-11-24 01:54:50 +00:00
Mark Fisher
b16431e265 INT-492 2008-11-23 21:28:02 +00:00
Marius Bogoevici
b6c5c54ae6 INT-238, INT-371 minor correction 2008-11-23 07:54:45 +00:00
Marius Bogoevici
3ee1e4921e INT-238, INT-371 Clean up aggregator code, solve some robustness issues 2008-11-23 07:44:18 +00:00
Mark Fisher
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. 2008-11-23 04:19:15 +00:00
Mark Fisher
83e15fbb9b formatting, etc 2008-11-23 04:12:29 +00:00
Mark Fisher
5d414912e5 Added some debug logging. 2008-11-22 22:57:28 +00:00
Mark Fisher
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). 2008-11-22 22:03:36 +00:00
Jonas Partner
25766bc7be 2008-11-22 21:57:10 +00:00
Jonas Partner
4735c700b1 sample for INT-432 documentation to follow 2008-11-22 21:49:24 +00:00
Mark Fisher
986049d23b Added MessagingBridge implementation. 2008-11-22 21:12:04 +00:00
Jonas Partner
c79ffc6635 fix for INT-491 2008-11-22 20:18:41 +00:00
Mark Fisher
f6e1463a42 Increased test timeout value. 2008-11-22 18:51:19 +00:00
Mark Fisher
ea5e66c7a4 Added support for a 'destinationResolver' property reference for the inbound JMS Channel Adapter including namespace support (INT-488). 2008-11-22 18:21:03 +00:00
Mark Fisher
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). 2008-11-22 17:52:38 +00:00
Mark Fisher
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). 2008-11-22 17:09:14 +00:00
Mark Fisher
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. 2008-11-22 16:57:58 +00:00
Mark Fisher
b9435fdc41 The 'request-channel' attribute is now optional on the jms:outbound-gateway element so that the gateway may be added to a chain. 2008-11-22 16:55:51 +00:00
Mark Fisher
75903736e2 Modified WebServiceDemo to show the 'chain' element and the 'header-enricher'. 2008-11-22 16:17:16 +00:00
Mark Fisher
4e72c719f9 Added the 'overwrite' attribute for the 'header-enricher' element. 2008-11-22 16:13:31 +00:00
Mark Fisher
abb370b257 Added the 'header-enricher' element to the core namespace (INT-489). 2008-11-22 15:43:39 +00:00
Mark Fisher
d943af0e87 Added postProcessHeaders method to the SimpleHeaderEnricherParser (preparing for INT-489). 2008-11-22 14:37:28 +00:00
Mark Fisher
086eb6e374 Converted internal header names to be hyphenated for compatibility with the header-enricher. 2008-11-22 14:35:32 +00:00
Mark Fisher
b53d96ba1e Added support for the 'throw-exception-on-rejection' attribute for the 'filter' element. 2008-11-21 22:52:11 +00:00
Mark Fisher
2b166d6471 INT-487 2008-11-21 22:03:27 +00:00
Mark Fisher
837a295cbe Added namespace support for the 'chain' element to create a Message Endpoint that delegates to a MessageHandlerChain (INT-391). 2008-11-21 18:34:07 +00:00
Mark Fisher
93a2d2c9f2 Renamed the 'parseConsumer' method to 'parseHandler' since it creates an implementation of MessageHandler. 2008-11-21 17:39:01 +00:00
Mark Fisher
b9f8b085b0 Removed 'parseAdapter' method from AbstractConsumerEndpointParser. 2008-11-21 17:30:25 +00:00
Mark Fisher
bbd58b830f INT-484 2008-11-21 16:05:53 +00:00
Mark Fisher
7b670760be Added support for a 'message-driven-channel-adapter' in the JMS namespace. Also, both the 'message-driven-channel-adapter' and the 'inbound-gateway' elements now accept a 'container' attribute with a reference to an instance of AbstractMessageListenerContainer (INT-477, INT-482). 2008-11-20 22:34:15 +00:00
Mark Fisher
b06ebff6b3 Refactored the JmsInboundGateway into the simpler JmsMessageDrivenEndpoint. The JmsInboundGatewayParser now handles a 'container' reference, else it creates a DefaultMessageListenerContainer (INT-482). The JmsMessageDrivenEndpoint will also provide the necessary implementation to support an event-driven inbound-channel-adapter for JMS (INT-477). 2008-11-20 21:30:47 +00:00
Mark Fisher
b404a6d129 Reordered setters. 2008-11-20 18:58:27 +00:00
Mark Fisher
3a7144d8d6 JmsInboundGateway now delegates to a MessageListener or SessionAwareMessageListener instance. The 'jms:inbound-gateway' parser now configures an instance of ChannelPublishingJmsMessageListener (part of INT-477 and INT-482). 2008-11-20 17:34:15 +00:00
Mark Fisher
92f13c8517 Initial commit of the new ChannelPublishingJmsMessageListener (part of INT-477 and INT-482). 2008-11-20 16:48:14 +00:00
Mark Fisher
e88d69529c Removed 'jms-template' attribute from elements where it should not be used. 2008-11-20 16:37:05 +00:00
Mark Fisher
da45a1a925 Removed unused ChannelPublishingJmsListener. 2008-11-20 16:36:11 +00:00
Mark Fisher
b4178d3740 Initial commit of MessageHandlerChain (INT-391). 2008-11-20 15:04:44 +00:00
Mark Fisher
3e0ca28288 Added namespace support for the 'pub-sub-domain' attribute for both JmsInboundGateway and JmsOutboundGateway (INT-482). This is most likely an interim step while refactoring continues with the ultimate goal of providing a clearer separation between the MessageListener container and MessageListener implementation. This will also be relevant for INT-477. 2008-11-20 14:18:17 +00:00
Mark Fisher
17a93b64c0 Added 'pubSubDomain' property to JmsOutboundGateway. 2008-11-20 14:14:11 +00:00
Mark Fisher
24f3251b67 Added 'pubSubDomain' property to JmsInboundGateway. 2008-11-20 14:12:48 +00:00
Mark Fisher
f481b010b2 Renamed inner class from TemporaryReturnAddress to TemporaryReplyChannel since the Message header name is now 'replyChannel'. 2008-11-19 21:52:07 +00:00
Mark Fisher
13d12557e5 Added protected getBeanName() for subclass access. 2008-11-19 21:47:47 +00:00
Mark Fisher
8e09a38ce9 Added 'max-size' attributes to test configurations of the 'thread-pool-task-executor' element. 2008-11-19 18:50:03 +00:00
Mark Fisher
7badd53b9f INT-481 2008-11-19 17:37:39 +00:00
Mark Fisher
3d13f7e954 Increased test receive timeout value. 2008-11-19 17:09:10 +00:00
Mark Fisher
85d429d29f PublishSubscribeChannel now wraps a provided TaskExecutor with the ErrorHandlingTaskExecutor if necessary (INT-440). Also, added namespace support for the publish-subscribe-channel's 'error-handler' reference (INT-483). 2008-11-19 16:53:25 +00:00
Mark Fisher
41460e63be INT-480 2008-11-19 14:26:47 +00:00
Mark Fisher
1e1b2ce9b8 Triggers are now created as BeanDefinitions so that property placeholder values will be applied when parsing with the namespace support (INT-359). 2008-11-18 22:04:39 +00:00